Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Problema del forumo profilio
Parašė Pheonix· 2009 Rugp. 15 01:08:38
#1
Sveiki, gal kas galėtų paiiškinti, kame bėda kode, kad vaizdas atrodo taip?
http://www.ipix.lt/desc/73753551/
Štai kodas:
if ($data['user_aim']) {
echo "<tr>
<td width='145' class='tbl2'>".$locale['501']."</td>
<td class='tbl2'><a name='post_".$data['post_id']."' id='post_".$data['post_id']."'></a>".$data['post_subject']."</td>
</tr>
<tr>
<td valign='top' rowspan='3' width='145' class='tbl1'>
<a href='".BASEDIR."skype.php?id=".$data['user_aim']."'><img src='http://mystatus.skype.com/smallicon/".$data['user_aim']."'></a><b><a href='../profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a></b>
<span class='alt'>".($is_mod ? $locale['userf1'] : getuserlevel($data['user_level']))."</span><br><br>\n";
} else {
echo "<tr>
<td width='145' class='tbl2'>".$locale['501']."</td>
<td class='tbl2'><a name='post_".$data['post_id']."' id='post_".$data['post_id']."'></a>".$data['post_subject']."</td>
</tr>
<tr>
<td valign='top' rowspan='3' width='145' class='tbl1'>
<b><a href='../profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a></b>
<span class='alt'>".($is_mod ? $locale['userf1'] : getuserlevel($data['user_level']))."</span><br><br>\n";
}
Redagavo Pheonix· 2009 Rugp. 15 01:08:40
Parašė sniuff· 2009 Rugp. 15 01:08:05
#2
<span class='alt'>".($is_mod ? $locale['userf1'] : getuserlevel($data['user_level']))."</span><br><br>\n";
Keisk į:
<span class='alt'><br>".($is_mod ? $locale['userf1'] : getuserlevel($data['user_level']))."</span><br><br>\n";
Parašė Pheonix· 2009 Rugp. 15 12:08:08
#3
aišku, padėjo, tik gaila kai neirašai skype ID profilio nustatymuose tada irgi buna virsuje, bet vistiek ačiū.
Parašė And2s· 2009 Rugp. 15 13:08:11
#4
if ($data['user_aim']) {
echo "<tr>
<td width='145' class='tbl2'>".$locale['501']."</td>
<td class='tbl2'><a name='post_".$data['post_id']."' id='post_".$data['post_id']."'></a>".$data['post_subject']."</td>
</tr>
<tr>
<td valign='top' rowspan='3' width='145' class='tbl1'>
<a href='".BASEDIR."skype.php?id=".$data['user_aim']."'><img src='http://mystatus.skype.com/smallicon/".$data['user_aim']."'></a><b><a href='../profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a></b>
<span class='alt'><br>".($is_mod ? $locale['userf1'] : getuserlevel($data['user_level']))."</span><br><br>\n";
} else {
echo "<tr>
<td width='145' class='tbl2'>".$locale['501']."</td>
<td class='tbl2'><a name='post_".$data['post_id']."' id='post_".$data['post_id']."'></a>".$data['post_subject']."</td>
</tr>
<tr>
<td valign='top' rowspan='3' width='145' class='tbl1'>
<b><a href='../profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a></b>
<span class='alt'><br>".($is_mod ? $locale['userf1'] : getuserlevel($data['user_level']))."</span><br><br>\n";
}
Parašė Pheonix· 2009 Rugp. 15 15:08:23
#5
And2s parašė:
if ($data['user_aim']) {
echo "<tr>
<td width='145' class='tbl2'>".$locale['501']."</td>
<td class='tbl2'><a name='post_".$data['post_id']."' id='post_".$data['post_id']."'></a>".$data['post_subject']."</td>
</tr>
<tr>
<td valign='top' rowspan='3' width='145' class='tbl1'>
<a href='".BASEDIR."skype.php?id=".$data['user_aim']."'><img src='http://mystatus.skype.com/smallicon/".$data['user_aim']."'></a><b><a href='../profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a></b>
<span class='alt'><br>".($is_mod ? $locale['userf1'] : getuserlevel($data['user_level']))."</span><br><br>\n";
} else {
echo "<tr>
<td width='145' class='tbl2'>".$locale['501']."</td>
<td class='tbl2'><a name='post_".$data['post_id']."' id='post_".$data['post_id']."'></a>".$data['post_subject']."</td>
</tr>
<tr>
<td valign='top' rowspan='3' width='145' class='tbl1'>
<b><a href='../profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a></b>
<span class='alt'><br>".($is_mod ? $locale['userf1'] : getuserlevel($data['user_level']))."</span><br><br>\n";
}
Tavo variantas neveikia ?|