Vompaudi's Profile User Rating: -----

Reputation: 2 Apprentice
Group:
Members
Active Posts:
42 (0.06 per day)
Joined:
23-November 12
Profile Views:
2,127
Last Active:
User is offline Apr 10 2013 08:40 AM
Currently:
Offline

Previous Fields

Country:
FI
OS Preference:
Linux
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   Vompaudi has not set their status

Posts I've Made

  1. In Topic: How to get dropdown menu to right position?

    Posted 3 Apr 2013

    Here is source from browser.
    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset="ISO-8859-1">
    <title>Dataprank OY</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    
    
    
    <link href="styles.css" rel="stylesheet" type="text/css" />
    </head>
    <body><div id="koko">
    <div id="header">
    <div id="loko">	<img src="images/logo.png" alt="" width="890" height="200"  /></div>
    
    
    
    </div>
    <div id="menu">
          <link href="stylemenu.css" rel="stylesheet" type="text/css" /> 
    
    <ul id="menu">
        <li><a href="#">Etusivu</a></li>
        <li><a href="#">Yritys</a>
            <ul>
                <li><a href="#">Historia</a></li>
                <li><a href="#">Referenssit</a></li>
                <li><a href="#">Visio</a></li>
            </ul>
        </li>
        <li><a href="#">Palvelut</a>
            <ul>
                <li><a href="#">Konepaketit</a></li>
                <li><a href="#">Huollot</a></li>
                <li><a href="#">Ohjelmistot</a></li>
                <li><a href="#">Tietoturva</a></li>
                <li><a href="#">Koulutus</a></li>
            </ul>
        </li>
        <li><a href="#">Ota yhteyttä</a></li>
    </ul>            </div>
    <div id="content">
      <div id="left">
        <h1>Tervetuloa!</h1>
    
    Dataprank OY on Etelä- ja Keski-suomessa toimiva IT-yritys. Palveluitamme on mm. tuki- ja opastus, tietokoneiden huolto ja myynti. Myymme myös erilaisia ohjelmistoja halpaan hintaan! Tule tutustumaan, ja ota koneesikin mukaan. Teemme sille täysihuollon kokonaan veloituksetta! <br><br>
    
    Huoltotaksa 10 €/tunti    
    
    <br>    <br />
    kuvaboksi<br /><br />
    
      </div>
    	<div id="right">
    	      <h2>Sivupalkki</h2> 
    plaaplaaplaaplaaplaaplaa    <br /><br /><br />
    	</div>
    </div>
    <div id="footer">
    <p><a href="./admin/hallinta.php">.</>/a></p>      </div></div>
    </body>
    </html>
    
  2. In Topic: How to get dropdown menu to right position?

    Posted 2 Apr 2013

    Here is menu's own CSS-code:

    ul {
        font-family: Arial, Verdana;
        font-size: 18px;
        margin: 0px 0px 0px;
        padding: 0px 0px 0px;
        list-style: none;
    	margin-left: 0px;
    }
    ul li {
    	position: relative;
        display: block;
        float: left;
    }
    li ul {
        display: none;
    }
    ul li a {
        display: block;
        text-decoration: none;
        color: #ffffff;
        border-top: 1px solid #ffffff;
        padding: 5px 20px 5px 20px;
        background: #1e7c9a;
        margin-left: 1px;
        white-space: nowrap;
    }
    ul li a:hover {
    background: #3b3b3b;
    }
    li:hover ul {
        display: block;
        position: absolute;
    }
    li:hover li {
        float: none;
        font-size: 11px;
    }
    li:hover a { background: #3b3b3b; }
    li:hover li a:hover {
        background: #1e7c9a;
    }
    


    Here is CSS-code of rest site:

                    /************* GENERAL CSS ************/
    
    body {
    	margin: 0px;
    	padding: 0px; 
    	text-align: justify;
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 13px;
    	color: #333333; background-image:url(images/pysty.jpg); background-repeat:repeat-x;background: #111111;
    }
    
    h1, h2, h3, h4, h5, h6 {
    	font-family: Georgia, "Times New Roman", Times, serif;
    	color: #3399FF;
    }
    
    a {
    	font-weight: bold;	
    	text-decoration: none;
    	color: #33CCFF;
    }
    
    a:hover {
    	text-decoration: underline;
    	color: #33CCFF;
    }
    
    /************* HEADER STUFF ************/
    #koko {
    background: #54a3cc; background-image:url(images/tausta.jpg); background-repeat:repeat-y; background-position:center; 
    }
    #header {
    	width: 888px;
    	height: 200px;
    	margin: 0px auto;
    	padding: 00px 0px;
    	background: #FFFBFD url(images/header.jpg);
    }
    
    #header h1 {
    	margin: 0px;
    	padding: 0px 0px 0px 10px;
    	text-align: left;
    	color: #3399FF;
    	font-size: 3em;
    	text-transform: uppercase;
    }
    
    #header h2 {
    	margin: 0px;
    	padding: 0px 0px 0px 20px;
    	text-align: left;
    	font-size: 1.5em;
    	text-transform: uppercase;
    }
    #loko {
    	text-align: center;
    }
    
    
    
    /************* SISALTO ************/
    
    #content { 
       	width: 888px;
    	margin: 0px auto;
    	padding: 20px 0px 0px 0px;
    }
    
    #content h2, #content h3, #content h4, #content h5, #content h6 {
    	font-weight: normal;
    }
    
    #content p, #content ul, #content ol {
    	line-height: 150%;
    }
    
    #left {
    	float: left; 
    	width: 600px;
    	padding: 0px 20px 40px 20px;
    }
    
    #right {
    	float: right;
    	width: 200px;
    	padding: 0px 20px 40px 20px;
    	color: #000000; text-align:left;
    }
    
    /************* FOOTER ************/
    
    #footer {
    	clear: both;
    	width: 888px; height:30px;
    	margin: 0px auto;
    	border-top: 1px solid #666666; background-color:#0F6; background-image:url(images/Footer.png);
    	font-size: 9px;
    	text-align: center;
    	color: #fff; padding-bottom:30px;
    }
    


    And HTML-code.

    <?php
    mb_internal_encoding("ISO-8859-1");
    ?>
    
    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset="ISO-8859-1">
    <title>Dataprank OY</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    
    
    
    <link href="styles.css" rel="stylesheet" type="text/css" />
    </head>
    <body><div id="koko">
    <div id="header">
    <div id="loko">	<img src="images/logo.png" alt="" width="890" height="200"  /></div>
    
    
    
    </div>
    <div id="menu">
    <?php include('linkit.inc'); ?>
    </div>
    <div id="content">
      <div id="left">
    <?php include('etusivu.txt'); ?><br />
    <?php include('kuvaboksietusivu.html'); ?><br /><br />
    
      </div>
    	<div id="right">
    	<?php include('sivupalkki.txt'); ?>
        <br /><br /><br />
    	</div>
    </div>
    <div id="footer">
    <?php include('footer.inc'); ?>
    </div></div>
    </body>
    </html>
    
  3. In Topic: "create new site" option for PHP admin panel

    Posted 2 Mar 2013

    Always when user press update button, it redirect to it's own confirm site. "Updating of front page succeeded" Maybe I change this text to appear under the button.
  4. In Topic: "create new site" option for PHP admin panel

    Posted 2 Mar 2013

    But I think it is impossible to make creating new site.

    1. How to add the new page to admin panel for editing and adding content to it?
    2. confirm page about succeeded edit.
  5. In Topic: "create new site" option for PHP admin panel

    Posted 2 Mar 2013

    Still waiting the answer for my question...

    There is the field where user gives name for page. It is the filename also.

    http://img163.images...431/dfhfdfd.png

    How do I "link" that text field to that PHP code, so code makes the name from it. And how saving in .php format?

    Source of this page:

    <?php
    
    require_once("login.php");
    
    ?>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    
    <title></title>
    
    </head>
    
    <body>
    <div id="keskitys">
    
    <div id="ylapalkki">
      <div align="center">
        <p><img src="../images/logo.png" width="519" height="180" /></p>
        <p>T&auml;ll&auml; sivulla voit luoda uuden sivun.</p>
      </div>
      <p class="perus">&nbsp;</p>
    </div>
    
    <div id="asia">
    <div id="teksti">
      <form id="paivitys" name="update" method="post" action="confirmuusisivu.php">
      
     
        <p>
    <input type="text" name="sitename" value="Name of site" maxlenght="30"size="50">
    	<br><br>
          <textarea name="sisalto" cols="80" rows="10">
      <?php
     
    readfile("../codeofblankpage.txt");							
    					?>
      </textarea>
          </p>
        <p>
          <input name="valinta" type="hidden" value="">
          <br />
          <br />
          <input name="update" type="submit" id="update" value="Add site"/>
          </p>
      </form>
    </div>
    </div>
    </div>
    </body>
    </html>
    

My Information

Member Title:
New D.I.C Head
Age:
20 years old
Birthday:
August 25, 1994
Gender:
Location:
Finland
Interests:
Game development, programming, troubleshooting
Years Programming:
5
Programming Languages:
JavaScript, C#, C++

Contact Information

E-mail:
Click here to e-mail me

Comments

Vompaudi has no profile comments yet. Why not say hello?