-
السلام عليكم .
نصبت البرنامج آلبوم الصور بس ما اقدر اغيره من اليمين الى اليسار...هذا العنوان.
http://www.sabokbalan.com/snipegallery/index.php
ساعدونى .....
شكرا جزيلا
حسين....
-
<html dir="rtl">
Or
<tr dir="rtl">
Or
<td dir="rtl">
-
السلام عليكم
شكرا على ردك ...بس ما صار.
اين كون ادرج هذه الكود؟؟
لاحظ انا عندى ملفات هذا:
index.php
header.php
footer.php
view.php
شكرا.
-
شوف ال header.php
لو لقيت فيه
<html>
حطه
<html dir=rtl>
---
لو ما لقيته
دور عن ال <html>
في ملف
index.html
وبتحصله
وحوله بنفس الطريقة
-
أخوي الإماراتي ... ما في داعي تعقد الرجال 


كلها كود بسيط جدا :
print "<html dir='rtl'>\n";
حطه في أي صفحة
php أو cgi
سلام
-
السلام عليكم ...
حطت بس يغير اعلي الصفحه... وباقي الصفحه يبقي نفس الحالة...
شكرا
-
يبقى لازم تحطه في كل الملفات المتعلقة بالسكريبت
-
السلام عليكم ....الاخوان اعتذر بس هم جربته و ماصار.
هذا الكود الايندكس.index.php
<?php
$PAGE_TITLE="آلبوم تصاوير سبكبالان";
$SECTION_NAME="-snipe";
$SHOW_ADS="0";
$SHOW_LINKS="0";
?>
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<title>Snipe.Net v.6 - <?php echo "$PAGE_TITLE"; ?></title>
<script LANGUAGE="JavaScript" src="../../js/menu-rollover.php?SECTION_NAME=<?php echo "$SECTION_NAME"; ?>">
</script>
<?php
include ("header.php");
$urlaction=urlencode($action);
?>
<table width="100%" border="0">
<tr>
<td align="right"><?php
print_menu($cat_id);
?><?php make_search(); ?></td>
</tr>
<tr>
<td>
<?php
if ((!isset($action)) && (!isset($category)) && (!isset($id))) {
if ($use_dropdowns!="1") {
print "<table width=\"100%\"><tr><td align=\"left\">";
print_text_menu($cat_id);
print "</td></tr></table>";
}
?>
<?php
} elseif (($action=="images") || ($action=="text listing")) {
show_me_the_images($cat_id);
}
?>
</td></tr></table>
<?php
include ("footer.php");
?>
وهذا كود الويو...view.php
<?php
$PAGE_TITLE="Image Details";
$SECTION_NAME="-snipe";
$SHOW_ADS="0";
$SHOW_LINKS="0";
?>
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<title>Snipe.Net v.6 - <?php echo "$PAGE_TITLE"; ?></title>
<script LANGUAGE="JavaScript" src="../../js/menu-rollover.php?SECTION_NAME=<?php echo "$SECTION_NAME"; ?>">
</script><!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<?php
print "<html dir='rtl'>\n";
include ("header.php");
$urlaction=urlencode($action);
?>
<table width="100%" border=0>
<tr>
<td align="right"><?php print_menu($cat_id); ?></td>
</tr>
</table>
<center>
<table width="500" border=0>
<tr><td colspan="2" valign=top>
<?php
$sql = "SELECT id, title, filename, details, author, location, date FROM snipe_gallery_data where id='$photo_id'";
$getpic = mysql_query($sql);
list($photo_id, $photo_title, $photo_filename, $photo_details, $photo_author, $photo_location, $photo_date) = mysql_fetch_row($getpic);
// get the height and width tags for the image
$image_stats = GetImageSize($cfg_fullsizepics_path."/".$photo_filename);
$imagesize = $image_stats[3];
echo '<h4>'.$photo_title.'</h4> </td></tr><tr><td colspan="2"><center><img src="'.$cfg_fullsizepics_url.'/'.$photo_filename.'" '.$imagesize.' alt="'.$photo_title.'"></center></td></tr><tr><td colspan="2"><p>'.$photo_details.' </p></td></tr>';
if ($photo_author!="") {
echo "<tr><td><b>عكاس:</b></td><td>$photo_author</td></tr>";
}
if ($photo_location!="") {
echo "<tr><td><b>كشور:</b></td><td>$photo_location</td></tr>";
}
if (($photo_date!="") && ($photo_date!="0000-00-00")){
echo "<tr><td><b>Date:</b></td><td>$photo_date</td></tr>";
}
echo "<tr><td> </td><td> </td></tr>";
mysql_free_result($getpic);
?>
</table></center>
<br><br>
<?php
$urlaction= urlencode($action);
$keywordencode= urlencode($keyword);
if ($action=="search"){
$cfg_site_home="search.php";
}
?>
<b><a href="<?php echo "$cfg_site_home"; ?>?screen=<?php echo "$screen"; ?>&cat_id=<?php echo "$cat_id"; ?>&action=<?php echo "$urlaction"; ?>&keyword=<?php echo "$keywordencode"; ?>">بازگشت</a></b>
<?php
include ("footer.php");
?>
كيف اجعل rtl فيه..؟؟
شكرا...
-
افتح الملف بالنوت باد notpad
وحط بحث عن كل كلمة <html>
وحولها ل
<html dir=rtl>
واعمل نفس الحركة مع كل <html> تلقاها
وخلاص
-
فعلا كما قال أخوي الإماراتي
ضوابط المشاركة
- لا تستطيع إضافة مواضيع جديدة
- لا تستطيع الرد على المواضيع
- لا تستطيع إرفاق ملفات
- لا تستطيع تعديل مشاركاتك
-
قوانين المنتدى
أضف موقعك هنا |
اضافة محتوى فريد لموقعك