GIF89a;
Direktori : /home/serb/public_html/admin/ |
Current File : /home/serb/public_html/admin/article_details.php |
<? include("../lib/globals.php"); include("../lib/common.php"); include("../lib/functions.php"); $id=$_GET["id"]; $sql="select * from articles where article_id='$id'"; $rs=execute_query($sql); $row=mysql_fetch_array($rs); function format_comment($str) { if($str=="") { return "None"; } else { return $str; } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>:: Swingers.it | Admin ::</title> </head> <link rel="stylesheet" type="text/css" href="../style.css" /> <body> <br> <div id="homebottom3"> <table width="600" border="0" align="center" class="Table"> <tr> <td width="3%"> </td> <td width="21%"> </td> <td width="75%"> </td> <td width="1%"> </td> </tr> <tr> <td> </td> <td align="left" valign="top" class="gtext"><strong>Article Title :</strong></td> <td align="left" class="gtext"> <? print stripslashes($row['article_title']);?></td> <td> </td> </tr> <tr> <td> </td> <td align="left" valign="top" class="gtext"><strong>Article Category : </strong></td> <td align="left" class="gtext"> <? $sql_cat="SELECT * FROM articles_category WHERE cat_id='".$row['article_cate']."'"; $res_cat=execute_query($sql_cat); $row_cat=mysql_fetch_array($res_cat); echo $row_cat['cat_name']; ?></td> <td> </td> </tr> <tr> <td> </td> <td align="left" valign="top" class="gtext"><strong>Article Description : </strong></td> <td align="left" class="gtext"> <? print stripslashes($row['article_desc']);?></td> <td> </td> </tr> <tr> <td> </td> <td align="left" valign="top" class="gtext"><strong>Article Tags : </strong></td> <td align="left" class="gtext"><?=$row['article_tags']?></td> <td> </td> </tr> <tr> <td> </td> <td align="left" valign="top" class="gtext"><strong>Article Source : </strong></td> <td align="left" class="gtext"><?=$row['article_source']?></td> <td> </td> </tr> <tr> <td colspan="4" align="center" class="gtext"><img src="../articles/<?=$row['article_image']?>" /></td> </tr> <tr> <td colspan="4" align="center" class="gtext"> </td> </tr> <tr> <td colspan="4" align="center" class="gtext"><a href="javascript:window.close()" class="footer-link">[ Close window ] </a></td> </tr> <tr> <td colspan="4" align="center" class="gtext"> </td> </tr> </table> </div> </body> </html>