- الرئيسية
- ما الجديد !
-
الصفحات▼
الصفحات
أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .
طلب تغيير مكان القائمة في المجلة
-
-
[مجابه] طلب تغيير مكان القائمة في المجلة26-03-2014 11:22 صباحاً
-
Mr Kingمعلومات الكاتبعضو
- انضم في :
- 27-11-2012
- رقم العضوية :
- 2642
- المشاركات :
- 3240
- الدولة :
- morocco
- الجنس:
- تاريخ الميلاد :
- 1-1-1987
- الدعوات:
- 6
- قوة السمعة:
- 18910
-
استبدل محتوى القالب portal بما يلي ،
CODE{template}address_bar_part1{/template} <a href="portal">{$_CONF['info_row']['title_portal']}</a> {template}address_bar_part2{/template} <table width="100%" border="0" cellspacing="4" align="center"> <tr align="center"> {if {$active_right}} <td valign="top"> <?php $right_blocks_info = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->prefix."blocks" . " WHERE place_block = 'right' AND active = '1' ORDER BY sort ASC"); while ($get_right_blocks_row = $PowerBB->DB->sql_fetch_array($right_blocks_info)) { $right_blocks = $get_right_blocks_row['text']; ?> <table width="100%" border="0" cellspacing="0" class="border_radius"> <tr> <tr align="center"> <td class="tcat"> <?php echo $get_right_blocks_row['title'] ?></td> </tr> <td class="row1"> <?php if (strstr($right_blocks,"{template}")) { $right_blocks = str_replace('{template}',"",$right_blocks); $right_blocks = str_replace('{/template}',"",$right_blocks); $PowerBB->template->display($right_blocks); // eval($right_blocks); } else { echo($right_blocks); } ?> </td> </tr> </table> <?php } ?> </td> {/if} <td width="20%" valign="top"> <?php $center_blocks_info = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->prefix."blocks" . " WHERE place_block = 'center' AND active = '1' ORDER BY sort ASC"); while ($get_center_blocks_row = $PowerBB->DB->sql_fetch_array($center_blocks_info)) { $center_blocks = $get_center_blocks_row['text']; ?> <table width="100%" border="0" cellspacing="0" class="border_radius"> <tr> <tr align="center"> <td class="tcat" width="20%"> <?php echo $get_center_blocks_row['title'] ?></td> </tr> <td class="row1"> <?php if (strstr($center_blocks,"{template}")) { $center_blocks = str_replace('{template}',"",$center_blocks); $center_blocks = str_replace('{/template}',"",$center_blocks); $PowerBB->template->display($center_blocks); //eval($center_blocks); } else { echo($center_blocks); } ?> </td> </tr> </table> <?php } ?> </td> {if {$active_left}} <td width="20%" valign="top"> <?php $left_blocks_info = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->prefix."blocks" . " WHERE place_block = 'left' AND active = '1' ORDER BY sort ASC"); while ($get_left_blocks_row = $PowerBB->DB->sql_fetch_array($left_blocks_info)) { $left_blocks = $get_left_blocks_row['text']; ?> <table width="100%" border="0" cellspacing="0" class="border_radius"> <tr> <tr align="center"> <td class="tcat" width="20%"> <?php echo $get_left_blocks_row['title'] ?></td> </tr> <td class="row1"> <?php if (strstr($left_blocks,"{template}")) { $left_blocks = str_replace('{template}',"",$left_blocks); $left_blocks = str_replace('{/template}',"",$left_blocks); $PowerBB->template->display($left_blocks); //eval($left_blocks); } else { echo($left_blocks); } ?> </td> </tr> </table> <?php } ?> </td> {/if} </tr> </table>
تم تحرير المشاركة بواسطة :Mr King بتاريخ:26-03-2014 11:23 صباحاً
الساعة الآن 01:03 PM