View Single Post
ישן 11-11-07, 12:01   # 3
dudu
חבר בקהילה
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
גיל: 34
הודעות: 204

dudu לא מחובר  

זה הקוד:


<html dir="rtl">
<body bgcolor=#ECECEC>
<font face='Arial'><span style='font-size: 12pt; font-weight: 700'>




<?php


mysql_connect("localhost","******","************** ");
mysql_select_db("**_i**");

$query = mysql_query("SELECT * FROM `topics` ORDER BY `id` DESC LIMIT 30 ");



while($array = mysql_fetch_array($query)) {





$array["poster"] = str_replace("<","<",$array["poster"]);
$array["poster"] = str_replace(">",">",$array["poster"]);
$array["title"] = str_replace("<","<",$array["title"]);
$array["title"] = str_replace(">",">",$array["title"]);
$array["FCKeditortext"] = str_replace("<","<",$array["FCKeditortext"]);
$array["title"] = str_replace(">",">",$array["title"]);
$array["text"] = str_replace(">",">",$array["text"]);
$array["text"] = str_replace(">",">",$array["text"]);
$array["date"];
$array["id"];






echo "<br>
<table align='center' border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#111111' width='650' height='81' id='AutoNumber1'>
<tr>
<td width='330' height='12' bgcolor='#0077A9'>
<img src=".$array["pic"]." height=100 width=100 border=1 align=right >
<div align='center'>
&nbsp;&nbsp;&nbsp;&nbsp;
<font size=6><b>
".$array["title"]." &nbsp;&nbsp; &nbsp;&nbsp;
</font></b></div>
<BR>
<font size=2><b>
[מאת: ".$array["poster"]."]
[תאריך: ".$array["date"]."]
# ".$array["id"]."
</font></b>
<br>
<font size=3><b>
תיאור: ".$array["t"]." &nbsp;&nbsp;&nbsp;&nbsp;
<BR>
נושא: ".$array["cat"]." &nbsp;&nbsp;&nbsp;&nbsp;
</font></b>
</p></td>
</tr>
<td width='330' height='12' bgcolor='#818181' >

</p>
<p align='right'> ".$array["FCKeditortext"]." </p><br>
<a href=". $url.$_FILES['myfile']['name']. ">". $url.$_FILES['myfile']['name'] ."<a/>
</td>
</tr>
</table>


</center>";




<?php
mysql_close();
?>
__________________
  Reply With Quote