- الرئيسية
- ما الجديد !
-
الصفحات▼
الصفحات
أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .
كيفية أزالة الصورة شخصية من بوابة المنتدى
-
-
[مجابه] كيفية أزالة الصورة شخصية من بوابة المنتدى15-03-2017 12:40 صباحاً
-
Solimanمعلومات الكاتبPBBoard developer
- انضم في :
- 18-07-2009
- رقم العضوية :
- 1
- المشاركات :
- 13422
- الدولة :
- KSA
- الجنس:
- الدعوات:
- 55
- قوة السمعة:
- 82296
- موقعي:
- زيارة موقعي
-
تفضل
CODE{if {$_CONF['info_row']['style_block_latest_news']} =='1'} <table width="100%" class="border" cellpadding="0" style="border-collapse: collapse"> {Des::while}{LastNews_subjectList} <?php $writer= $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['writer']; $Info_writer = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['member'] . " WHERE username = '$writer'"); $InfoWriter = @mysql_fetch_array($Info_writer); $avater_path = $InfoWriter['avater_path']; ?> <tr> <td class="thead"> <?php $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title']);?> <span class="l-left"> <font class="smallfont"> {$lang['SubjectVisitor']}: ({$LastNews_subjectList['visitor']}) {$lang['Comments']}: ({$LastNews_subjectList['reply_number']}) </font> </span> <span class="r-right"> <img border="0" alt="{$LastNews_subjectList['title']}" src="{$LastNews_subjectList['icon']}"> <a href="index.php?page=topic&show=1&id={$LastNews_subjectList['id']}">{$LastNews_subjectList['title']}</a> </span> </td> </tr> <tr> <td class="blocks_info"> <span class="l-left"> <font class="smallfont"> {$LastNews_subjectList['write_date']} </font> </span> <span class="r-right"> <img border="0" src="look/portal/images/news_icon.gif" alt="Writer"> {$lang['LastsPostsWriter']} <a href="index.php?page=profile&show=1&id=<?php echo $InfoWriter['id']; ?>">{$LastNews_subjectList['writer']}</a> </span> </td> </tr> <tr> <td class="blocks_info" valign="top"> <?php $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'] = $PowerBB->Powerparse->replace($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text']); $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text']); ?> {$LastNews_subjectList['text']} <span class="r-right"><a href="index.php?page=topic&show=1&id={$LastNews_subjectList['id']}"><img border="0" src="look/portal/images/read_more_button.png" alt="readmore"></a></span> </td> </tr> {/Des::while} {if {$PagerLastNews}} <tr> <td class="blocks_info"> <span class="r-right"> {$PagerLastNews} </span> </td> </tr> {/if} </table> {else} <?php $t= 0;?> <table border="0" width="100%" cellpadding="0" style="border-collapse: collapse" align="center"><tr> {Des::while}{LastNews_subjectList} <?php if ($PowerBB->_CONF['info_row']['portal_columns'] == '1' ) { $columns_News = "3"; } else { $columns_News = "2"; } if($t== $columns_News){ $t=0; echo "</tr><tr>"; }?> <td valign="top"> <table border="1" width="100" class="border" cellpadding="0" style="border-collapse: collapse" align="center"><tr> <td class="LastNews-tabclear" valign="top"> <?php $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title']); $title = $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title']; $num = "20"; $title = $PowerBB->functions->words_count($title,$num);?> <a href="index.php?page=topic&show=1&id={$LastNews_subjectList['id']}" title="<?php echo $title;?>"><?php echo $title;?></a> </td> </tr> <tr> <td class="rowthumb" valign="top"> <a href="index.php?page=topic&show=1&id={$LastNews_subjectList['id']}" title="<?php echo $title;?>"> <?php $x = 1; $images = array(); $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'] = stripslashes($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text']); preg_match_all('/src=([\'"])?((?(1).*?|\S+))(?(1)\1)/', $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'], $images); foreach ($images[2] as $src) { if($src) { echo '<img border="0" width="200" height="200" src="'.$src.'" alt="'.$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title'].'">'; } break; } if(!preg_match_all('/src=([\'"])?((?(1).*?|\S+))(?(1)\1)/', $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'], $images)) { echo '<img border="0" width="200" height="200" src="look/portal/images/traffic_cone.png" alt="'.$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title'].'">'; } ?> </a> </td> </tr> <tr> <td class="row1" valign="top"> <?php $num = $PowerBB->_CONF['template']['_CONF']['info_row']['portal_news_along']; $text = $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text']; $text = $PowerBB->functions->words_count_replace_strip_tags_html2bb($text,$num); $text = $PowerBB->Powerparse->html2bb($text); ?> <textarea dir="{$_CONF['info_row']['content_dir']}" class="r-right" readonly="readonly"><?php echo $text; ?></textarea> </td> </tr> <tr> <td class="theadv" valign="top"> <a href="index.php?page=topic&show=1&id={$LastNews_subjectList['id']}" title="Read More"> <div id="read_more_button"> {$lang['SubjectVisitor']}: ({$LastNews_subjectList['visitor']}) {$lang['usercp_reputations']}: ({$LastNews_subjectList['rating']}) </div> </a> </td> </tr> </table> </td> <?php $t= $t+1;?> {/Des::while} </tr> </table> {if {$PagerLastNews}} <table border="1" width="100%" cellpadding="0" style="border-collapse: collapse"><tr> <tr> <td class="row3"> <span class="r-right"> {$PagerLastNews} </span> </td> </tr> </table> {/if} {/if}
الساعة الآن 02:22 AM