Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Bėda su theme

Parašė zapukas· 2014 Bal. 6 20:04:15
#6


<?php
 
if (iMEMBER) {
if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td align='center' height='0%'>";
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='80' height='80' border='0' alt=''></td>";
echo "</table></center>";
} else {
echo"<table><tr><td></td></tr></table>";
 
}
 
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='a'>Redaguoti profilį</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='a'>Žinutės</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='a'>Mano profilis</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='a'>Narių sarašas</a><br>";
 
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
<td></td></tr></table>";
echo "\n";
 
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo"<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."','_self' class='a'>Administracija</a><br>\n";
 
}{echo " ";
echo"<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes','_self' class='a'>Atsijungti</a></div>\n";
}
tablebreak();
} else {
 
echo "<br><div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
<input type='text' name='user_name' class='pass' value='vardas' onBlur=\"if(this.value=='') this.value='vardas';\" onFocus=\"if(this.value=='vardas') this.value='';\" style=\"padding-top: 2px; border: 4px; padding-left: 5px; margin-top: 1px; padding-right: 29px\" ><br>
 
<img src='".THEME."images/bg_l.png' alt=''><br>
 
<input type='password' name='user_pass' class='pass' value='slaptažodis' onBlur=\"if(this.value=='') this.value='slaptažodis';\" onFocus=\"if(this.value=='slaptažodis') this.value='';\" style=\"padding-top: 2px; padding-left: 5px; padding-right: 29px\" ><br>
<input type='checkbox' name='remember_me' value='y' title='Prisiminti mane' style='vertical-align:middle;'><span style='font-size: 10px; color:#2cbdf9;'><b>Prisiminti mane </b></span>
<input type='submit' name='login' value='' class='inne'>
</form>\n";
 
if ($settings['enable_registration']) {
 
echo "<img src='".THEME."images/bg_l.png' alt=''><br>
 
<a href='".BASEDIR."register.php' ><span style='font-size: 9px' > <b>Registracija | </b></a></span> <a href='".BASEDIR."lostpassword.php' ><span style='font-size: 9px' ><b>prisimink slaptažodi!</b></a></span>\n";
}
echo "
</div>\n";
}
?>


Turbut sitas failas kai keiciu cellpadding sitoj eiluteje:

echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";

Gaunasi nesamones, pasidaugina headeris, tarp užrašu tarpai atsiranda. Ka reiktu daryti?