Jump to content
php.lv forumi

Informacijas novietosana pareizā vietā


niggazz

Recommended Posts

Sveiki

Man ir kods

while ($arr = mysql_fetch_assoc($res)) {

print("<table width=100% ><tr>

<td align=center>

<table width=100% border=0 cellspacing=4 cellpadding=1 style=margin-bottom:10px; >

<tr bgcolor=#FFFFFF class=bottom>

<th><div align=left> <font color=000000 size=1> " . ( $arr[name] )."</i></font> </div></th>

</tr><td><ul>

<TABLE cellSpacing=0 cellPadding=3 border=0 ><TBODY><TR vAlign=top><TD width=160>

<IMG src=$arr[poster] width=150 border=0></TD><TD><DIV align=left><IMG src=$arr[cat] align=right

border=0><font size=1><B>Genre: </B>" . ( $arr[zanr] )."<BR><B>The director:</B> " . ( $arr[reziser] )." </DIV>

<B>In roles:</B> " . ( $arr[vroliah] )." </DIV>

<DIV align=left><HR align=left width=\85%\ color=#000000 SIZE=1></DIV><DIV align=left>

<B>Description:</B><BR> " . ( $arr[opisalovo] )." </DIV><DIV align=left><HR align=left width=\85%\

color=#000000 SIZE=1></DIV><DIV align=left><B>Quality:</B> " . ( $arr[kacestvo] ) ." <BR>

<B>Video:</B> " . ( $arr ) ."<BR><B>Audio:</B> " . ( $arr[audio] ) ."<BR>

<B>Duration:</B> " . ( $arr[time] ) ." <BR><B>Translation:</B> " . ( $arr[lang] ) ." </DIV>\n");

if ($arr["imd"])

print("<DIV align=right> [<A href=$arr[imd]>IMDB</A>] [<A href=$arr target=_blank>Details</A>]

</TD></TR></TBODY></TABLE></td></tr></table></td></table>\n");

else

print("<DIV align=right> [<A href=$arr target=_blank>Details</A>]

</TD></TR></TBODY></TABLE></td></tr></table></td></table>\n");

if (get_user_class() >= UC_MODERATOR)

{

print(" <font class=middle>[<a class=altlink href=indexdelete.php?action=edit&id= . $arr['id] . "&returnto=" . urlencode($_SERVER['PHP_SELF']) . "><b>Edit</b></a>]");

print("[<a class=altlink href=indexdelete.php?action=delete&id= . $arr['id] . "&returnto=" . urlencode($_SERVER['PHP_SELF']) . "><b>Delete</b></a>]<br><br><br>");

}

}

print("</table>\n");

} else

print("-- Nothing found! --\n");

 

Un informācija izvadās šādi

 

INFORMACIJ NR1

 

 

INFORMACIJ NR2

 

 

INFORMACIJ NR3

 

 

INFORMACIJ NR4

 

 

Bet man vajadzētu šādi

 

INFORMACIJ NR1 | INFORMACIJ NR2 | INFORMACIJ NR3 | INFORMACIJ NR4 | INFORMACIJ NR5

Link to comment
Share on other sites

×
×
  • Create New...