بسم الله الرحمن الرحيم
السلام عليكم ورحمة الله وبركاته
أقدم لكم تمبلت mgc_chatbox
الخاص بالنسخة 1.5
أذكر خاص بالهاك الذي يحمل اصدار 1.5
في استايلات المودة 2008
فقط قم باستبدال القالب mgc_chatbox
بهذا
كود:
<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif" border="0"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/btl.gif" border="0"></td></tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif" border="0"></td><td width="100%">
<!-- نهاية إطار علوي -->
<script type="text/javascript">
var suppr_encours = "$vbphrase[mgc_cb_suppr_encours]";
var error_busy = "$vbphrase[mgc_cb_busy]";
var edit_encours = "$vbphrase[mgc_cb_edition_encours]";
var edit_interdit = "$vbphrase[mgc_cb_edition_interdite]";
var edit_failed = "$vbphrase[mgc_cb_edit_failed]";
var val_timeout = $vboptions[mgc_cb_refresh] * 1000;
var auto_refresh = $vboptions[mgc_cb_refresh_auto];
var bbcode_basic = $vboptions[mgc_cb_bbcode];
var bbcode_url = $vboptions[mgc_cb_bbcode_url];
var bbcode_img = $vboptions[mgc_cb_bbcode_img];
var show_repliee = $vboptions[mgc_cb_nbchats_fermee];
var phrase_enter_url = "$vbphrase[mgc_cb_enter_url]";
var phrase_enter_imgurl = "$vbphrase[mgc_cb_enter_imgurl]";
var phrase_idle = "$vbphrase[mgc_cb_idle_msg]";
var canal_actif = 0;
var chatbox_mode = $vboptions[mgc_cb_deux_canaux];
var chats_order = $vboptions[mgc_cb_chats_ordre];
var val_checkTeamTimeout = $vboptions[mgc_cb_warn_team_intervalle];
var can_team = $can_use_team;
var can_wol = $can_use_wol;
var can_pm = $can_use_pm;
var mgc_cb_jsloc = "$mgc_cb_floc";
var bburl = "$vboptions[bburl]";
function exec_collapse_chatbox() {
docollapse = toggle_collapse('mgc_chatbox');
collaspe_chatbox();
return docollapse;
}
function open_aide() {
window.open("$vboptions[bburl]/mgc_chatbox.php?" + SESSIONURL + "do=showaide" , "showaide", "toolbar=no,scrollbars=no,resizable=yes,left=0 top=0,width=775,height=630");
return false;
}
</script>
<if condition="THIS_SCRIPT == 'mgc_chatbox'">
<script type="text/javascript">var cb_location = "full";</script>
<else />
<script type="text/javascript">var cb_location = "inc";</script>
</if>
<script type="text/javascript" src="$mgc_cb_floc/clientscript/mgc_chatbox.js"></script>
<a name="chatbox" id="chatbox"></a>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="thead" align ="center" colspan="2">
<a style="float:$stylevar[right]" href="#chatbox" onClick="return exec_collapse_chatbox();"><img id="collapseimg_mgc_chatbox" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_mgc_chatbox].gif" alt="" border="0" /></a>
<span id='chatbox_titre_ouverte' style='display: <if condition="$vbcollapse[collapseobj_mgc_chatbox] == ''"><else />none</if>'>
<span class="normalfont">$vboptions[mgc_cb_titre]</span>
</span>
<span id='chatbox_titre_fermee' style='display: <if condition="$vbcollapse[collapseobj_mgc_chatbox] == ''">none<else /></if>'>
$vboptions[mgc_cb_titre] <a href="#chatbox" onClick="return collaspe_chatbox();"><img src="$stylevar[imgdir_misc]/menu_open.gif" alt="" border="0" /></a>
</span>
<span>[<a href="$vboptions[bburl]/mgc_chatbox.php?$session[sessionurl]do=view_archive&page=1">$vbphrase[mgc_chatbox_archive_link]</a>]
</td>
</tr>
</tbody>
<tbody id="collapseobj_mgc_chatbox" style="$vbcollapse[collapseobj_mgc_chatbox]">
<!-- Juste pour le changement de l'icone collapse, la mise أƒآƒ jour et l'affichage du reste est gأƒآƒأ‚آ©rأƒآƒأ‚آ© par le javascript -->
</tbody>
<tbody id="chatbox_ouverte" style="$vbcollapse[collapseobj_mgc_chatbox]" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
<if condition="!empty($vboptions[mgc_cb_annonce])">
<tr class="alt1" valign="middle" width="100%">
<td colspan="2">
$vboptions[mgc_cb_annonce]
</td>
</tr>
</if>
<if condition="$vboptions[mgc_cb_editor_position] == 0">
$mgc_cb_editor
</if>
<tr class="alt2">
<td width="100%" colspan="2">
<table width="100%" cellpadding="0" cellspacing="2">
<tr>
<if condition="($can_use_team && $vboptions[mgc_cb_deux_canaux]) || ($can_use_wol)">
<td nowrap="nowrap" valign="top" align="left">
<div id="canal_gen_on">
<img id="mgc_cb_gen_on" src="$stylevar[imgdir_misc]/mgc_chatbox/mgc_cb_general_sel.gif" width="20px" height="20px" alt="" border="0" title="$vbphrase[mgc_cb_canal_general]" />
</div>
<div id="canal_gen_off" style="display: none;">
<a href="#chatbox" onClick="return aff_canal(0);"><img id="mgc_cb_gen_off" src="$stylevar[imgdir_misc]/mgc_chatbox/mgc_cb_general_nosel.gif" width="20px" height="20px" alt="" border="0" title="$vbphrase[mgc_cb_canal_general]" /></a>
</div>
<if condition="$can_use_team && $vboptions[mgc_cb_deux_canaux]">
<div id="canal_team_on" style="display: none;">
<img id="mgc_cb_team_on" src="$stylevar[imgdir_misc]/mgc_chatbox/mgc_cb_team_sel.gif" width="20px" height="20px" alt="" border="0" title="$vbphrase[mgc_cb_canal_team]" />
</div>
<div id="canal_team_off">
<a href="#chatbox" onClick="return aff_canal(1);"><img id="mgc_cb_team_off" src="$stylevar[imgdir_misc]/mgc_chatbox/mgc_cb_team_nosel.gif" width="20px" height="20px" alt="" title="$vbphrase[mgc_cb_canal_team]" border="0" /></a>
</div>
<div id="canal_team_new" style="display: none;">
<a href="#chatbox" onClick="return aff_canal(1);"><img id="mgc_cb_team_new" src="$stylevar[imgdir_misc]/mgc_chatbox/mgc_cb_team_new.gif" width="20px" height="20px" alt="" title="$vbphrase[mgc_cb_canal_team]" border="0" /></a>
</div>
</if>
<if condition="$can_use_pm">
<div id="canal_pm_on" style="display: none">
<a href="#chatbox" onClick="return aff_canal(2);"><img id="mgc_cb_pm_on" src="$stylevar[imgdir_misc]/mgc_chatbox/mgc_cb_pm_sel.gif" width="20px" height="20px" alt="" title="$vbphrase[mgc_cb_canal_pm]" border="0" /></a>
</div>
<div id="canal_pm_off">
<a href="#chatbox" onClick="return aff_canal(2);"><img id="mgc_cb_pm_off" src="$stylevar[imgdir_misc]/mgc_chatbox/mgc_cb_pm_nosel.gif" width="20px" height="20px" alt="" title="$vbphrase[mgc_cb_canal_pm]" border="0" /></a>
</div>
</if>
<if condition="$can_use_wol">
<div id="canal_wol_on" style="display: none">
<a href="#chatbox" onClick="return aff_canal(3);"><img id="mgc_cb_wol_on" src="$stylevar[imgdir_misc]/mgc_chatbox/mgc_cb_online_sel.gif" width="20px" height="20px" alt="" title="$vbphrase[mgc_cb_canal_wol]" border="0" /></a>
</div>
<div id="canal_wol_off">
<a href="#chatbox" onClick="return aff_canal(3);"><img id="mgc_cb_wol_off" src="$stylevar[imgdir_misc]/mgc_chatbox/mgc_cb_online_nosel.gif" width="20px" height="20px" alt="" title="$vbphrase[mgc_cb_canal_wol]" border="0" /></a>
</div>
</if>
</td>
</if>
<td width="100%" colspan="2">
<div style="width:100%; height: {$height}px;overflow-y: auto;border: none;" id="chats"> $vbphrase[mgc_cb_loading] </div>
</td>
</tr>
</table>
</td>
</tr>
<if condition="$vboptions[mgc_cb_editor_position] == 1">
$mgc_cb_editor
</if>
</tbody>
<!-- Souhaite-on afficher des chats en mode repliأƒآƒأ‚آ© ? -->
<!-- Gestion du mode collapse non collapse pour afficher ou non la chatbox repliee -->
<if condition="($vbcollapse[collapseobj_mgc_chatbox] == '') || ($vbcollapse[collapseobj_mgc_chatbox] != '' && !$vboptions[mgc_cb_nbchats_fermee])">
<tbody id="chatbox_fermee" style="display:none;">
<else />
<tbody id="chatbox_fermee" style="">
</if>
<tr class="alt2">
<td colspan="2">
<div id="chats_derniers">
</div>
</td>
</tr>
</tbody>
</table>
<!-- Chatbox en mode repliأƒآƒأ‚آ© dans le ****ie ? -->
<if condition="$vbcollapse[collapseobj_mgc_chatbox] == ''">
<script type="text/javascript">
chatbox_refresh('forced');
/* Problem with opera browser */
if (is_opera || is_saf || is_ns) {
fetch_object('chats').style.overflow = 'auto';
}
</script>
<else />
<if condition="$vboptions[mgc_cb_nbchats_fermee]">
<script type="text/javascript">
chatbox_get_derniers_msg();
</script>
</if>
</if>
<if condition="$can_use_team">
<script type="text/javascript">
check_team_msg();
</script>
</if>
<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/bsl.gif" border="0"></td></tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif" border="0"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->
القالب موجود في المرفقات
مثال على القالب بعد التأطير
تحياتي
مواقع النشر (المفضلة)