المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : درس مفصل تاطير أرسال رسالة جديدة والمعلومات الإضافية التي اسفلها



linnou
10-30-2013, بتوقيت غرينيتش 08:49 PM
http://www.dzbatna.com/images/icons/iconrote.gif ط¯ط±ط³ طھط§ط·ظٹط± ط£ط±ط³ط§ظ„ ط±ط³ط§ظ„ط© ط¬ط¯ظٹط¯ط© ظˆط§ظ„ظ…ط¹ظ„ظˆظ…ط§طھ ط§ظ„ط¥ط¶ط§ظپظٹط© ط§ظ„طھظٹ ط§ط³ظپظ„ظ‡ط§ (http://www.dzbatna.com/t1430982/)




في درس مفصلنا هذا سنتطرق الى تأطير ارسال رسالة جديدة
والخيارات الاضافية التي اسفلها
وهي سهلة جدا

الشكل النهائي

http://www.titanic-arwad.com/pm/pm.jpg (http://www.titanic-arwad.com/pm/pm.jpg)


----

الخيارات الأضافية التي اسفلها

http://www.titanic-arwad.com/pm/pm2.jpg (http://www.titanic-arwad.com/pm/pm2.jpg)

الطريقة

http://www.titanic-arwad.com/pm/1.jpg

----

http://www.titanic-arwad.com/pm/2.jpg

----

http://www.titanic-arwad.com/pm/qaleb.jpg

نفتح القالب template ونضعه في الفرونت بيج

ونبحث عن

رمز PHP:

<code style="white-space:nowrap"> <code> <table class="tborder" cellpadding="$stylevar&#91;cellpadding&#93;" cellspacing="$stylevar&#91;cellspacing&#93;" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase&#91;post_new_private_message&#93;</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar&#91;left&#93;" style="max-width:$stylevar&#91;formwidth&#93;; width:auto !important; width:$stylevar&#91;formwidth_usercp&#93;">
<!-- recipients field -->
<fieldset class="fieldset">
<legend>$vbphrase&#91;recipients&#93;</legend>
<table cellpadding="0" cellspacing="$stylevar&#91;formspacer&#93;" border="0">
<tr>
<td>
<if condition="$show&#91;'popups'&#93;">
<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=$vboptions&#91;simplevers ion&#93;"></script>
</if>
<div>$vbphrase&#91;recipient_usernames&#93;</div>
<div id="pmrecips"><textarea id="pmrecips_txt" name="recipients" rows="<if condition="is_browser('mozilla')">1<else />2</if>" cols="50" tabindex="1">$pm&#91;recipients&#93;</textarea></div>
<if condition="$show&#91;'popups'&#93;">
<div class="vbmenu_popup" id="pmrecips_menu" style="display:none; z-index:50"></div>
<script type="text/javascript">
<!--
vbmenu_register('pmrecips', true);
recip_sugg = new في بي vB_AJAX_NameSuggest('recip_sugg', 'pmrecips_txt', 'pmrecips');
<if condition="$show&#91;'sendmultiple'&#93;">recip_sugg.allow_multiple = true;</if>
//-->
</script>
</if>
<if condition="$show&#91;'sendmultiple'&#93;">
<span style="display:none" onclick="return swapbcc(this);" id="bccspan1">&#91;<a href="#">$vbphrase&#91;bcc&#93;</a>&#93;</span>
<span id="bccspan2">$vbphrase&#91;bcc&#93; $vbphrase&#91;recipient_usernames&#93;<br /></span>
<div id="bccpmrecips"><textarea id="bccpmrecips_txt" name="bccrecipients" rows="<if condition="is_browser('mozilla')">1<else />2</if>" cols="50" tabindex="1">$pm&#91;bccrecipients&#93;</textarea></div>
<if condition="$show&#91;'popups'&#93;">
<div class="vbmenu_popup" id="bccpmrecips_menu" style="display:none; z-index:50"></div>
<script type="text/javascript">
<!--
vbmenu_register('bccpmrecips', true);
bccrecip_sugg = new في بي vB_AJAX_NameSuggest('bccrecip_sugg', 'bccpmrecips_txt', 'bccpmrecips');
bccrecip_sugg.allow_multiple = true;
<if condition="$show&#91;'bcclink'&#93;">
fetch_object('bccpmrecips').style.display = 'none';
fetch_object('bccspan2').style.display = 'none';
fetch_object('bccspan1').style.display = '';
function swapbcc(obj)
{
obj.style.display = 'none';
fetch_object('bccpmrecips').style.display = '';
fetch_object('bccspan2').style.display = '';
return false;
}
</if>
//-->
</script>
</if>
</if>
</td>
</tr>
<tr>
<td>
<if condition="$show&#91;'sendmax'&#93;"><div><phrase 1="$permissions&#91;pmsendmax&#93;">$vbphrase&#91;may_send_to_x_people&#93;</phrase></div></if>
<if condition="$show&#91;'sendmultiple'&#93;"><div>$vbphrase&#91;separate_multiple_names&#93;</div></if>
</td>
</tr>
</table>
</fieldset>
<!-- / recipients field -->
<!-- subject field -->
<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
<tr>
<td class="smallfont" colspan="3">$vbphrase&#91;title&#93;:</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="title" value="$pm&#91;title&#93;" size="50" maxlength="85" tabindex="1" /></td>
<td>&nbsp;&nbsp;</td>
<td><img id="display_posticon" src="$selectedicon&#91;src&#93;" alt="$selectedicon&#91;alt&#93;" /></td>
</tr>
</table>
<!-- / subject field -->
<!-- message area -->
<div class="smallfont">$vbphrase&#91;message&#93;:</div>
$messagearea
<!-- / message area -->
$posticons
</div>
</div>
<div style="margin-top:$stylevar&#91;cellpadding&#93;px">
<input type="hidden" name="s" value="$session&#91;sessionhash&#93;" />
<input type="hidden" name="securitytoken" value="$bbuserinfo&#91;securitytoken&#93;" />
<input type="hidden" name="do" value="insertpm" />
<input type="hidden" name="pmid" value="$pm&#91;pmid&#93;" />
<input type="hidden" name="forward" value="$pm&#91;forward&#93;" />
<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase&#91;submit_message&#93;" accesskey="s" tabindex="1" />
<input type="submit" class="button" value="$vbphrase&#91;preview_message&#93;" accesskey="r" name="preview" tabindex="1" />
</div>
</td>
</tr>
</table>
</code> </code>


ونضعه في التصميم الذي لدينا في الفرونت بيج

http://www.titanic-arwad.com/newthread/front.jpg (http://www.titanic-arwad.com/newthread/front.jpg)


----

http://www.titanic-arwad.com/newthread/tasmem.jpg

----

http://www.titanic-arwad.com/newthread/border-tasmem.jpg (http://www.titanic-arwad.com/newthread/border-tasmem.jpg)

----




http://www.titanic-arwad.com/newthread/tastmem-code.jpg (http://www.titanic-arwad.com/newthread/tastmem-code.jpg)


----

ونضعه في الوسط ونننسخه ونرجعه الى القالب template نفسه

ثم نبحث عن

رمز PHP:

<code style="white-space:nowrap"> <code> <table class="tborder" cellpadding="$stylevar&#91;cellpadding&#93;" cellspacing="$stylevar&#91;cellspacing&#93;" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat">
<a name="options" style="float:$stylevar&#91;right&#93;" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar&#91;imgdir_button&#93;/collapse_tcat$vbcollapse&#91;collapseimg_newpost_optio ns&#93;.gif" alt="" border="0" /></a>
$vbphrase&#91;additional_options&#93;
</td>
</tr>
</thead>
<tbody id="collapseobj_newpost_options" style="$vbcollapse&#91;collapseobj_newpost_options&#93;">
<tr valign="top">
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar&#91;left&#93;" style="max-width:$stylevar&#91;formwidth&#93;; width:auto !important; width:$stylevar&#91;formwidth_usercp&#93;">
<if condition="$show&#91;'receivepmbuddies'&#93;">
<fieldset class="fieldset">
<legend>$vbphrase&#91;pm_non_contacts_heading&#93;</legend>
<table cellpadding="0" cellspacing="$stylevar&#91;formspacer&#93;" border="0" width="100%">
<tr>
<td><phrase 1="$session&#91;sessionurl&#93;">$vbphrase&#91;pm_non_contact_option_description&#93;</phrase></td>
</tr>
<tr>
<td><label for="cb_anyway"><input type="checkbox" name="sendanyway" id="cb_anyway" value="1" $anywaychecked />$vbphrase&#91;pm_non_contact_option&#93;</label></td>
</tr>
</table>
</fieldset>
</if>
<fieldset class="fieldset">
<legend>$vbphrase&#91;miscellaneous_options&#93;</legend>
<div style="padding:$stylevar&#91;formspacer&#93;px">
<if condition="$show&#91;'trackpm'&#93;"><div><label for="cb_receipt"><input type="checkbox" name="receipt" value="1" id="cb_receipt" $checked&#91;receipt&#93; />$vbphrase&#91;request_receipt_for_message&#93;</label></div></if>
<div><label for="cb_savecopy"><input type="checkbox" name="savecopy" value="1" id="cb_savecopy" tabindex="1" $checked&#91;savecopy&#93; /><phrase 1="private.php?$session&#91;sessionurl&#93;folderid=-1">$vbphrase&#91;save_copy_in_sent_items_folder&#93;</phrase></label></div>
<if condition="$bbuserinfo&#91;'signature'&#93;"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked&#91;signature&#93; />$vbphrase&#91;show_your_signature&#93;</label></div></if>
<if condition="$show&#91;'parseurl'&#93;"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked&#91;parseurl&#93; />$vbphrase&#91;automatically_parse_links_in_text&#93;</label></div></if>
$disablesmiliesoption
</div>
</fieldset>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</code> </code>


ونفس الطريقة السابقة ثم حفظ ونقوم باستبداله من لوحة التحكم
والسلام عليكم ورحمة الله



http://titanic-arwad.com/upload/upload/wh_18160725.gif








ألعاب الأندرويد مجانا و حصريا (http://www.apotox.info/forum)



https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©

استعمل مربع البحث في الاسفل لمزيد من المواضيع


سريع للبحث عن مواضيع في المنتدى