الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

مشكلة تعديل الكود

بدأه حجازي في 19 يناير 2012 · 1 رد · 761 مشاهدة · في قسم البرمجة بــ Javascript
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم

لدي هذا الكود

<?php

include_once ('config.php');
if(!$templat||!file_exists("template/$templat/style.css"))
{
$w=mysql_query("select * from  setting where id='1'");
while($row=mysql_fetch_row($w))
{
$templat=$row[10];
}
}
if(!$templat||!file_exists("template/$templat/style.css"))
{
echo "<LINK href=\"images/style.css\" type=text/css rel=StyleSheet>";
}
else
{
echo "<LINK href=\"template/$templat/style.css\" type=text/css rel=StyleSheet>";
}
?>
<script type="text/javascript" src="newsnew/jquery-1.2.2.pack.js"></script>
<script type="text/javascript" src="newsnew/featuredcontentglider.js"></script>

<head>
<link rel="stylesheet" type="text/css" href="newsnew/cssbuttonstoggler.css" />
<link rel="stylesheet" type="text/css" href="newsnew/featuredcontentglider.css" />

<script type="text/javascript">

featuredcontentglider.init({
	gliderid: "canadaprovinces", 
	contentclass: "glidecontent",
	togglerid: "p-select", 
	remotecontent: "",
	selected: 0, 
	persiststate: false, 
	speed: 500,
	direction: "downup",
	autorotate: true, 
	autorotateconfig: [3000, 0] 
})

</script>
</head>

<div id="canadaprovinces" class="glidecontentwrapper">
<?
$w22=mysql_query("select * from  setting where id='1'");
while($rowss=mysql_fetch_row($w22))
{
$htmlorphp=$rowss[6];

}

$w=mysql_query("select * from  play where catid='52' order by id ");
while($row=mysql_fetch_row($w))
{
if($htmlorphp==1)
{
$urlplay="play-$row[0].html";
}
else
{
$urlplay="play.php?catslinkp=$row[0]";
}
?>

<div class="glidecontent"  style="position: absolute; right:0px ; top:0px ">
<?
echo "<div align=\"center\">
	<table width=\"100%\" border=\"0\" valign=\"top\" align=right dir=\"rtl\"> 
  <tr>
    <td width=\"100%\" height=\"94\" valign=\"bottom\">	<div align=\"right\">

          <a class=linktable href='$urlplay' TARGET=\"_blank\">$row[2]</a> 
	      <br>
		  <br>
	</div>
	<table width=\"100%\" border=\"0\">
      <tr>
        <td bgcolor=\"#f4f4f4\" colspan=\"3\">
		<p align=\"left\">
		</p>
		</td>
      </tr>
    </table></td>

  </tr>

</table></div></div>";
}
?>

</div>
       <div id="p-select" class="glidecontenttoggler" dir="rtl">
<a href="#" class="prev"><span style="text-decoration: none">السابق</span></a> 
<a href="#" class="toc"><span style="text-decoration: none">1</span></a> <a href="#" class="toc">
<span style="text-decoration: none">2</span></a> <a href="#" class="toc">
<span style="text-decoration: none">3</span></a>
<a href="#" class="toc"><span style="text-decoration: none">4</span></a>  
<a href="#" class="next"><span style="text-decoration: none">التالي</span></a>
</div>

الكود يظهر الاخبار بهذا الشكل :

post-10262-077278300 1326970558_thumb.jp

وأنا اريدها أن تظهر بهذا الشكل :

post-10262-040632400 1326970647_thumb.jp

؟؟

المرفقات
0101.JPG0102.JPG
#2

upppppppppppppppppppp

مواضيع مشابهة