Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Dėl lentelės.

Parašė www· 2010 Rugs. 24 19:09:19
#1

Padėkit noriu įdėti lentelę į navigaciją.

theme.php:

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table class='forumline' align='center' width='954' cellspacing='0' cellpadding='0' style='border-right: solid #ffffff 0px; border-left: solid #ffffff 0px; border-top: solid #ffffff 0px; margin-top: 0px;'><tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'><tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'><tr><td class='header' width='100%'><table align='center' width='954' height='23' border='0' cellpadding='0' cellspacing='0'><tr><td><td background='".THEME."images/head_top.png' width='954' height='23' border='0'></td></tr><table align='center' width='954' height='60' border='0' cellpadding='0' cellspacing='0'><tr><td background='".THEME."images/head_logo.png' width='476' height='60' border='0'></td><td><td background='".THEME."images/head_reklama.png' width='468' height='60' border='0'></td><td><td background='".THEME."images/head_side.png' width='10' height='60' border='0'></td></tr><table align='center' width='954' height='15' border='0' cellpadding='0' cellspacing='0'><tr><td><td background='".THEME."images/head_subt.png' width='954' height='15' border='0'></td></tr><table align='center' width='954' height='40' border='0' cellpadding='0' cellspacing='0'><tr><td><td background='".THEME."images/head_subheader.png' width='954' height='40' border='0' class='sub-header'> <form action="">
20 eilutė: <select name="ss" onChange="einam(this.form, 0)">
<option>Pasirinkite leidinį
<option value="http://localhost/php-fusion/files/index.php">Istorija: 8 klasė, Laikas - 2 dalis (užduočių sąsiuvinis) <option value="http://localhost/php-fusion/files/articles.php">Anglų kalba: 9 - 10 klasė, Enterprise 3 grammar (mokytojo knyga)
<option value="http://localhost/php-fusion/files/downloads.php">Pildoma
<option value="http://localhost/php-fusion/files/faq.php">Pildoma
<option value="http://localhost/php-fusion/files/forum/index.php">Pildoma
<option value="http://localhost/php-fusion/files/news_cats.php">Pildoma
</select>
</form>
 
<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
 
}


Klaida: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/pupil/domains/pupil.lt/public_html/themes/Pupil.lt/theme.php on line 20


Lentelės scriptas:

<?php
?><center><script language="JavaScript">
<!--
function einam(form, i) {
var site=form.elements[i].selectedIndex;
if(site>=1){
top.location=form.elements[i].options[ site].value;
}
form.elements[i].selectedIndex=0;
}
//-->
</script></head>
<body>
<form action="">
<select name="ss" onChange="einam(this.form, 0)">
<option>Pasirinkite leidinį
<option value="http://localhost/php-fusion/files/index.php">Istorija: 8 klasė, Laikas - 2 dalis (užduočių sąsiuvinis) <option value="http://localhost/php-fusion/files/articles.php">Anglų kalba: 9 - 10 klasė, Enterprise 3 grammar (mokytojo knyga)
<option value="http://localhost/php-fusion/files/downloads.php">Pildoma
<option value="http://localhost/php-fusion/files/faq.php">Pildoma
<option value="http://localhost/php-fusion/files/forum/index.php">Pildoma
<option value="http://localhost/php-fusion/files/news_cats.php">Pildoma
</select>
</form>
</body></center><?
?>