- الرئيسية
- ما الجديد !
-
الصفحات▼
الصفحات
أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .
اريد هاك شكرا
-
-
اريد هاك شكرا23-09-2011 02:08 صباحاً
-
Mahde04معلومات الكاتبعضو
- انضم في :
- 26-05-2011
- رقم العضوية :
- 1518
- المشاركات :
- 127
- الدولة :
- jordan
- الجنس:
- تاريخ الميلاد :
- 3-6-1992
- قوة السمعة:
- 286
-
اخي انا قراة ردك في تمعن
اخي يمكن تحرير القالب وهذا شكرا
CODE<!-- start_post_thanks --> {if {$_CONF['info_row']['post_thanks_on_off']} == '1'} <?php $excludedWords = array(); $doubleAr = $PowerBB->_CONF['template']['_CONF']['info_row']['post_thanks_forum_off']; $forum_off = preg_split("#[|]+#", $doubleAr, -1, PREG_SPLIT_NO_EMPTY); $excludedWords = array_merge($excludedWords, $forum_off); for ($x = 0; $x < @count($excludedWords); $x++) { $excludedWords[$x] = @trim($excludedWords[$x]); if($excludedWords[$x] == $PowerBB->_CONF['template']['section_info']['id']) { $post_thanks_forum_off = '1'; } } if(!$post_thanks_forum_off) { ?> <?php $subjectid = $PowerBB->_CONF['template']['subject_id']; $subject_thanks_nm = $PowerBB->DB->sql_num_rows($PowerBB->DB->sql_query("SELECT id FROM " . $PowerBB->prefix."post_thanks" . " WHERE subjectid='$subjectid'")); $userid = $PowerBB->_CONF['template']['_CONF']['member_row']['id']; $thanks_info_user = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->prefix."post_thanks" . " WHERE subjectid = '$subjectid' and userid = '$userid' "); $get_thanks_user_row = $PowerBB->DB->sql_fetch_array($thanks_info_user); ?> <script type='text/javascript'> function AjaxDelOneThanks() { var AjaxState = {ajaxSend : WaitDelOneThanks}; var data = {}; data['subjectid'] = $("#subject_id").val(); data['display_username'] = $("#display_username_id").val(); data['ajax'] = 1; $.post("index.php?page=post_thanks&post_del_one_thanks_start=1",data,SuccessDelOne); } function WaitDelOneThanks() { $("#del_one_thanks_xml").html("{$lang['Ongoing_process']}"); } </script> <?php if($PowerBB->_CONF['template']['get_thanks_user_row']) { ?> <script type='text/javascript'> function SuccessDelOne(xml) { $("#del_thanks_button").hide(); $("#thanks").hide(); $("#del_all_thanks").hide(); $("#thanks_template").show(); $("#thanks_button").show(); $("#del_one_thanks_xml").html(xml); } </script> <?php } else { ?> <script type='text/javascript'> function SuccessDelOne(xml) { $("#del_thanks_button").hide(); $("#thanks").hide(); $("#del_all_thanks").hide(); $("#thanks_template").hide(); $("#thanks_button").show(); $("#del_one_thanks_xml").html(xml); } </script> <?php } ?> <script type='text/javascript'> function ReadyDelOne() { $("#del_one_thanks_id").click(AjaxDelOneThanks); } $(document).ready(ReadyDelOne); </script> <script type='text/javascript'> function AjaxDelAllThanks() { var AjaxState = {ajaxSend : WaitDelAllThanks}; var data = {}; data['subjectid'] = $("#subject_id").val(); data['ajax'] = 1; $.post("index.php?page=post_thanks&post_del_all_thanks_start=1",data,SuccessDelAll); } function WaitDelAllThanks() { $("#del_all_thanks").html("{$lang['Ongoing_process']}"); } function SuccessDelAll(xml) { $("#del_all_thanks_button").hide(); $("#thanks").hide(); $("#del_all_thanks_id").hide(); $("#thanks_template").hide(); $("#thanks_button").show(); $("#del_all_thanks").html(xml); } function ReadyDelAll() { $("#del_all_thanks_id").click(AjaxDelAllThanks); } $(document).ready(ReadyDelAll); </script> <?php if(!$subject_thanks_nm == '0') { ?> <div align='center' id="thanks_template"> <tr align="center"> <td width="100%" colspan="2"> <table border="0" cellspacing="1" class="border" width="98%" align="center"> <tr> <td width="98%" class="thead1" align="right"> <?php echo $subject_thanks_nm ?> أعضاء قالوا شكراً لـ {$Info['display_username']} على المشاركة المفيدة: <div class="l-left"> <?php if($get_thanks_user_row) { ?> {if {$_CONF['info_row']['post_thanks_delete_own']} == '1'} <form name="form_del_one_thanks" class="form_del_thanks" method="post" action="index.php?page=post_thanks&post_del_one_thanks_start=1"> <div align='center' id="del_thanks_button"> <input name="del_one_thanks" class="input_del_thanks" type="button" id="del_one_thanks_id" value=" احذف شكرك " /> </div> <input type="hidden" name="subjectid" id="subject_id" value="{$subject_id}" /> <textarea name="display_username" id="display_username_id" style="display:none;">{$Info['display_username']}</textarea> </form> <?php } } ?> <?php if(!$subject_thanks_nm == '0') { ?> {if {$_CONF['rows']['group_info']['admincp_allow']}} <?php if($get_thanks_user_row) { ?> <?php } ?> <form name="form_del_all_thanks" class="form_del_thanks" method="post" action="index.php?page=post_thanks&post_del_all_thanks_start=1"> <div align='center' id="del_all_thanks_button"> <input name="del_all_thanks" class="input_del_thanks" type="button" id="del_all_thanks_id" value=" احذف الكل " /> </div> <input type="hidden" name="subjectid" id="subject_id" value="{$subject_id}" /> <textarea name="display_username" id="display_username_id" style="display:none;">{$Info['display_username']}</textarea> </form> {/if} <?php } ?> </div> </td> </tr> <tr> <td width="98%" class="row1" align="right"> <?php $thanks_info = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->prefix."post_thanks" . " WHERE subjectid = '$subjectid' ORDER BY id ASC"); while ($get_thanks_row = $PowerBB->DB->sql_fetch_array($thanks_info)) { ?> {if {$_CONF['info_row']['post_thanks_date_all']} == '1'} <?php $date = $get_thanks_row['date']; $date = $PowerBB->functions->date($date); ?> {/if} {if {$_CONF['info_row']['rewriterule']} == '1'} <a title="<?php echo $date ?>" href="u<?php echo $get_thanks_row['userid'] ?>.html"><?php echo $get_thanks_row['username'] ?></a> {else} <a title="<?php echo $date ?>" href="index.php?page=profile&show=1&id=<?php echo $get_thanks_row['userid'] ?> "><?php echo $get_thanks_row['username'] ?></a> {/if} , <?php } ?> </td> </tr> </table> </td> </tr> </div> <?php } ?> <table border="0" width="100%" id="thanks" cellpadding="0" align='center' style="border-collapse: collapse"> <tr> <td id="thanks"></td> </tr> </table> <table border="0" width="100%" id="del_one_thanks_xml" cellpadding="0" align='center' style="border-collapse: collapse"> <tr> <td id="del_one_thanks_xml"></td> </tr> </table> <table border="0" width="100%" id="del_all_thanks" cellpadding="0" align='center' style="border-collapse: collapse"> <tr> <td id="del_all_thanks"></td> </tr> </table> <?php } ?> {/if} <!-- end_post_thanks -->
شو لازم اعدل عليه على شان يشتغل اخي تحملني انا غلبتك معاي
الساعة الآن 08:57 AM