Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Reikalinga pagalba del headerio
Parašė edeni· 2008 Bir. 11 07:06:48
#1
Sveiki, noreciau, kad istaisitumete man viena koda nes labia issidarko headeri:
http://electro-muzika.xz.lt
Va headerio kodas:
<?php
global $theme_width,$settings,$aidlink,$locale,$userdata;
echo "<table id='Table_01' width='882' height='233' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='10'>
<img src='".THEME."images/klaud_01.gif' width='882' height='9' alt=''></td>
</tr>
<tr>
<td colspan='5' rowspan='2'>
<img src='".THEME."images/klaud_02.gif' width='564' height='177' alt=''></td>
<td colspan='4' width='300' height='157' background='".THEME."images/klaud_03.gif'>";
if (iMEMBER) {
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<table width='300' height='157' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td>\n";
if ($userdata['user_avatar'] != "") {
echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='100' height='100' style='border:1px solid #999999'></center>\n";
} else {
echo "<center><img src='".THEME."/images/noavatar.gif' width='100' height='100' border='0'></center>\n";
}
echo "</td>
<td align='top'><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Redaguoti profilį</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Žinutes [naujų: <b><span style='color:#990000'>".sprintf($msg_count)."</span></b>]</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Nariai</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a><br>\n";
}
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a><br><br>
<b><span class='ip'>IP: </span></b>";
$userip = $_SERVER['REMOTE_ADDR'];
$host = gethostbyaddr($userip);
echo "<span class='ip'>".$userip."</span><br /></td></tr></table>\n";
} else {
echo "<table width='300' height='157' border='0' cellspacing='0' cellpadding='0'><form name='loginform' method='post' action='".FUSION_SELF."'>
<tr>
<td align='right' class='ip'>Vardas: </td>
<td> <input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
</tr>
<tr>
<td align='right' class='ip'>".$locale['062'].": </td>
<td> <input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
</tr>
<tr>
<td align='right'><input type='checkbox' name='remember_me' value='y'></td>
<td> <input type='submit' name='login' value='Prisijungti' class='button'></td>
</tr>
</form>\n";
if ($settings['enable_registration']) {
echo "<a href=".BASEDIR."register.php>Registracija</a> / <a href=".BASEDIR."lostpassword.php>Slaptažodis</a>\n";
}
echo"</table>\n";
}
echo "</tr>
</table>
</td>\n";
echo "<td rowspan='4'>
<img src='".THEME."images/klaud_04.gif' width='18' height='223' alt=''></td>
</tr>
<tr>
<td colspan='4'>
<img src='".THEME."images/klaud_05.gif' width='300' height='20' alt=''></td>
</tr>
<tr>
<td>
<img src='".THEME."images/klaud_06.gif' width='150' height='44' alt=''></td>
<td rowspan='2'>
<img src='".THEME."images/klaud_07.gif' width='107' height='46' alt=''></td>
<td>
<img src='".THEME."images/klaud_08.gif' width='126' height='44' alt=''></td>
<td rowspan='2'>
<img src='".THEME."images/klaud_09.gif' width='89' height='46' alt=''></td>
<td colspan='2' rowspan='2'>
<img src='".THEME."images/klaud_10.gif' width='138' height='46' alt=''></td>
<td rowspan='2'>
<img src='".THEME."images/klaud_11.gif' width='104' height='46' alt=''></td>
<td rowspan='2'>
<img src='".THEME."images/klaud_12.gif' width='130' height='46' alt=''></td>
<td rowspan='2'>
<img src='".THEME."images/klaud_13.gif' width='20' height='46' alt=''></td>
</tr>
<tr>
<td>
<img src='".THEME."images/klaud_14.gif' width='150' height='2' alt=''></td>
<td>
<img src='".THEME."images/klaud_15.gif' width='126' height='2' alt=''></td>
</tr>
<tr>
<td>
<img src='".THEME."images/spacer.gif' width='150' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='107' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='126' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='89' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='92' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='46' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='104' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='130' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='20' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='18' height='1' alt=''></td>
</tr>
</table>";
?>
Redagavo edeni· 2008 Bir. 11 07:06:31
Parašė RuP3r· 2008 Bir. 11 08:06:53
#2
Man atrodo čia tereikia tinkamai sujungt ar sukoduot.
Parašė edeni· 2008 Bir. 11 08:06:38
#3
Kai buvo be logino headeris buvo viskas OK kai idejau logina ir taip pasidare
Parašė RuP3r· 2008 Bir. 11 08:06:28
#4
O tai kam tu jei darėi tik loginą kam tu sukarpei į tiek dalių headerį?
Parašė RuP3r· 2008 Bir. 11 08:06:18
#6
Tai sujunk imagus ir priderink headerį prie tos dalies.
Parašė edeni· 2008 Bir. 11 17:06:12
#7
Tai niekas nepades daugiau ?
Parašė klaudys· 2008 Bir. 12 13:06:01
#8
Man irgi reiktu sito dalyko :) Sukoduokit kas nors.
Redagavo klaudys· 2008 Bir. 12 13:06:26