Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Išsikraipė tema

Parašė FoDD· 2008 Gru. 14 19:12:55
#1

Viskas normaliai su theme buvo, bet kažkodėl dabar kai prisijungiu ji va šitaip išsikraipo:






O va normaliai kaip yra kai atsijungiu:






Jei žinote kodėl taip yra padėkit.

Parašė kLx· 2008 Gru. 14 19:12:06
#2

Žiūrėk user_info_panel.php failą..

Gal nėra kur nors closeside();

...

Parašė FoDD· 2008 Gru. 14 19:12:46
#3

Na taip user_info_panel redagavau. Gal ką nors ne taip padariau.. Jūs pažiūrėkit, nes pats tai nelabai matau.

<?php

if (iMEMBER) {
 openside($userdata['user_name']);
 $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
 if ($userdata['user_avatar'] != "" && file_exists(IMAGES."avatars/".$userdata['user_avatar'])) {
  $avataras = "<a href='".BASEDIR."profilie.php?lookup=".$userdata['user_id']."'><img src='".IMAGES."avatars/".$userdata['user_avatar']."'' border='0'></a>";
 } else {
$avataras = "<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img src='".THEME."images/noav.gif''' border='0'></a>";
 }
 echo "<table><tr><td>";
 echo "<table align='left'><tr align='left'><td align='left'>$avataras</td></tr></table>";
 echo "<table align='right'>";
echo "
<tr align='left'><td align='left'> <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['080']."</a></td></tr>
<tr align='left'><td align='left'> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a></td></tr>
<tr align='left'><td align='left'> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a></td></tr>";
 if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
  echo "<tr align='right'><td align='right'> <a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['083']."</a></td></tr>";
 }
 echo "<tr align='left'><td align='left'> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a></td></tr>";
 if ($msg_count) echo "<br><br><center><b><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])."</a></b></center>\n";
echo "</tr></td></table>";
 } else {
 openside($locale['060']);
 echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
".$locale['061']."<br>
<input type='text' name='user_name' class='textbox' style='width:100px'><br>
".$locale['062']."<br>
<input type='password' name='user_pass' class='textbox' style='width:100px'><br>
<input type='checkbox' name='remember_me' value='y' title='".$locale['063']."' style='vertical-align:middle;'>
<input type='submit' name='login' value='".$locale['064']."' class='button'><br>
</form>
<br>\n";
 if ($settings['enable_registration']) {
  echo "".$locale['065']."<br><br>\n";
 }
 echo $locale['066']."
</div>\n";
}
closeside();
?>




Redagavo FoDD· 2008 Gru. 14 19:12:00

Parašė kLx· 2008 Gru. 14 19:12:25
#4

<?php

if (iMEMBER) {
 openside($userdata['user_name']);
 $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
 if ($userdata['user_avatar'] != "" && file_exists(IMAGES."avatars/".$userdata['user_avatar'])) {
  $avataras = "<a href='".BASEDIR."profilie.php?lookup=".$userdata['user_id']."'><img src='".IMAGES."avatars/".$userdata['user_avatar']."'' border='0'></a>";
 } else {
$avataras = "<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img src='".THEME."images/noav.gif''' border='0'></a>";
 }
 echo "<table><tr><td>";
 echo "<table align='left'><tr align='left'><td align='left'>$avataras</td></tr></table>";
 echo "<table align='right'>";
echo "
<tr align='left'><td align='left'> <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['080']."</a></td></tr>
<tr align='left'><td align='left'> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a></td></tr>
<tr align='left'><td align='left'> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a></td></tr>";
 if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
  echo "<tr align='right'><td align='right'> <a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['083']."</a></td></tr>";
 }
 echo "<tr align='left'><td align='left'> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a></td></tr>";
 if ($msg_count) echo "<br><br><center><b><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])."</a></b></center>\n";
echo "</tr></td></table>";
closeside();
 } else {
 openside($locale['060']);
 echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
".$locale['061']."<br>
<input type='text' name='user_name' class='textbox' style='width:100px'><br>
".$locale['062']."<br>
<input type='password' name='user_pass' class='textbox' style='width:100px'><br>
<input type='checkbox' name='remember_me' value='y' title='".$locale['063']."' style='vertical-align:middle;'>
<input type='submit' name='login' value='".$locale['064']."' class='button'><br>
</form>
<br>\n";
 if ($settings['enable_registration']) {
  echo "".$locale['065']."<br><br>\n";
 }
 echo $locale['066']."
</div>\n";
}
closeside();
?>






Bandyk

Parašė FoDD· 2008 Gru. 14 19:12:15
#5

Su pačiu dizainu gerai bet user_info_panel apačioje rašo:

echo $locale['066']." \n"; } closeside(); ?>



Parašė FoDD· 2008 Gru. 14 19:12:30
#6

Tai ką daryti?