<?xml version="1.0" encoding="ISO-8859-1"?>

<style name="المودة 2008 الإصدار الحادي عشر" vbversion="3.7.2" product="vbulletin" type="custom">
	<templategroup name="CSS Special Templates">
		<template name=".alt1, .alt1Active" templatetype="css" date="1218599316" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:7:"#FBF1EC";s:5:"color";s:7:"#000000";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:292:"border-left: 1px solid #BEA898; 
border-top: 1px solid #BEA898; 
border-right: 1px solid #640000; 
border-bottom: 1px solid #640000;
background-position: top right; 
background-repeat: repeat-x; 
background-image: url(mwa2008/mwa011/mwacol1/bakalt1.gif); 
background-attachment:scroll;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#8C0505";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#8C0505";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#000000";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".alt2, .alt2Active" templatetype="css" date="1218599316" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:7:"#F6ECE7";s:5:"color";s:7:"#000000";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:292:"border-left: 1px solid #BEA898; 
border-top: 1px solid #BEA898; 
border-right: 1px solid #640000; 
border-bottom: 1px solid #640000;
background-position: top right; 
background-repeat: repeat-x; 
background-image: url(mwa2008/mwa011/mwacol1/bakalt2.gif); 
background-attachment:scroll;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#8C0505";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#8C0505";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#000000";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".alt3" templatetype="css" date="1067012043" username="Kier" version=""><![CDATA[a:7:{s:10:"background";s:7:"#D5D8E5";s:5:"color";s:7:"#000000";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".button" templatetype="css" date="1218599316" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:50:"transparent url(mwa2008/mwa011/mwacol1/bakbut.gif)";s:5:"color";s:7:"#866956";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:3:"8pt";s:6:"family";s:20:"Microsoft Sans Serif";}s:5:"EXTRA";s:189:"height: 23px;  text-align: center;  
cursor: hand; 
border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #640000; 
border-bottom: 1px solid #640000;";}]]></template>
		<template name=".fjdpth0" templatetype="css" date="1218385714" username="ابو راشد" version=""><![CDATA[a:2:{s:10:"background";s:7:"#FBF1EC";s:5:"color";s:7:"#8C0505";}]]></template>
		<template name=".fjdpth1" templatetype="css" date="1218385714" username="ابو راشد" version=""><![CDATA[a:2:{s:10:"background";s:7:"#FBF1EC";s:5:"color";s:7:"#8C0505";}]]></template>
		<template name=".fjdpth2" templatetype="css" date="1218385714" username="ابو راشد" version=""><![CDATA[a:2:{s:10:"background";s:7:"#FBF1EC";s:5:"color";s:7:"#8C0505";}]]></template>
		<template name=".fjdpth3" templatetype="css" date="1218385714" username="ابو راشد" version=""><![CDATA[a:2:{s:10:"background";s:7:"#FBF1EC";s:5:"color";s:7:"#8C0505";}]]></template>
		<template name=".fjdpth4" templatetype="css" date="1218385714" username="ابو راشد" version=""><![CDATA[a:2:{s:10:"background";s:7:"#FBF1EC";s:5:"color";s:7:"#8C0505";}]]></template>
		<template name=".fjsel" templatetype="css" date="1218385714" username="ابو راشد" version=""><![CDATA[a:2:{s:10:"background";s:7:"#FBF1EC";s:5:"color";s:7:"#8C0505";}]]></template>
		<template name=".highlight" templatetype="css" date="1211345111" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:0:"";s:5:"color";s:7:"#A81900";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"12pt";s:6:"family";s:5:"Arial";}s:5:"EXTRA";s:0:"";}]]></template>
		<template name=".inlinemod" templatetype="css" date="1218599316" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:53:"transparent url(mwa2008/mwa011/mwacol1/bakinline.gif)";s:5:"color";s:7:"#000000";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".navbar" templatetype="css" date="1218385714" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:0:"";s:5:"color";s:7:"#8C0505";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".page" templatetype="css" date="1218466637" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:11:"transparent";s:5:"color";s:7:"#8C0505";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".panel" templatetype="css" date="1218599316" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:76:"transparent url(mwa2008/mwa011/mwacol1/gradient_panel.gif) repeat-x top left";s:5:"color";s:7:"#8C0505";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"12pt";s:6:"family";s:5:"Arial";}s:5:"EXTRA";s:171:"padding: 10px;
border: 2px inset;
border-left: 1px solid #8C0505; 
border-top: 1px solid #8C0505; 
border-right: 1px solid #FFFFFF; 
border-bottom: 1px solid #FFFFFF;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".panelsurround" templatetype="css" date="1218466637" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:11:"transparent";s:5:"color";s:7:"#8C0505";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"12pt";s:6:"family";s:5:"Arial";}s:5:"EXTRA";s:26:"border: 1px solid #8C0505;";}]]></template>
		<template name=".smallfont" templatetype="css" date="1211344738" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:3:"8pt";s:6:"family";s:20:"Microsoft Sans Serif";}s:5:"EXTRA";s:0:"";}]]></template>
		<template name=".tborder" templatetype="css" date="1218599316" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:50:"#FFFAF5 url(mwa2008/mwa011/mwacol1/baktborder.gif)";s:5:"color";s:7:"#000000";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:135:"border-left: 1px solid #640000; 
border-top: 1px solid #640000; 
border-right: 1px solid #640000; 
border-bottom: 1px solid #640000;";}]]></template>
		<template name=".tcat" templatetype="css" date="1218599316" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:52:"transparent url(mwa2008/mwa011/mwacol1/bakthead.gif)";s:5:"color";s:7:"#866956";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:135:"border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #640000; 
border-bottom: 1px solid #640000;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#866956";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#866956";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#D5BCAA";s:15:"text-decoration";s:4:"none";}}]]></template>
		<template name=".tfoot" templatetype="css" date="1218599316" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:52:"transparent url(mwa2008/mwa011/mwacol1/bakthead.gif)";s:5:"color";s:7:"#866956";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:135:"border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #640000; 
border-bottom: 1px solid #640000;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#866956";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#866956";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#D5BCAA";s:15:"text-decoration";s:4:"none";}}]]></template>
		<template name=".thead" templatetype="css" date="1218599316" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:52:"transparent url(mwa2008/mwa011/mwacol1/bakthead.gif)";s:5:"color";s:7:"#866956";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:135:"border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #640000; 
border-bottom: 1px solid #640000;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#866956";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#866956";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#D5BCAA";s:15:"text-decoration";s:4:"none";}}]]></template>
		<template name=".time" templatetype="css" date="1218385714" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:0:"";s:5:"color";s:7:"#CC0000";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";}]]></template>
		<template name=".vbmenu_control" templatetype="css" date="1218599316" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:52:"transparent url(mwa2008/mwa011/mwacol1/bakthead.gif)";s:5:"color";s:7:"#866956";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:184:"padding: 3px 6px 3px 6px;
white-space: nowrap;
border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #640000; 
border-bottom: 1px solid #640000;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#866956";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#866956";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#D5BCAA";s:15:"text-decoration";s:4:"none";}}]]></template>
		<template name=".vbmenu_hilite" templatetype="css" date="1218415152" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:7:"#F4E4DA";s:5:"color";s:7:"#8C0505";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:3:"8pt";s:6:"family";s:20:"Microsoft Sans Serif";}s:5:"EXTRA";s:135:"border-left: 1px solid #BEA898; 
border-top: 1px solid #BEA898; 
border-right: 1px solid #640000; 
border-bottom: 1px solid #640000;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".vbmenu_option" templatetype="css" date="1218599316" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:7:"#FBF1EC";s:5:"color";s:7:"#8C0505";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:3:"8pt";s:6:"family";s:20:"Microsoft Sans Serif";}s:5:"EXTRA";s:292:"border-left: 1px solid #B3B3B3; 
border-top: 1px solid #B3B3B3; 
border-right: 1px solid #676767; 
border-bottom: 1px solid #676767;
background-position: top right; 
background-repeat: repeat-x; 
background-image: url(mwa2008/mwa011/mwacol1/bakalt1.gif); 
background-attachment:scroll;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#8C0505";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#8C0505";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#CC0000";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".vbmenu_popup" templatetype="css" date="1218467081" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:7:"#FBF1EC";s:5:"color";s:7:"#8C0505";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:3:"8pt";s:6:"family";s:20:"Microsoft Sans Serif";}s:5:"EXTRA";s:0:"";}]]></template>
		<template name=".wysiwyg" templatetype="css" date="1218590114" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:11:"transparent";s:5:"color";s:7:"#000000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"12pt";s:6:"family";s:5:"Arial";}s:5:"EXTRA";s:268:"scrollbar-3dlight-color:#DAC1AF;
scrollbar-darkshadow-color:#FFF7F3;
scrollbar-shadow-color:#DAC1AF;
scrollbar-highlight-color:#FFF7F3;
scrollbar-face-color: #DAC1AF;
scrollbar-base-color: #DAC1AF;
scrollbar-arrow-color: #FFF7F3;
scrollbar-track-color #FFF7F3; ";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name="body" templatetype="css" date="1218554954" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:7:"#FDF2ED";s:5:"color";s:7:"#000000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:39:"margin: 0px 0px 0px 0px;
padding: 0px;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#8C0505";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#8C0505";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#000000";s:15:"text-decoration";s:4:"none";}}]]></template>
		<template name="EXTRA" templatetype="css" date="1218466637" username="ابو راشد" version=""><![CDATA[a:1:{s:3:"all";s:1345:"/* ***** styling for 'big' usernames on postbit etc. ***** */
.bigusername { font: bold 16pt Arial; }

/* ***** small padding on 'thead' elements ***** */
td.thead, th.thead, div.thead { padding: 4px; }

/* ***** basic styles for multi-page nav elements */
.pagenav a { text-decoration: none; }
.pagenav td { padding: 2px 4px 2px 4px; }

/* ***** de-emphasized text */
.shade, a.shade:link, a.shade:visited { color: #00517E; text-decoration: none; }
a.shade:active, a.shade:hover { color: #23A8DB; text-decoration: underline; }
.tcat .shade, .thead .shade, .tfoot .shade { color: #F0F3F7; }

/* ***** define margin and font-size for elements inside panels ***** */
.fieldset { margin-bottom: 6px; border: 1px solid #8C0505;}

/* ***** don't change the following ***** */
form { margin: 0px; }
label { cursor: default; }
.normal { font-weight: bold; }
.inlineimg { vertical-align: middle; }
.underline { text-decoration: underline; }
.vbmenu_hilite * { cursor: pointer; }

/* auto-clearing of floats */
.floatcontainer:after, .block_row:after { content:"."; display:block; height:0; clear:both; visibility:hidden; }
.floatcontainer, .block_row { display:inline-block; }
/* IE-mac hide \*/
* html .floatcontainer, * html .block_row { height:1%; }
.floatcontainer, .block_row { display:block; }
/* end IE-mac hide */";}]]></template>
		<template name="EXTRA2" templatetype="css" date="1218599316" username="ابو راشد" version=""><![CDATA[a:1:{s:3:"all";s:2990:"html
{
scrollbar-3dlight-color:#DAC1AF;
scrollbar-darkshadow-color:#FFF7F3;
scrollbar-shadow-color:#DAC1AF;
scrollbar-highlight-color:#FFF7F3;
scrollbar-face-color: #DAC1AF;
scrollbar-base-color: #DAC1AF;
scrollbar-arrow-color: #FFF7F3;
scrollbar-track-color #FFF7F3; 
}

.mwapost {
font-family:Microsoft Sans Serif;
font-size:8pt;
font-weight: normal;
vertical-align:middle;
letter-spacing:0;
}

.alt3
{
	background: #FBF1EC;
	color: #8C0505;
	border-left: 1px solid #B3B3B3; 
	border-top: 1px solid #B3B3B3; 
	border-right: 1px solid #676767; 
	border-bottom: 1px solid #676767;
	background-image: url(mwa2008/mwa011/mwacol1/bakalt5.gif); 
	background-position: top right; 
	background-repeat: repeat-x; 
	background-attachment:scroll;
}

.alt4
{
	color: #2F5A6D;
	border: 0px solid #4E798C;
         background-image: url(mwa2008/mwa011/mwacol1/posta.gif); 
         background-position: top right; 
         background-repeat: repeat-y; 
         background-attachment:scroll; 
}

.alt5, .alt5Active
{
	background: #FBF1EC;
	color: #8C0505;
	border-left: 1px solid #B3B3B3; 
	border-top: 1px solid #B3B3B3; 
	border-right: 1px solid #676767; 
	border-bottom: 1px solid #676767;
	background-image: url(mwa2008/mwa011/mwacol1/bakalt5.gif); 
	background-position: top right; 
	background-repeat: repeat-x; 
	background-attachment:scroll;
}

.thead1
{
	background: transparent url(mwa2008/mwa011/mwacol1/bakthead1.gif);
	color: #8C0505;
	font: bold 8pt Tahoma;
	border-left: 1px solid #FFFFFF; 
	border-top: 1px solid #FFFFFF; 
	border-right: 1px solid #8C0505; 
	border-bottom: 1px solid #8C0505;
}

.hright
{
	background: transparent url(mwa2008/mwa011/mwacol1/hright.gif);
}

.hcenter
{
	background: transparent url(mwa2008/mwa011/mwacol1/hcenter.gif);
}

.hleft
{
	background: transparent url(mwa2008/mwa011/mwacol1/hleft.gif);
}

.bright
{
	background: transparent url(mwa2008/mwa011/mwacol1/bright.gif);
}

.bcenter
{
	background: transparent url(mwa2008/mwa011/mwacol1/bcenter.gif);
}

.bleft
{
	background: transparent url(mwa2008/mwa011/mwacol1/bleft.gif);
}

.page1 
{ 
background-position: top right; 
background-repeat: repeat-y; 
background-image: url(mwa2008/mwa011/mwacol1/sright.gif); 
background-attachment:scroll; 
} 

.page2 
{ 
background-position: top left; 
background-repeat: repeat-y; 
background-image: url(mwa2008/mwa011/mwacol1/sleft.gif); 
background-attachment:scroll; 
} 

.but1
{
	background: transparent url(mwa2008/mwa011/mwacol1/but1.gif);
}

.but2
{
	background: transparent url(mwa2008/mwa011/mwacol1/but2.gif);
}

.but3
{
	background: transparent url(mwa2008/mwa011/mwacol1/but3.gif);
}

.but4
{
	background: transparent url(mwa2008/mwa011/mwacol1/but4.gif);
}

.but5
{
	background: transparent url(mwa2008/mwa011/mwacol1/but5.gif);
}

.but6
{
	background: transparent url(mwa2008/mwa011/mwacol1/but6.gif);
}
";}]]></template>
		<template name="legend" templatetype="css" date="1218599316" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:52:"transparent url(mwa2008/mwa011/mwacol1/bakthead.gif)";s:5:"color";s:7:"#866956";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:3:"8pt";s:6:"family";s:20:"Microsoft Sans Serif";}s:5:"EXTRA";s:150:"padding: 3px;
border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #640000; 
border-bottom: 1px solid #640000;";}]]></template>
		<template name="select" templatetype="css" date="1218385714" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:7:"#FBF1EC";s:5:"color";s:7:"#8C0505";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:3:"8pt";s:6:"family";s:20:"Microsoft Sans Serif";}s:5:"EXTRA";s:0:"";}]]></template>
		<template name="td, th, p, li" templatetype="css" date="1212159584" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"12pt";s:6:"family";s:5:"Arial";}s:5:"EXTRA";s:0:"";}]]></template>
		<template name="td.inlinemod" templatetype="css" date="1204571668" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:49:"transparent url(mwa2008/mwa04/misc/bakinline.gif)";s:5:"color";s:7:"#c40142";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name="textarea, .bginput" templatetype="css" date="1218590114" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:11:"transparent";s:5:"color";s:7:"#000000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"12pt";s:6:"family";s:5:"Arial";}s:5:"EXTRA";s:0:"";}]]></template>
	</templategroup>
	<templategroup name="Replacement Var Special Templates">
		<template name="&lt;/b&gt;" templatetype="replacement" date="0" username="" version="" />
		<template name="&lt;/strong&gt;" templatetype="replacement" date="0" username="" version="" />
		<template name="&lt;b&gt;" templatetype="replacement" date="0" username="" version="" />
		<template name="&lt;strong&gt;" templatetype="replacement" date="0" username="" version="" />
	</templategroup>
	<templategroup name="StyleVar Special Templates">
		<template name="cellpadding" templatetype="stylevar" date="1207324831" username="ابو راشد" version=""><![CDATA[3]]></template>
		<template name="cellspacing" templatetype="stylevar" date="1218384197" username="ابو راشد" version=""><![CDATA[3]]></template>
		<template name="closedthreadimage" templatetype="stylevar" date="1063180778" username="Kier" version=""><![CDATA[images2/buttons/threadclosed.gif]]></template>
		<template name="codeblockwidth" templatetype="stylevar" date="1212753432" username="ابو راشد" version=""><![CDATA[550px]]></template>
		<template name="contenttype" templatetype="stylevar" date="1040219143" username="Kier" version=""><![CDATA[text/html; charset=ISO-8859-1]]></template>
		<template name="formspacer" templatetype="stylevar" date="1207324831" username="ابو راشد" version=""><![CDATA[3]]></template>
		<template name="formwidth" templatetype="stylevar" date="1180250640" username="ابو راشد" version=""><![CDATA[99%]]></template>
		<template name="formwidth_usercp" templatetype="stylevar" date="1180250640" username="ابو راشد" version=""><![CDATA[99%]]></template>
		<template name="htmldoctype" templatetype="stylevar" date="1169077434" username="ابو راشد" version=""><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">]]></template>
		<template name="htmlextrasfolder" templatetype="stylevar" date="1040219143" username="Kier" version=""><![CDATA[htmlextras]]></template>
		<template name="imagesfolder" templatetype="stylevar" date="1040219143" username="Kier" version=""><![CDATA[images]]></template>
		<template name="imgdir_button" templatetype="stylevar" date="1218599180" username="ابو راشد" version=""><![CDATA[mwa2008/mwa011/buttons]]></template>
		<template name="imgdir_editor" templatetype="stylevar" date="1218599180" username="ابو راشد" version=""><![CDATA[mwa2008/mwa011/editor]]></template>
		<template name="imgdir_misc" templatetype="stylevar" date="1218599180" username="ابو راشد" version=""><![CDATA[mwa2008/mwa011/misc]]></template>
		<template name="imgdir_rating" templatetype="stylevar" date="1218599180" username="ابو راشد" version=""><![CDATA[mwa2008/mwa011/rating]]></template>
		<template name="imgdir_statusicon" templatetype="stylevar" date="1218599180" username="ابو راشد" version=""><![CDATA[mwa2008/mwa011/statusicon]]></template>
		<template name="messagewidth" templatetype="stylevar" date="1180160684" username="ابو راشد" version=""><![CDATA[99%]]></template>
		<template name="messagewidth_usercp" templatetype="stylevar" date="1180250640" username="ابو راشد" version=""><![CDATA[99%]]></template>
		<template name="newreplyimage" templatetype="stylevar" date="1063180778" username="Kier" version=""><![CDATA[images2/buttons/reply.gif]]></template>
		<template name="newthreadimage" templatetype="stylevar" date="1063180778" username="Kier" version=""><![CDATA[images2/buttons/newthread.gif]]></template>
		<template name="outerborderwidth" templatetype="stylevar" date="1218556491" username="ابو راشد" version=""><![CDATA[20]]></template>
		<template name="outertablewidth" templatetype="stylevar" date="1206342484" username="ابو راشد" version=""><![CDATA[100%]]></template>
		<template name="spacersize" templatetype="stylevar" date="1218556491" username="ابو راشد" version=""><![CDATA[30]]></template>
		<template name="tablewidth" templatetype="stylevar" date="1040219143" username="Kier" version=""><![CDATA[100%]]></template>
		<template name="textareacols_ie4" templatetype="stylevar" date="1040219143" username="Kier" version=""><![CDATA[70]]></template>
		<template name="textareacols_ns4" templatetype="stylevar" date="1040219143" username="Kier" version=""><![CDATA[50]]></template>
		<template name="textareacols_ns6" templatetype="stylevar" date="1040392844" username="Kier" version=""><![CDATA[65]]></template>
	</templategroup>
	<templategroup name="vBadvanced CMPS">
		<template name="adv_portal_emailmake" templatetype="template" date="1218419120" username="ابو راشد" version="3.7.2"><![CDATA[<!-- بداية ايقونه بدون الحقوق -->
<tr>
<td class="alt1" align="middle">
<a href="#" onClick="javascript:window.open('http://scripts.internetplus.biz/index1.php?url=', 
  'list', 'width=400,height=210')">عمل صورة بدون حقوق</a>
<a href="#" onClick="javascript:window.open('http://scripts.internetplus.biz/index1.php?url=', 
  'list', 'width=400,height=210')"><img border="0" src="http://q2q4.net.googlepages.com/hotmail1.bmp" width="180" height="21"></a></td>
</tr>
<!-- نهاية ايقونه بدون الحقوق -->

<!-- بداية ايقونه مع حقوق -->
<tr>
<td class="alt1" align="middle">
<a href="#" onClick="javascript:window.open('http://scripts.internetplus.biz/index1.php?url=mwadah.com', 
  'list', 'width=400,height=210')">عمل صورة مع الحقوق</a>
<a href="#" onClick="javascript:window.open('http://scripts.internetplus.biz/index1.php?url=mwadah.com', 
  'list', 'width=400,height=210')">
<img border="0" src="http://q2q4.net.googlepages.com/hotmail.bmp" width="180" height="31"></a></td>
</tr>
<!-- نهاية ايقونه مع حقوق -->									
<tr><td class="thead" align="center">
<a href="http://q2q4.com">تنفيذ : الزلزال</a>
</td></tr>]]></template>
		<template name="adv_portal_flashiat" templatetype="template" date="1218419120" username="ابو راشد" version="3.7.2"><![CDATA[<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.ashefaa.com/files/flash/farshy.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24439.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.ashefaa.com/files/flash/SH-1.SWF&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24440.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/ssalat.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24441.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/ayndark.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24442.imgcache" border="0"></a></td></tr>
 
<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/7gabe.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24443.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/Tawba.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24444.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/qwafel.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24445.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/Islamway_Fajr.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24446.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/almoot.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24447.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/andatokom.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24448.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/7/ashraqat.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24449.imgcache" border="0"></a></td></tr>
 
<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/7/iqraa.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24450.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/7jab2.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24451.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/7/Afaag1.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24452.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/7/sanureehem.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24453.imgcache" border="0"></a></td></tr>]]></template>
		<template name="adv_portal_footer" templatetype="template" date="1218419120" username="ابو راشد" version="3.7.2"><![CDATA[<!-- Do NOT remove this copyright notice. Doing so is a violation of your user agreement! -->
]]></template>
		<template name="adv_portal_forums" templatetype="template" date="1218419120" username="ابو راشد" version="3.7.2"><![CDATA[<tr><td class="alt1" align="right">
$HTMLFORUMS
</td></tr>]]></template>
		<template name="adv_portal_groups" templatetype="template" date="1218419120" username="ابو راشد" version="3.7.2"><![CDATA[$showgroupsbit

<tr><td class="thead" align="center">
<a href=$vboptions[bburl]/group.php?>عرض جميع المجموعات</a>
</td></tr>]]></template>
		<template name="adv_portal_groups_bit" templatetype="template" date="1218419120" username="ابو راشد" version="3.7.2"><![CDATA[<tr><td class="alt1">
<a href=$vboptions[bburl]/group.php?groupid=$showgroup[groupid]>$showgroup[name]</a><br />
عدد الأعضاء : $showgroup[members]<br />
عدد الصور : $showgroup[picturecount]
</td></tr>]]></template>
		<template name="adv_portal_latestthreads_head" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<tr><td class="thead" align="right">
للمزيد من التفاصيل ضع مؤشر الفاره أو الماوس على أي موضوع
</td>

<td class="thead" width="15">$vbphrase[replies]</td>
<td class="thead" width="15">$vbphrase[views]</td>

<if condition="$mod_options['portal_threads_showforum']">
<td align="center" width="50" class="thead">$vbphrase[forum]</td></if>

</tr>]]></template>
		<template name="adv_portal_latesttopicbits" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<if condition="$mods['modcol'] == 1">

	<tr><td class="alt1">

			<if condition="$thread['rating']">
				<span style="float:$stylevar[right]"><img alt="" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" title="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span>
			</if>

		<if condition="$mod_options['portal_threads_showicon']">
			<if condition="$show['threadicon']"><img alt="" border="0" src="$thread[threadiconpath]" title="$thread[threadicontitle]" align="absmiddle" /></if>
		</if>

<if condition="$thread['subscribed']">
<img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" /></if>

<a href="$vboptions[bburl]/showthread.php?t=$thread[threadid]" title="" onmouseover="writetxt('الكاتب : $thread[postusername] 
<if condition="$mod_options['portal_threads_showdate']">بتاريخ $thread[postdate] $thread[posttime]</if><br><br>

<if condition="$thread[preview]">
من محتويات الموضوع : $thread[preview]</if>
')" onmouseout="writetxt(0)">$thread[title]</a>

<if condition="$show['lastpost']">
<div class="smallfont" style="text-align:right"><br>
الكاتب : <a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$thread[postuserid]">$thread[postusername] </a> 
 آخر مشاركة : <a href="$vboptions[bburl]/member.php?$session[sessionurl]find=lastposter&amp;t=$thread[threadid]">$thread[lastposter]</a>

في $thread[lastpostdate] <span class="time">$thread[lastposttime]</span>
<a target="_blank" href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/lastpost.gif" title="$vbphrase[go_to_last_post]" align="absmiddle"/></a>
</div></if>

</td>

<td align="center" class="<if condition="$show['lastpost']">alt2<else />alt2</if>"><span class="smallfont">$thread[replycount]</span></td>

<td align="center" class="<if condition="$show['lastpost']">alt1<else />alt1</if>"><span class="smallfont">$thread[views]</span></td>

<if condition="$mod_options['portal_threads_showforum']">
<td width="50" class="<if condition="$show['lastpost']">alt2<else />alt2</if>"><span class="smallfont"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></span></td></if>

</tr>

<else />

	<tr>
		<td class="alt1">
			<if condition="$show['threadicon']">
				<img alt="" src="$thread[threadiconpath]" border="0" title="$thread[threadicontitle]" />
			</if>
			<if condition="$thread['subscribed']">
				<img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" />
			</if>
			<span class="smallfont"><a href="$vboptions[bburl]/showthread.php?t=$thread[threadid]" title="<if condition="$thread[preview]">$thread[preview]

</if>$vbphrase[by] $thread[postusername] <if condition="$mod_options['portal_threads_showdate']">$thread[postdate] $thread[posttime]</if>"><if condition="$show['gotonewpost']">$thread[title]<else />$thread[title]</if></a></span>

			<if condition="$thread['rating']">
				<div style="margin-top:4px"><img alt="" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" title="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></div>
			</if>
			<if condition="$show['lastpost']">
				<div class="smallfont" style="margin-top:4px"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/lastpost.gif" title="$vbphrase[go_to_last_post]"  align="absmiddle"/></a> $vbphrase[last_post_by] <a href="$vboptions[bburl]/member.php?find=lastposter&amp;t=$thread[threadid]">$thread[lastposter]</a></div>
				<div class="smallfont">$thread[lastpostdate] <span class="time">$thread[lastposttime]</span></div>
			</if>

	<if condition="$mod_options['portal_threads_showforum']">
				<div class="smallfont"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></div>
			</if>
		<div class="smallfont">$thread[replycount] $vbphrase[replies], $thread[views] $vbphrase[views]</div></td>
	</tr>
</if>
]]></template>
		<template name="adv_portal_module_wrapper" templatetype="template" date="1218419213" username="ابو راشد" version="3.7.2"><![CDATA[$mods[formcode]

<div style="padding-bottom:$vba_style[portal_vspace]px">

	<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
		<thead>
			<tr>
				<td class="tcat" align="center" colspan="$mods[colspan]">
				<if condition="$vba_style['portal_collapsemods']">
					<a href="#top" onclick="return toggle_collapse('module_$mods[collapse]')" style="float:$stylevar[right]"><img alt="" border="0" id="collapseimg_module_$mods[collapse]" src="$stylevar[imgdir_button]/collapse_tcat$modimgcollapse.gif" /></a>
				</if>
				<span class="smallfont">$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></span></td>
			</tr>
		</thead>
		<tbody id="collapseobj_module_$mods[collapse]" style="$modcollapse">
			<if condition="$show['tablerow']">
				<tr>
					<td class="$bgclass">
						$modulehtml
					</td>
				</tr>
			<else />
				$modulehtml
			</if>
		</tbody>
	</table>

</div>

<if condition="$mods['formcode']"></form></if>]]></template>
		<template name="adv_portal_mostpost" templatetype="template" date="1218419120" username="ابو راشد" version="3.7.2"><![CDATA[<!-- بداية الأعضاء الأكثر مشاركة-->
<tr>
<td class="thead" width="25%" align="center">آخر 24 ساعة</td>
<td class="thead" width="25%" align="center">آخر 7 أيام</td>
<td class="thead" width="25%" align="center">آخر 28 يوم</td>
<td class="thead" width="25%" align="center">منذ بدء المنتدى</td>
</tr>
$topposters
<!-- نهاية الأعضاء الأكثر مشاركة-->
]]></template>
		<template name="adv_portal_navigation" templatetype="template" date="1219932261" username="ابو راشد" version="3.7.2"><![CDATA[$navigationbits
$customnavigationbits

<tr><td class="alt1">
<span onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('$vboptions[bburl]');">
<img src="$stylevar[imgdir_misc]/menu.gif" align="absmiddle" border="0">
<a href="javascript:location.reload()">اجعلنا الرئيسية</a></span>
</td></tr>

<tr><td class="alt1">
<img src="$stylevar[imgdir_misc]/menu.gif" align="absmiddle" border="0">
<a href="javascript:window.external.AddFavorite('$vboptions[bburl]', '$vboptions[bbtitle]')">
اضفنا في مفضلتك</a>
</td></tr>
]]></template>
		<template name="adv_portal_navigationbits" templatetype="template" date="1218419120" username="ابو راشد" version="3.7.2"><![CDATA[<tr><td class="alt1">
<div class="smallfont">$navmark <if condition="$link"><a href="$link">$title</a><else />$title</if></div></td></tr>]]></template>
		<template name="adv_portal_newsbits" templatetype="template" date="1218419120" username="ابو راشد" version="3.7.2"><![CDATA[<if condition="!$mod_options['portal_news_legacy']">
	<tr>
		<td class="thead"><if condition="$mod_options['portal_news_showicon']">$vba_style[portal_blockbullet]</if> $news[prefix] <a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$news[threadid]">$news[title]</a></td>
	</tr>
</if>
<tr>
	<td class="<if condition="$mod_options['portal_news_legacy']">thead<else />alt2</if>">
		<if condition="($mod_options['portal_news_showrating'] AND $news['rating']) OR ($news['subscribed'] AND $mod_options['portal_news_showsubscribed'])">
			<span style="float:$stylevar[right]">
				<if condition="$mod_options['portal_news_showrating'] AND $news['rating']">
					<img alt="" src="$stylevar[imgdir_rating]/rating_$news[rating].gif" title="<phrase 1="$news[votenum]" 2="$news[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" />
				</if>

				<if condition="$news['subscribed'] AND $mod_options['portal_news_showsubscribed']">
					<img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" />
				</if>
			</span>
		</if>
		$news[dateposted] - <phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$news[postuserid]" 2="$news[postusername]">$vbphrase[by_x]</phrase>
	</td>
</tr>
<tr>
	<td align="center" class="alt1" valign="top">
		<if condition="$show['paperclip']">
			<span style="float:$stylevar[right]">
				<a href="#" onclick="vba_attach_win($news[threadid]); return false"><img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" border="0" title="<phrase 1="$news[attach]">$vbphrase[x_attachments]</phrase>" alt="" /></a>
			</span>
		</if>
		<if condition="$news['avatarpath']">
			<img align="$stylevar[left]" style="padding:6px" alt="" border="0" src="$news[avatarpath]" title="$news[postusername]'s $vbphrase[avatar]" />
		</if>
<font face="Arial" size="4"><b>
		$news[message]
</b></font>
		<if condition="$show['signature']">
		<div>__________________<br />
		$news[signature]</div>
		</if>

		</td>
	</tr>

	<if condition="$news['attachment']">
		<tr class="alt1">
			<td>
				<fieldset class="fieldset">
				<legend>Attached Files</legend>
				<div style="padding:$stylevar[formspacer]px">
					$news[attachment]
				</div>
				</fieldset>
			</td>
		</tr>
	</if>

	<tr class="alt2" valign="middle">
	<td class="alt2" valign="middle">
		<span style="float:right">
		<if condition="$show['editbutton']">
			<a href="$vboptions[bburl]/editpost.php?$session[sessionurl]do=editpost&amp;p=$news[postid]"><img alt="$vbphrase[edit_this_post]" border="0" src="$stylevar[imgdir_button]/edit.gif" /></a>
		</if>

		<if condition="$show['replybutton']">
			<a href="$vboptions[bburl]/newreply.php?$session[sessionurl]do=newreply&amp;t=$news[threadid]"><img alt="$vbphrase[reply_to_this_post]" border="0" src="$stylevar[imgdir_button]/reply_small.gif" /></a>
		</if>

		<if condition="$mod_options['portal_news_showsendfriend']">
			<a href="$vboptions[bburl]/sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$news[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/sendtofriend.gif" title="$vbphrase[send_to_friend]" /></a>
		</if>

		<if condition="$mod_options['portal_news_showprintable']">
			<a href="$vboptions[bburl]/printthread.php?$session[sessionurl]t=$news[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/printer.gif" title="$vbphrase[show_printable_version]" /></a>
		</if>
		</span>

		<span class="smallfont">
		<if condition="$mod_options['portal_news_allowreplies']">$news[replycount] <if condition="$news['reply_noformat'] == 1">$vbphrase[reply]<else />$vbphrase[replies]</if></if><if condition="$mod_options['portal_news_showviews'] AND $mod_options['portal_news_allowreplies']"> | </if><if condition="$mod_options['portal_news_showviews']">$news[views] $vbphrase[views]</if></span>
	</td>
</tr>]]></template>
		<template name="adv_portal_news_archivebits" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<if condition="$mods['modcol'] == 1">
<tr><td class="alt1" align="$stylevar[left]">
<if condition="$mod_options['portal_news_showicon']">
<if condition="$show['threadicon']"><img alt="" border="0" src="$news[threadiconpath]" title="$news[threadicontitle]" align="absmiddle"/></if></if>

			<if condition="$news['subscribed']">
				<span style="float:$stylevar[right]"><img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" /></span>
			</if>

<a href="$vboptions[bburl]/showthread.php?t=$news[threadid]" title="" onmouseover="writetxt('الكاتب $news[postusername]
في $news[postdate] $news[posttime]

<br><br>من محتويات الموضوع : $news[preview]
')" onmouseout="writetxt(0)">$news[title]</a>

<if condition="$news['rating']">
<span style="float:$stylevar[right]"><img alt="" src="$stylevar[imgdir_rating]/rating_$news[rating].gif" title="<phrase 1="$news[votenum]" 2="$news[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span>
				</if>
			</div>

<if condition="$show['lastpost']">
<div class="smallfont" style="text-align:right">
الكاتب <a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$news[postuserid]">$news[postusername]</a> 
 آخر مشاركة : <a href="$vboptions[bburl]/member.php?$session[sessionurl]find=lastposter&amp;t=$news[threadid]">$news[lastposter]</a>

في $news[lastpostdate] <span class="time">$news[lastposttime]</span>

<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;t=$news[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/lastpost.gif" title="$vbphrase[go_to_last_post]"  align="absmiddle"/></a></div></if>

</td>

		<td align="center" class="<if condition="$show['lastpost']">alt2<else />alt2</if>"><span class="smallfont">$news[replycount]</span></td>
		<td align="center" class="<if condition="$show['lastpost']">alt1<else />alt1</if>"><span class="smallfont">$news[views]</span></td>
		<if condition="$mod_options['portal_newsarchive_showforum']">
			<td class="<if condition="$show['lastpost']">alt2<else />alt2</if>"><span class="smallfont"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$news[threadid]">$news[forumtitle]</a></span></td>
		</if>
	</tr>

<else />

	<tr>
		<td class="alt1">
			<if condition="$news[threadiconpath]">
				<img alt="" src="$news[threadiconpath]" border="0" title="$news[threadicontitle]" />
			</if>
			<if condition="$news['subscribed']">
				<img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" />
			</if>
			<span class="smallfont"><a href="$vboptions[bburl]/showthread.php?t=$news[threadid]" title="<if condition="$news[preview]">$news[preview]

</if>$vbphrase[by] $news[postusername] $news[postdate] $news[posttime]">$news[title]</a></span>
			<if condition="$show['lastpost']">
				<div class="smallfont">$vbphrase[last_post_by] <a href="$vboptions[bburl]/member.php?find=lastposter&amp;t=$news[threadid]">$news[lastposter]</a></div>
				<div class="smallfont">$news[lastpostdate] <span class="time">$news[lastposttime]</span></div>
			</if>
			<if condition="$mod_options['portal_newsarchive_showforum']">
				<div class="smallfont"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$news[threadid]">$news[forumtitle]</a></div>
			</if>
			<div class="smallfont">$news[replycount] $vbphrase[replies], $news[views] $vbphrase[views]</div>
		</td>
	</tr>
</if>
]]></template>
		<template name="adv_portal_news_archive_head" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<tr>
	<td class="thead" width="100%">للمزيد من التفاصيل ضع مؤشر الفاره أو الماوس على أي موضوع </td>
	<td class="thead" width="15">$vbphrase[replies]</td>
	<td class="thead" width="15">$vbphrase[views]</td>
	<if condition="$mod_options['portal_newsarchive_showforum']">
		<td align="center" class="thead" width="10%">$vbphrase[forum]</td>
	</if>
</tr>]]></template>
		<template name="adv_portal_poll" templatetype="template" date="1218419120" username="ابو راشد" version="3.7.2"><![CDATA[<tr>
	<td class="alt1">$pollmod[question]</td>
</tr>

$pollbits

<tr>
	<td align="center" class="$altbgclass">
		<if condition="$pollmod['showresults']">
			<span class="smallfont">$vbphrase[total_votes]: $pollmod[nvotes]<br />$pollmod[message].</span>
		<else />
			<input type="hidden" name="s" value="$session[dbsessionhash]" />
			<input type="hidden" name="do" value="pollvote" />
			<input type="hidden" name="pollid" value="$pollmod[pollid]" />
			<input type="submit" class="button" value="$vbphrase[vote_now]" />
			<if condition="$pollmod['public'] AND $bbuserinfo['userid']">
				<div class="smallfont">$vbphrase[public_poll_users_see_choices]</div>
			</if>
		</if>
	</td>
</tr>
<tr>
	<td class="$bgclass">
		<div class="smallfont">&raquo; <a href="$vboptions[bburl]/poll.php?$session[sessionurl]do=showresults&amp;pollid=$pollmod[pollid]">$vbphrase[view_poll_results]</a>
		<if condition="$mod_options['portal_poll_allowreplies']">
			<br />&raquo; <a href="$vboptions[bburl]/newreply.php?$session[sessionurl]t=$pollmod[threadid]">$vbphrase[comment_on_this_poll]</a>
			<br />&raquo; <a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$pollmod[threadid]">$vbphrase[this_poll_has] $pollmod[replycount] <if condition="$pollmod['replycount'] == 1">$vbphrase[reply]<else />$vbphrase[replies]</if></a>
		</if>
		<if condition="$show['editpoll']">
			<br />&raquo; <a href="$vboptions[bburl]/poll.php?$session[sessionurl]do=polledit&amp;pollid=$pollmod[pollid]">$vbphrase[edit_poll]</a>
		</if>
		</div>
	</td>
</tr>]]></template>
		<template name="adv_portal_randgroups" templatetype="template" date="1218419120" username="ابو راشد" version="3.7.2"><![CDATA[$showrandgroupsbit

<tr><td class="thead" align="center">
<a href=$vboptions[bburl]/group.php?>عرض جميع المجموعات</a>
</td></tr>]]></template>
		<template name="adv_portal_randgroups_bit" templatetype="template" date="1218419120" username="ابو راشد" version="3.7.2"><![CDATA[<tr><td class="alt1">
<a href=$vboptions[bburl]/group.php?groupid=$showrandgroup[groupid]>$showrandgroup[name]</a><br />
عدد الأعضاء : $showrandgroup[members]<br />
عدد الصور : $showrandgroup[picturecount]
</td></tr>]]></template>
		<template name="adv_portal_recthreads_exp" templatetype="template" date="1218419120" username="ابو راشد" version="3.7.2"><![CDATA[<tr>
	<if condition="$mod_options['portal_threads_showicon']">
		<td class="alt2"><if condition="$show['threadicon']"><img alt="" border="0" src="$thread[threadiconpath]" title="$thread[threadicontitle]" /></if></td>
	</if>

	<td class="alt1">
		<if condition="$thread['subscribed'] OR $show['paperclip'] OR ($thread['sticky'] AND $mod_options['portal_threads_stickyicon'])">
		<span style="float:$stylevar[right]">
			<if condition="$thread['subscribed']">
				<img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" />
			</if>
			<if condition="$show['paperclip']">
				<img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" title="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" alt="" />
			</if>
			<if condition="$thread['sticky'] AND $mod_options['portal_threads_stickyicon']">
				<img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" title="$vbphrase[sticky_thread]" alt="" />
			</if>
		</span>
		</if>
		<if condition="$mod_options['portal_threads_newpostarrow'] AND $show['gotonewpost']">
			<a target="_blank" href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$thread[threadid]&amp;goto=newpost"><img alt="$vbphrase[go_to_first_new_post]" src="$stylevar[imgdir_button]/firstnew.gif" border="0" class="inlineimg" /></a>
		</if>
		<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$thread[threadid]" title="$thread[preview]"><if condition="$show['gotonewpost']">$thread[title]<else />$thread[title]</if></a>
		<if condition="$mod_options['portal_threads_multipage'] AND $show['pagenav']">
			<span class="smallfont">(<img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" border="0" alt="" /> $thread[pagenav]<if condition="$show[pagenavmore]">... <a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]">$vbphrase[last_page]</a></if>)</span>
		</if>
		<if condition="$thread['rating']">
			<span style="float:$stylevar[right]"><img alt="" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" title="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span>
		</if><br />
		<if condition="$mod_options['portal_threads_threadstarter']">
				<if condition="$thread[postuserid]">
					<font color="#8D0000">الكاتب : </font><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$thread[postuserid]">$thread[postusername]</a>
				<else />
					<font color="#8D0000">الكاتب : </font>$thread[postusername]
				</if>
		</if>

<if condition="$show['lastpost']">
<font color="#8D0000">آخر رد : </font>
<a href="$vboptions[bburl]/member.php?$session[sessionurl]find=lastposter&amp;t=$thread[threadid]">$thread[lastposter]</a>
<font color="#8D0000">في : </font>$thread[lastpostdate] $thread[lastposttime]
<a target="_blank" href="$vboptions[bburl]/showthread.php?$session[sessionurl]p=$thread[lastpostid]#post$thread[lastpostid]"><img alt="" border="0" src="$stylevar[imgdir_button]/lastpost.gif" title="$vbphrase[go_to_last_post]" /></a>
</if>

	</td>
	<if condition="$mod_options['portal_threads_replies']">
		<td align="center" class="alt2"><span class="smallfont">$thread[replycount]</span></td>
	</if>
	<if condition="$mod_options['portal_threads_views']">
		<td align="center" class="alt1"><span class="smallfont">$thread[views]</span></td>
	</if>
	<if condition="$mod_options['portal_threads_showforum']">
		<td class="alt2"><span class="smallfont"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></span></td>
	</if>
</tr>]]></template>
		<template name="adv_portal_recthreads_exp_head" templatetype="template" date="1218419120" username="ابو راشد" version="3.7.2"><![CDATA[<tr>
	<if condition="$mod_options['portal_threads_showicon']">
		<td class="thead" width="2%">&nbsp;</td>
	</if>
	<td class="thead" width="50%"><if condition="$mod_options['portal_threads_showrating']"><span style="float:$stylevar[right]">$vbphrase[rating]</span></if>$vbphrase[title_username_date]</td>
	<if condition="$mod_options['portal_threads_replies']">
		<td class="thead" width="2%">$vbphrase[replies]</td>
	</if>
	<if condition="$mod_options['portal_threads_views']">
		<td class="thead" width="2%">$vbphrase[views]</td>
	</if>
	<if condition="$mod_options['portal_threads_showforum']">
		<td align="center" class="thead" width="20%">$vbphrase[forum]</td>
	</if>
</tr>]]></template>
		<template name="adv_portal_recthreads_lean" templatetype="template" date="1218419120" username="ابو راشد" version="3.7.2"><![CDATA[<tr>
	<td class="$bgclass">
		<div class="smallfont">
			<if condition="$show['paperclip'] OR ($thread['sticky'] AND $mod_options['portal_threads_stickyicon'])">
				<span style="float:$stylevar[right]">
					<if condition="$show['paperclip']">
						<a href="#" onclick="vba_attach_win($thread[threadid]); return false"><img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" border="0" title="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" alt="" /></a>
					</if>
					<if condition="$thread['sticky'] AND $mod_options['portal_threads_stickyicon']">
						<img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" title="$vbphrase[sticky_thread]" alt="" />
					</if>
				</span>
			</if>

			<if condition="$show['threadicon']">
				<img class="inlineimg" src="$thread[threadiconpath]" title="$thread[threadicontitle]" border="0" alt="" />
			</if>
			<if condition="$thread['subscribed']">
				<img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" />
			</if>
			<if condition="$mod_options['portal_threads_newpostarrow'] AND $show['gotonewpost']">
				<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$thread[threadid]&amp;goto=newpost"><img alt="$vbphrase[go_to_first_new_post]" src="$stylevar[imgdir_button]/firstnew.gif" border="0" class="inlineimg" /></a>
			</if>
			$thread[prefix] <a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$thread[threadid]" title="<if condition="$thread[preview]">$thread[preview]</if>"><if condition="$show['gotonewpost']">$thread[title]<else />$thread[title]</if></a>
			<if condition="$mod_options['portal_threads_multipage'] AND $show['pagenav']">
				(<img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" border="0" alt="" /> $thread[pagenav]<if condition="$show[pagenavmore]">... <a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]">$vbphrase[last_page]</a></if>)
			</if>
			<if condition="$mod_options['portal_threads_showdate']">
				<div>$thread[postdate] <span class="time">$thread[posttime]</span></div>
			</if>
			<if condition="$thread['rating']">
				<span style="padding-top:$stylevar[cellpadding]px; float: $stylevar[right]"><img alt="" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" title="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span>
			</if>
			<if condition="$mod_options['portal_threads_threadstarter']">
	 			<div>
	 				<if condition="$thread[postuserid]">
						<phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$thread[postuserid]" 2="$thread[postusername]">$vbphrase[by_x]</phrase>
					<else />
						$vbphrase[by] $thread[postusername]
					</if>
				</div>
			</if>

			<if condition="$mod_options['portal_threads_showforum']">
				<div style="padding-top:$stylevar[cellpadding]px"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></div>
			</if>
			<if condition="$show['lastpost']">
				<div style="padding-top:$stylevar[cellpadding]px"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]p=$thread[lastpostid]#post$thread[lastpostid]"><img alt="" border="0" src="$stylevar[imgdir_button]/lastpost.gif" title="$vbphrase[go_to_last_post]" /></a> $vbphrase[last_post_by] <a href="$vboptions[bburl]/member.php?$session[sessionurl]find=lastposter&amp;t=$thread[threadid]">$thread[lastposter]</a></div>
				<div>$thread[lastpostdate] <span class="time">$thread[lastposttime]</span></div>
			</if>
			<if condition="$mod_options['portal_threads_replies'] OR $mod_options['portal_threads_views']">
				<div style="padding-top:$stylevar[cellpadding]px"><if condition="$mod_options['portal_threads_replies']">$thread[replycount] $vbphrase[replies]</if>$recthreads_comma <if condition="$mod_options['portal_threads_views']">$thread[views] $vbphrase[views]</if></div>
			</if>
		</div>
	</td>
</tr>]]></template>
		<template name="adv_portal_sohofweb" templatetype="template" date="1218419120" username="ابو راشد" version="3.7.2"><![CDATA[<tr><td class="alt1" id="sohofwebcont" align="right">
إختر الدولة :<br><br>

<li><a href="javascript:ajaxpage('modules/sohofweb/1.htm', 'sohofwebcont');">السعودية</a></li>
<li><a href="javascript:ajaxpage('modules/sohofweb/2.htm', 'sohofwebcont');">الكويت</a></li>
<li><a href="javascript:ajaxpage('modules/sohofweb/3.htm', 'sohofwebcont');">الإمارات</a></li>
<li><a href="javascript:ajaxpage('modules/sohofweb/4.htm', 'sohofwebcont');">البحرين</a></li>
<li><a href="javascript:ajaxpage('modules/sohofweb/5.htm', 'sohofwebcont');">قطر</a></li>
<li><a href="javascript:ajaxpage('modules/sohofweb/6.htm', 'sohofwebcont');">عمان</a></li><br><br>

صحف ومجلات سعودية :<br><br>

<li><a href='http://www.al-jazirah.com' target='_blank'>جريدة الجزيرة</a></li>
<li><a href='http://www.alriyadh.com' target='_blank'>جريدة الرياض</a></li>
<li><a href='http://www.alwatan.com.sa' target='_blank'>جريدة الوطن</a></li>
<li><a href='http://www.okaz.com.sa' target='_blank' >جريدة عكاظ</a></li>
<li><a href='http://www.almadinapress.com' target='_blank' >جريدة المدينة</a></li>
<li><a href='http://www.alyaum.com/' target='_blank' >جريدة اليوم</a></li>
<li><a href='http://www.asharqalawsat.com' target='_blank' >جريدة الشرق الأوسط</a></li>
<li><a href='http://www.albilad-daily.com' target='_blank' >جريدة البلاد السعودية</a></li>
<li><a href='http://www.aleqtisadiah.com' target='_blank' >جريدة الإقتصادية</a></li>
<li><a href='http://www.arriyadiyah.com' target='_blank' >جريدة الرياضية</a></li>
<li><a href='http://www.itijahat.com/' target='_blank' >جريدة اتجاهات</a></li>
<li><a href='http://www.al-ghaya.com' target='_blank' >جريدة الغاية</a></li><br><br>
<li><a href='http://www.yamamahmag.com' target='_blank' >مجلة اليمامة</a></li>
<li><a href='http://www.ecoworld-mag.com' target='_blank' >مجلة عالم الإقتصاد</a></li>
<li><a href='http://www.angelfire.com/mn/almoalem/' target='_blank' >مجلة المعلم</a></li>
<li><a href='http://www.ofouq.com' target='_blank' >مجلة أفق الثقافية</a></li>
<li><a href='http://www.makkahedu.gov.sa/tarjamat_1/ammabad.htm' target='_blank' >مجلة ترجمات</a></li>
<li><a href='http://www.arabicmagazine.com' target='_blank' >المجلة العربية</a></li>
<li><a href='http://www.almarefah.com' target='_blank' >مجلة المعرفة</a></li>
<li><a href='http://www.fawasel.net' target='_blank' >مجلة فواصل</a></li>
<li><a href='http://www.altahlya.com' target='_blank' >مجلة التحلية السعودية</a></li>
<li><a href='http://www.adumatu.com' target='_blank' >مجلة ادوماتو</a></li><br><br>
<li><a href='http://www.kulakhbar.com' target='_blank' >كل الاخبار</a></li>
</td></tr>

<tr><td class="thead" align="center">
<a target="_blank" href="http://www.mwadah.com">فكرة وتنفيذ المودة</a>
</td></tr>

<script type="text/javascript">

/***********************************************
* Dynamic Ajax Content- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var loadedobjects=""
var rootdomain="http://"+window.location.hostname

function ajaxpage(url, containerid){
var page_request = false
if (window.XMLHttpRequest) // if Mozilla, Safari etc
page_request = new XMLHttpRequest()
else if (window.ActiveXObject){ // if IE
try {
page_request = new ActiveXObject("Msxml2.XMLHTTP")
} 
catch (e){
try{
page_request = new ActiveXObject("Microsoft.XMLHTTP")
}
catch (e){}
}
}
else
return false
page_request.onreadystatechange=function(){
loadpage(page_request, containerid)
}
page_request.open('GET', url, true)
page_request.send(null)
}

function loadpage(page_request, containerid){
if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1))
document.getElementById(containerid).innerHTML=page_request.responseText
}

function loadobjs(){
if (!document.getElementById)
return
for (i=0; i<arguments.length; i++){
var file=arguments[i]
var fileref=""
if (loadedobjects.indexOf(file)==-1){ //Check to see if this object has not already been added to page before proceeding
if (file.indexOf(".js")!=-1){ //If object is a js file
fileref=document.createElement('script')
fileref.setAttribute("type","text/javascript");
fileref.setAttribute("src", file);
}
else if (file.indexOf(".css")!=-1){ //If object is a css file
fileref=document.createElement("link")
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", file);
}
}
if (fileref!=""){
document.getElementsByTagName("head").item(0).appendChild(fileref)
loadedobjects+=file+" " //Remember this object as being already added to page
}
}
}

</script>]]></template>
		<template name="adv_portal_welcomeblock" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<tr>
<td class="alt1">

	<if condition="$mods['modcol'] == 1">
		<if condition="!$show['guest']">

			<if condition="$avatarurl">
				<a href="$vboptions[bburl]/profile.php?do=editavatar"><img src="$avatarurl" border="0" alt="$vbphrase[edit_avatar]" /></a>
			</td>
			<td class="alt1" valign="top" width="100%">
			</if>
				<if condition="$bbuserinfo['reputationdisplay'] OR ($bbuserinfo['rank'] AND $mod_options['portal_welcome_rank'])">
					<div class="smallfont" style="float:$stylevar[right]">
					<if condition="$bbuserinfo['reputationdisplay']">
						$vbphrase[rep_power]: $reppower
						<div align="$stylevar[right]" style="margin-bottom:5px">$bbuserinfo[reputationdisplay]</div>
					</if>
					<if condition="$bbuserinfo['rank'] AND $mod_options['portal_welcome_rank']">
						<div align="$stylevar[right]" style="margin-top:5px; margin-bottom:5px">$bbuserinfo[rank]</div>
					</if>
					</div>
				</if>

				<span class="smallfont"><phrase 1="$bbuserinfo[musername]">$vbphrase[welcome_back_x]</phrase><br />
				<phrase 1="$lastvisitdate" 2="$lastvisittime">$vbphrase[last_visited_x_at_y]</phrase><br />
				<if condition="$mod_options['portal_welcome_newposts']">
					<a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts]</a>: $newposts<br />
				</if>

				<a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]">$vbphrase[log_out]</a></span>

				<if condition="$mod_options['portal_welcome_newpms'] AND $show['pmstats']">
						</td>
					</tr>
					<tr>
						<td class="thead" colspan="2"><a href="$vboptions[bburl]/private.php?$session[sessionurl]">$vbphrase[private_messages]</a>
<span class="smallfont"><phrase 1="$bbuserinfo[pmunread]" 2="$bbuserinfo[pmtotal]" 3="$permissions[pmquota]">$vbphrase[x_new_have_y_of_z_allowed]</phrase></span>
</td>
					</tr>
				</if>
		<else />

			<table width="100%" cellspacing="3" cellpadding="0">
				<tr>
					<td nowrap="nowrap"><span class="smallfont">$vbphrase[user_name]</span></td>
					<td nowrap="nowrap"><input class="bginput" name="vb_login_username" size="12" type="text" /></td>
					<td nowrap="nowrap"><span class="smallfont"><input checked="checked" class="bginput" name="cookieuser" id="cb_cookieuser" type="checkbox" value="1" />$vbphrase[remember_me]</span></td>
					<td align="center" rowspan="2" width="100%"><phrase 1="$vboptions[bburl]">$vbphrase[not_a_member_yet_register_now]</phrase></td>
				</tr>
				<tr>
					<td><span class="smallfont">$vbphrase[password]</span></td>
					<td><input class="bginput" name="vb_login_password" size="12" type="password" /></td>
					<td><input class="button" type="submit" value="$vbphrase[log_in]" /></td>
				</tr>
			</table>

		</if>

	<else />

		<if condition="$bbuserinfo['userid']">
			<span class="smallfont"><phrase 1="$bbuserinfo[musername]">$vbphrase[welcome_back_x]</phrase></span><br />

		<if condition="$mod_options['portal_welcome_avatar']">
			<div style="padding:4px">
				<a href="$vboptions[bburl]/profile.php?do=editavatar"><img src="$avatarurl" border="0" alt="$vbphrase[edit_avatar]" /></a>
			</div>
		</if>
		<div class="smallfont">
		<phrase 1="$lastvisitdate" 2="$lastvisittime">$vbphrase[last_visited_x_at_y]</phrase><br />
		<if condition="$mod_options['portal_welcome_newposts']">
			<a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts]</a>: $newposts<br />
		</if>

		<if condition="$bbuserinfo['reputationdisplay']">
			<div style="margin-top:5px; margin-bottom:5px">$vbphrase[rep_power]: $reppower<br />
			$bbuserinfo[reputationdisplay]</div>
		</if>
		<if condition="$bbuserinfo['rank'] AND $mod_options['portal_welcome_rank']">
			<div style="margin-top:5px; margin-bottom:5px">$bbuserinfo[rank]</div>
		</if>

		<a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]">$vbphrase[log_out]</a></div>

		<if condition="$mod_options['portal_welcome_newpms'] AND $show['pmstats']">
			</td>
			</tr>
			<tr>
			<td class="thead"><a href="$vboptions[bburl]/private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td>
			</tr>
			<tr>
			<td class="alt1"><span class="smallfont"><phrase 1="$bbuserinfo[pmunread]" 2="$bbuserinfo[pmtotal]" 3="$permissions[pmquota]">$vbphrase[x_new_have_y_of_z_allowed]</phrase></span>
		</if>

		<else />
			<div class="smallfont" style="padding:2px">$vbphrase[user_name]:<br />
				<input class="bginput" name="vb_login_username" size="12" type="text" /><br />
				$vbphrase[password]:<br />
				<input class="bginput" name="vb_login_password" size="12" type="password" /><br />
				<input checked="checked" class="bginput" name="cookieuser" id="cb_cookieuser" type="checkbox" value="1" />$vbphrase[remember_me]

				<div style="margin-top:3px; margin-bottom:6px;">
					<input class="button" type="submit" value="$vbphrase[log_in]" />
				</div>

			<phrase 1="$vboptions[bburl]">$vbphrase[not_a_member_yet_register_now]</phrase>
			</div>

	</if>
</if>
</td>
</tr>]]></template>
	</templategroup>
	<templategroup name="قوالب الالبوم">
		<template name="album_pictureview" templatetype="template" date="1218415509" username="ابو راشد" version="3.7.2"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
$usercss
$picturecomment_css
<title>$vboptions[bbtitle] - <phrase 1="$userinfo[username]" 2="$albuminfo[title_html]">$vbphrase[xs_album_y]</phrase> - $vbphrase[picture]</title>
</head>
<body>
$header
$navbar

<div id="usercss">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<div class="smallfont" style="float: $stylevar[right]">
			<if condition="$show['picture_nav']">
				<a href="album.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pic_location[prev_pictureid]">$pic_location[prev_text_short]</a> |
				<a href="album.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pic_location[next_pictureid]">$pic_location[next_text_short]</a>
				<if condition="$show['usercss_switch']">|</if>
			</if>
			<if condition="$show['usercss_switch']"><a href="profile.php?$session[sessionurl]do=switchusercss&amp;hash=$bbuserinfo[logouthash]&amp;u=$userinfo[userid]">$usercss_switch_phrase</a></if>
		</div>

		<phrase 1="$pic_location[pic_position]" 2="$albuminfo[picturecount]" 3="$albuminfo[title]">$vbphrase[picture_x_of_y_from_album_z]</phrase>
	</td>
</tr>
<tr>
	<td class="alt1" align="center">
		<table width="<if condition="$pictureinfo['width'] < 400">400<else />$pictureinfo[width]</if>" cellpadding="$stylevar[cellpadding]">
		<tr>
			<td align="center"><img src="picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]" alt="$pictureinfo[caption_censored]" /></td>
		</tr>
		<if condition="$show['moderation']"><tr><td align="center"><strong>$vbphrase[picture_waiting_moderator_approval]</strong></td></tr></if>
		<if condition="$pictureinfo['caption_html']">
			<tr>
				<td align="$stylevar[left]"><em>$pictureinfo[caption_html]</em></td>
			</tr>
		</if>

<!-- هاك عام ـ عرض رابط الصور في البوم الأعضاء تحت الصورة لإدراجها في المواضيع -->
<tr>
                <td align="$stylevar[left]"><br /><br /><br /><table width="80%" border="0" class="tborder" align="center" cellpadding="3" cellspacing="0">
                  <tr>
                    <td class="alt2" nowrap="nowrap"><div class="smallfont normal">
                      <div align="right">رابط الصورة : </div>
                    </div></td>
                    <td class="alt2"><div align="center"><span class="smallfont normal">
                      <input name="textfield2" class="bginput" type="text" value="$vboptions[bburl]/picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]" size="50" READONLY>
                    </span></div></td>
                  </tr>
                  <tr>
                    <td class="alt2" nowrap="nowrap"><div class="smallfont normal">
                      <div align="right">البي بي كود : </div>
                    </div></td>
                    <td class="alt2"><div align="center"><span class="smallfont normal">
                      <input name="textfield3" class="bginput" type="text" value="[img]$vboptions[bburl]/picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid][/img]" size="50" READONLY>
                    </span></div></td>
                  </tr>
                  <tr>
                    <td class="alt2" nowrap="nowrap"><div class="smallfont normal">
                      <div align="right">كود الإدراج : </div>
                    </div></td>
                    <td class="alt2"><div align="center"><span class="smallfont normal">
                      <input name="textfield" class="bginput" type="text" value="<img src='$vboptions[bburl]/picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]' style='border:1px solid #000000;' >" size="50" READONLY>
                    </span></div></td>
                  </tr>
                </table>
          
                </td>
            </tr>
<!-- هاك عام ـ عرض رابط الصور في البوم الأعضاء تحت الصورة لإدراجها في المواضيع -->

		<tr>
			<td align="$stylevar[left]" class="smallfont">
				<if condition="$show['edit_picture_option'] OR $show['add_group_link'] OR $show['reportlink']">
				<div class="smallfont normal" style="float: $stylevar[right]">
					<if condition="$show['edit_picture_option']">
						<div><a href="album.php?$session[sessionurl]do=editpictures&amp;albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]&amp;frompicture=1">$vbphrase[edit_picture]</a></div>
					</if>
					<if condition="$show['add_group_link']">
						<div><a href="album.php?$session[sessionurl]do=addgroup&amp;albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]">$vbphrase[add_to_group]</a></div>
					</if>
					<if condition="$show['reportlink']">
						<div><a href="album.php?$session[sessionurl]do=report&amp;albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]">$vbphrase[report_picture]</a></div>
					</if>
				</div>
				</if>
				<span class="shade">$vbphrase[picture_added]</span> $pictureinfo[adddate] <if condition="!$show['detailedtime']"><span class="time">$pictureinfo[addtime]</span></if>
			</td>
		</tr>
		<if condition="$show['picture_owner']">
		<tr>
			<td class="smallfont" align="center"><div style="text-align: $stylevar[left]; width: 400px">
				<div>$vbphrase[picture_url]<br />
					<input type="text" value="$pictureinfo[pictureurl]" readonly="readonly" class="bginput" onfocus="this.select()" dir="ltr" size="30" style="width:400px" />
				</div>
				
				<div>$vbphrase[bb_code]<br />
					<input type="text" value="[IMG]$pictureinfo[pictureurl][/IMG]" readonly="readonly" class="bginput" onfocus="this.select()" dir="ltr" size="30" style="width:400px" />
				</div>
			</div></td>
		</tr>
		</if>
		</table>
	</td>
</tr>
</table>

<if condition="$show['picture_nav']">
	<div class="smallfont" align="center" style="margin-top: $stylevar[cellpadding]px">
		<a href="album.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pic_location[prev_pictureid]">$pic_location[prev_text]</a> |
		<a href="album.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pic_location[next_pictureid]">$pic_location[next_text]</a>
	</div>
</if>

$picturecomment_commentarea

<if condition="$show['picturecomment_options'] AND $show['picture_nav']">
	<div class="smallfont" align="center" style="margin-top: $stylevar[cellpadding]px">
		<a href="album.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pic_location[prev_pictureid]">$pic_location[prev_text]</a> |
		<a href="album.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pic_location[next_pictureid]">$pic_location[next_text]</a>
	</div>
</if>

</div>

$footer
</body>
</html>]]></template>
	</templategroup>
	<templategroup name="أكواد BB Code">
		<template name="bbcode_code" templatetype="template" date="1218418116" username="ابو راشد" version="3.7.2"><![CDATA[<table class="tborder" cellpadding="4" cellspacing="2" border="0">
<tr><td class="thead1" align="center">$vbphrase[code]</td></tr>
<tr><td class="alt5" align="center">
<pre class="alt2" dir="ltr" style="margin: 0px; padding: $stylevar[cellpadding]px; border: 1px inset; width: $stylevar[codeblockwidth]; height: {$blockheight}px; text-align: left; overflow: auto">$code</pre>
</td></tr></table><br />]]></template>
		<template name="bbcode_html" templatetype="template" date="1218418129" username="ابو راشد" version="3.7.2"><![CDATA[<table class="tborder" cellpadding="4" cellspacing="2" border="0">
<tr><td class="thead1" align="center">$vbphrase[html_code]</td></tr>
<tr><td class="alt5" align="center">
<pre class="alt2" dir="ltr" style="margin: 0px; padding: $stylevar[cellpadding]px; border: 1px inset; width: $stylevar[codeblockwidth]; height: {$blockheight}px; text-align: left; overflow: auto">$code</pre>
</td></tr></table><br />]]></template>
		<template name="bbcode_php" templatetype="template" date="1218418140" username="ابو راشد" version="3.7.2"><![CDATA[<table class="tborder" cellpadding="4" cellspacing="2" border="0">
<tr><td class="thead1" align="center">$vbphrase[php_code]</td></tr>
<tr><td class="alt5" align="center">
<pre class="alt2" dir="ltr" style="margin: 0px; padding: $stylevar[cellpadding]px; border: 1px inset; width: $stylevar[codeblockwidth]; height: {$blockheight}px; text-align: left; overflow: auto">
<code style="white-space:nowrap">
			<!-- php buffer start -->$code<!-- php buffer end -->
</code></pre>
</td></tr></table><br />]]></template>
		<template name="bbcode_quote" templatetype="template" date="1218418150" username="ابو راشد" version="3.7.2"><![CDATA[<table class="tborder" cellpadding="4" cellspacing="2" border="0" width="95%">
<tr><td class="thead1" align="center">$vbphrase[quote] : 
<if condition="$show['username']">
<phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase>
</if>
<if condition="$postid"><a href="showthread.php?$session[sessionurl]p=$postid#post$postid" rel="nofollow"> [ مشاهدة المشاركة ]</a></if>
</td></tr><tr><td class="alt5" align="center">
$message
</td></tr></table><br />
]]></template>
	</templategroup>
	<templategroup name="المحرر">
		<template name="editor_jsoptions_font" templatetype="template" date="1218403173" username="ابو راشد" version="3.7.2"><![CDATA[Times New Roman
Tahoma
Mudir MT
Andalus
Arial
Traditional Arabic
Diwani Letter
Diwani Bent
FreeHand
AdvertisingBold
AdvertisingExtraBold
AF_Najed
Al Moharib Anbopi Ibrahim
Al Moharib Blook Othman 1
Al Moharib Classic Othman 1
Al Moharib Free Othman 1
AL-Battar
AL-Mateen
Al-Mothnna
ALmusam_free
Hesham AlSharq
Hesham Bold
Hesham Fostat
Hesham Gornata
Hesham Nagham
HeshamNormal
MCS ALMAALIM
Microsoft Sans Serif
Trebuchet MS
Verdana]]></template>
		<template name="editor_smilie" templatetype="template" date="1218414058" username="ابو راشد" version="3.7.2"><![CDATA[<td class="alt2" align="center" valign="center">$smiliehtml</td>]]></template>
		<template name="editor_smiliebox" templatetype="template" date="1218414069" username="ابو راشد" version="3.7.2"><![CDATA[<if condition="$show['smiliebox']"><br />
	<table class="tborder" id="{$editorid}_smiliebox" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center" width="100%">
	$smiliebits
	<if condition="$show['moresmilieslink']">
	<tr>
		<td class="thead" colspan="$vboptions[smcolumns]" align="center"><a href="#" onclick="vB_Editor['$editorid'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false" title="<phrase 1="$vboptions[smtotal]" 2="$totalsmilies">$vbphrase[showing_x_smilies_of_y_total]</phrase>">$vbphrase[more]</a></td>
	</tr>
	</if>
	</table>
<else />
<div id="smiliebox" style="display:none"></div>
</if>]]></template>
		<template name="editor_styles_button_down" templatetype="template" date="1218466533" username="ابو راشد" version="3.7.2"><![CDATA[background: #FCF2EB; color: #8C0505; padding: 0px; border: 1px solid #DEC4AF;]]></template>
		<template name="editor_styles_button_hover" templatetype="template" date="1218403316" username="ابو راشد" version="3.7.2"><![CDATA[background: #F2E2D3; color: #8C0505; padding: 0px; border: 1px solid #DEC4AF;]]></template>
		<template name="editor_styles_button_normal" templatetype="template" date="1218403270" username="ابو راشد" version="3.7.2"><![CDATA[background: transparent; color: #8C0505; padding: 1px; border: none;]]></template>
		<template name="editor_styles_button_selected" templatetype="template" date="1218403316" username="ابو راشد" version="3.7.2"><![CDATA[background: #FCF2EB; color: #8C0505; padding: 0px; border: 1px solid #DEC4AF;]]></template>
		<template name="editor_styles_menu_down" templatetype="template" date="1218403316" username="ابو راشد" version="3.7.2"><![CDATA[background: #FCF2EB; color: #8C0505; padding: 0px; border: 1px solid #DEC4AF;]]></template>
		<template name="editor_styles_menu_hover" templatetype="template" date="1218403316" username="ابو راشد" version="3.7.2"><![CDATA[background: #F2E2D3; color: #8C0505; padding: 0px; border: 1px solid #DEC4AF;]]></template>
		<template name="editor_styles_menu_normal" templatetype="template" date="1218403316" username="ابو راشد" version="3.7.2"><![CDATA[background: #FCF2EB; color: #8C0505; padding: 0px; border: 1px solid #DEC4AF;]]></template>
		<template name="editor_styles_popup_down" templatetype="template" date="1218403316" username="ابو راشد" version="3.7.2"><![CDATA[background: #FCF2EB; color: #8C0505; padding: 0px; border: 1px solid #DEC4AF;]]></template>
		<template name="editor_toolbar_on" templatetype="template" date="1218414082" username="ابو راشد" version="3.7.2"><![CDATA[$vBeditTemplate[clientscript]

<!-- هاك عام توسيط أزرار المحرر -->
<!-- لحذف الهاك نحذف السطر التالي -->
<center>

<!-- هاك عام ـ زيادة عرض المحرر لعرض الصفحة -->
<!-- لحذف الهاك يتم حذف ما يلي من السطر التالي width="100%" -->

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
	<td id="$editorid" class="vBulletin_editor" width="100%">
		<div id="{$editorid}_controls" class="controlbar">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td><div class="imagebutton" id="{$editorid}_cmd_removeformat"><img src="$stylevar[imgdir_editor]/removeformat.gif" width="21" height="20" alt="$vbphrase[remove_text_formatting]" /></div></td>
			<if condition="$show['font_bbcode'] OR $show['size_bbcode']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
			</if>
			<if condition="$show['font_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_popup_fontname" title="$vbphrase[fonts]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td class="popup_feedback"><div id="{$editorid}_font_out" style="width:91px">&nbsp;</div></td>
						<td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>
				</div></td>
			</if>
			<if condition="$show['size_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_popup_fontsize" title="$vbphrase[sizes]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td class="popup_feedback"><div id="{$editorid}_size_out" style="width:25px">&nbsp;</div></td>
						<td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>
				</div></td>
			</if>
			<if condition="$show['color_bbcode']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<td><div class="imagebutton" id="{$editorid}_popup_forecolor" title="$vbphrase[colors]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td id="{$editorid}_color_out"><img src="$stylevar[imgdir_editor]/color.gif" width="21" height="16" alt="" /><br /><img src="$vboptions[cleargifurl]" id="{$editorid}_color_bar" alt="" style="background-color:black" width="21" height="4" /></td>
						<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>
				</div></td>
			</if>
			<if condition="$show['wysiwygsmilies']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<td><div class="imagebutton" id="{$editorid}_popup_smilie" title="$vbphrase[smilies]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td><img src="$stylevar[imgdir_editor]/smilie.gif" alt="" width="21" height="20" /></td>
						<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>
				</div></td>
			</if>
			<if condition="$show['attach']">
				<td><div class="imagebutton" id="{$editorid}_popup_attach" title="$vbphrase[attachments]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td><img src="$stylevar[imgdir_editor]/attach.gif" alt="" width="21" height="20" /></td>
						<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>
				</div></td>
			</if>
			
				<!--
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_cut"><img src="$stylevar[imgdir_editor]/cut.gif" width="21" height="20" alt="$vbphrase[cut]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_copy"><img src="$stylevar[imgdir_editor]/copy.gif" width="21" height="20" alt="$vbphrase[copy]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_paste"><img src="$stylevar[imgdir_editor]/paste.gif" width="21" height="20" alt="$vbphrase[paste]" /></div></td>
				-->
	
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_undo"><img src="$stylevar[imgdir_editor]/undo.gif" width="21" height="20" alt="$vbphrase[undo]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_redo"><img src="$stylevar[imgdir_editor]/redo.gif" width="21" height="20" alt="$vbphrase[redo]" /></div></td>

<!-- هاك عام توسيط أزرار المحرر -->
<!-- تم حذف السطر التالي ويعاد لحذف الهاك -->
<!-- <td width="100%">&nbsp;</td> -->

			<if condition="is_browser('ie') AND !is_browser('mac')">
				<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
			</if>
				<td>
					<div class="imagebutton" id="{$editorid}_cmd_resize_0_100"><img src="$stylevar[imgdir_editor]/resize_0.gif" width="21" height="9" alt="$vbphrase[decrease_size]" /></div>
					<div class="imagebutton" id="{$editorid}_cmd_resize_1_100"><img src="$stylevar[imgdir_editor]/resize_1.gif" width="21" height="9" alt="$vbphrase[increase_size]" /></div>
				</td>
			<if condition="$show['wysiwyg_compatible']">
				<td><div class="imagebutton" id="{$editorid}_cmd_switchmode"><img src="$stylevar[imgdir_editor]/switchmode.gif" width="21" height="20" alt="$vbphrase[switch_editor_mode]" /></div></td>
			</if>
			</tr>
			</table>

			<if condition="!$show['basicbbcodeonly']">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr>
			<if condition="$show['basic_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_cmd_bold"><img src="$stylevar[imgdir_editor]/bold.gif" width="21" height="20" alt="$vbphrase[bold]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_italic"><img src="$stylevar[imgdir_editor]/italic.gif" width="21" height="20" alt="$vbphrase[italic]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" width="21" height="20" alt="$vbphrase[underline]" /></div></td>
			</if>
			<if condition="$show['align_bbcode']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<if condition="$stylevar['textdirection'] == 'ltr'">
				<td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]" /></div></td>
				<else />
				<td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]" /></div></td>
				</if>
			</if>
			<if condition="$show['align_bbcode'] OR $show['list_bbcode']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
			</if>
			<if condition="$show['list_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_cmd_insertorderedlist"><img src="$stylevar[imgdir_editor]/insertorderedlist.gif" width="21" height="20" alt="$vbphrase[ordered_list]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_insertunorderedlist"><img src="$stylevar[imgdir_editor]/insertunorderedlist.gif" width="21" height="20" alt="$vbphrase[unordered_list]" /></div></td>
			</if>
			<if condition="$show['align_bbcode'] OR $show['list_bbcode']">
				<if condition="$stylevar['textdirection'] == 'ltr'">
				<td><div class="imagebutton" id="{$editorid}_cmd_outdent"><img src="$stylevar[imgdir_editor]/outdent.gif" width="21" height="20" alt="$vbphrase[decrease_indent]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_indent"><img src="$stylevar[imgdir_editor]/indent.gif" width="21" height="20" alt="$vbphrase[increase_indent]" /></div></td>
				<else />
				<td><div class="imagebutton" id="{$editorid}_cmd_outdent"><img src="$stylevar[imgdir_editor]/indent.gif" width="21" height="20" alt="$vbphrase[decrease_indent]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_indent"><img src="$stylevar[imgdir_editor]/outdent.gif" width="21" height="20" alt="$vbphrase[increase_indent]" /></div></td>
				</if>
			</if>
			<if condition="$show['url_bbcode'] OR $show['img_bbcode']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<if condition="$show['url_bbcode']">
					<td><div class="imagebutton" id="{$editorid}_cmd_createlink"><img src="$stylevar[imgdir_editor]/createlink.gif" width="21" height="20" alt="$vbphrase[insert_link]" /></div></td>
					<td><div class="imagebutton" id="{$editorid}_cmd_unlink"><img src="$stylevar[imgdir_editor]/unlink.gif" width="21" height="20" alt="$vbphrase[remove_link]" /></div></td>
					<td><div class="imagebutton" id="{$editorid}_cmd_email"><img src="$stylevar[imgdir_editor]/email.gif" width="21" height="20" alt="$vbphrase[insert_email_link]" /></div></td>
				</if>
				<if condition="$show['img_bbcode']">
					<td><div class="imagebutton" id="{$editorid}_cmd_insertimage"><img src="$stylevar[imgdir_editor]/insertimage.gif" width="21" height="20" alt="$vbphrase[insert_image]" /></div></td>
				</if>
			</if>
			<if condition="$show['quote_bbcode']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
			</if>
			<if condition="$show['code_bbcode'] OR $show['html_bbcode'] OR $show['php_bbcode']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>				
				<if condition="$show['code_bbcode']">
					<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_code"><img src="$stylevar[imgdir_editor]/code.gif" width="21" height="20" alt="$vbphrase[wrap_code_tags]" /></div></td>
				</if>
				<if condition="$show['html_bbcode']">
					<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_html"><img src="$stylevar[imgdir_editor]/html.gif"  width="21" height="20" alt="$vbphrase[wrap_html_tags]" /></div></td>
				</if>
				<if condition="$show['php_bbcode']">
					<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_php"><img src="$stylevar[imgdir_editor]/php.gif" width="21" height="20" alt="$vbphrase[wrap_php_tags]" /></div></td>
				</if>
			</if>
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>	
				$vBeditTemplate[extrabuttons]
			</tr>
			</table>
			</if>

		</div>

<!-- هاك عام توسيط أزرار المحرر -->
<!-- لحذف الهاك نحذف السطر التالي -->
</center>

		<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr valign="top">
			<td class="controlbar">
				<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="display:block; width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea>
			</td>
<if condition="$smiliebox">
<!-- هاك عام ـ الإبتسامات اسفل المحرر -->
</tr><tr>
<!-- هاك عام ـ الإبتسامات اسفل المحرر -->

<td class="controlbar">
$smiliebox
</td>
</if>			
		</tr>
		</table>
	</td>
</tr>
</table>

<input type="hidden" name="wysiwyg" id="{$editorid}_mode" value="$editortype" />

<script type="text/javascript">
<!--
vB_Editor['$editorid'] = new vB_Text_Editor('$editorid', $editortype, '$forumid', '$parsesmilie', undefined, '$ajax_extra');
//-->
</script>]]></template>
	</templategroup>
	<templategroup name="عرض المنتدى/ Forum Display">
		<template name="FORUMDISPLAY" templatetype="template" date="1218455681" username="ابو راشد" version="3.7.2"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if>
</head>
<body>
$header
$navbar

<if condition="$show['forumslist']">
<!-- sub-forum list  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
	<td class="tcat" width="100%">$vbphrase[subforums]<span class="normal"> : $foruminfo[title]</span></td>
	<if condition="$show['forumsearch']">
	<td class="vbmenu_control" id="forumsearch.subforums" nowrap="nowrap"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script></if></td>
	</if>
</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr align="center">
	  <td class="thead">&nbsp;</td>
	  <td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td>
	  <td class="thead" width="50%">$vbphrase[last_post]</td>
	  <td class="thead">$vbphrase[threads]</td>
	  <td class="thead">$vbphrase[posts]</td>
	  <if condition="$vboptions[showmoderatorcolumn]">
	  <td class="thead">$vbphrase[moderator]</td>
	  </if>
	</tr>
</thead>
$forumbits
</table>
<br />
<!-- / sub-forum list  -->
</if>

<if condition="$show['threadslist']">
<!-- threads list  -->

<form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform">
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="forumid" value="$forumid" />

<!-- controls above thread list -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
	<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above thread list -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
	<td class="tcat" width="100%">

<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->
<div class="smallfont" style="float:right" nowrap>

<a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" title="بحث في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/searchme.gif" style="cursor: hand" border="0"></a>

<if condition="$forum[statusicon]=='new'">
<a href="search.php?$session[sessionurl]do=getnew&include=$foruminfo[forumid]" title="عرض المشاركات الجديدة في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/findme.gif" style="cursor: hand" border="0"></a></if>

<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" title="إضافة موضوع جديد في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/newme.gif" style="cursor: hand" border="0"></a> 

<if condition="$vboptions['externalrss']"><a target="_blank" href="external.php?type=rss2&forumids=$foruminfo[forumid]"><img src="$stylevar[imgdir_misc]/rss.gif" border="0" alt="اشترك في استلام آخر مواضيع القسم" /></a> </if>

</div>&nbsp;
<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->

$vbphrase[threads_in_forum]<span class="normal"> : $foruminfo[title]</span></td>
	<td class="vbmenu_control" id="forumtools" nowrap="nowrap"><a href="$show[nojs_link]#goto_forumtools" rel="nofollow">$vbphrase[forum_tools]</a> <script type="text/javascript"> vbmenu_register("forumtools"); </script></td>
	<if condition="$show['forumsearch']">
	<td class="vbmenu_control" id="forumsearch" nowrap="nowrap"><if condition="$show['quicksearch']"><a href="$show[nojs_link]#goto_forumsearch" rel="nofollow">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch"); </script><else /><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a></if></td>
	</if>
</tr>
</table>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
<tbody>
$announcebits
<tr>
<if condition="$show['search_engine']">
	<if condition="$show['threadicons']">
		<td class="thead" colspan="2">&nbsp;</td>
	<else />
		<td class="thead">&nbsp;</td>
	</if>
	<td class="thead" width="100%">
		<if condition="$show['threadratings']"><span style="float:$stylevar[right]">$vbphrase[rating]</span></if>
		$vbphrase[thread] / $vbphrase[thread_starter]
	</td>
	<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[last_post]</span></td>
	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[replies]</span></td>
	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td>
<else />
	<if condition="$show['threadicons']">
		<td class="thead" colspan="2">&nbsp;</td>
	<else />
		<td class="thead">&nbsp;</td>
	</if>
	<td class="thead" width="100%">
		<if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=voteavg" rel="nofollow">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if>
		<a href="$sorturl&amp;order=asc&amp;sort=title" rel="nofollow">$vbphrase[thread]</a> $sortarrow[title] /
		<a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]
	</td>
	<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount" rel="nofollow">$vbphrase[replies]</a> $sortarrow[replycount]</span></td>
	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views" rel="nofollow">$vbphrase[views]</a> $sortarrow[views]</span></td>

	<if condition="$show['inlinemod']">
		<if condition="$show['popups']">
			<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
		<else />
			<td class="thead" align="center">
				<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
			</td>
		</if>
	</if>
</if>
</tr>
</tbody>

<if condition="$show['threads']">
	<!-- show threads -->
	<tbody id="threadbits_forum_$foruminfo[forumid]">
	<if condition="$show['stickies']">
	$threadbits_sticky
	</if>

<!-- هاك عام ـ فصل المواضيع المثبته -->
<tr><td class="thead" align="center" width="100%" colspan="15">&nbsp;</td></tr>
<!-- هاك عام ـ فصل المواضيع المثبته -->

	$threadbits
	</tbody>
	<!-- end show threads -->
<else />
	<!-- show no threads message -->
	<tbody>
	<tr>
		<td class="alt1" colspan="$foruminfo[bottomcolspan]" align="center">
			<div style="padding: 16px">
				<if condition="$show['noposts']"><strong>$vbphrase[no_posts_in_this_forum]</strong><else /><strong><phrase 1="$daysprune">$vbphrase[no_posts_last_x_days_forum]</phrase></strong><br />
				<span class="smallfont">$vbphrase[try_controls_below_for_older_posts]</span></if>
			</div>
		</td>
	</tr>
	</tbody>
	<!-- end show no threads message -->
</if>
</table>

<!-- controls below thread list -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
	<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
	<if condition="$show['pagenav'] OR $show['inlinemod']">
		<td align="$stylevar[right]">$pagenav
		<if condition="$show['inlinemod']">
			<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
			<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
			<select name="do">
				<if condition="$show['deletethread'] OR $show['spamctrls'] OR $show['openthread'] OR $show['approvethread'] OR $show['movethread'] OR $template_hook['inlinemod_thread_bottom']">
				<optgroup label="$vbphrase[option]">
					<if condition="$show['deletethread']">
					<option value="deletethread">$vbphrase[delete_threads]</option>
					<option value="undeletethread">$vbphrase[undelete_threads]</option>
					</if>
					<if condition="$show['spamctrls']">
					<option value="spamthread">$vbphrase[delete_threads_as_spam]</option>
					</if>
					<if condition="$show['openthread']">
					<option value="open">$vbphrase[open_threads]</option>
					<option value="close">$vbphrase[close_threads]</option>
					</if>
					<if condition="$show['approvethread']">
					<option value="approvethread">$vbphrase[approve_threads]</option>
					<option value="unapprovethread">$vbphrase[unapprove_threads]</option>
					</if>
					<if condition="$show['movethread']">
					<option value="stick">$vbphrase[stick_threads]</option>
					<option value="unstick">$vbphrase[unstick_threads]</option>
					<option value="movethread">$vbphrase[move_threads]</option>
					<option value="mergethread">$vbphrase[merge_threads]</option>
					</if>
					$template_hook[inlinemod_thread_bottom]
				</optgroup>
				</if>
				<optgroup label="____________________">
					<option value="viewthread">$vbphrase[view_selected_threads]</option>
					<option value="clearthread">$vbphrase[clear_thread_list]</option>
				</optgroup>
			</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
			</div>
			<script type="text/javascript">
			<!--
			inlineMod = new vB_Inline_Mod('inlineMod', 'thread', 'inlinemodform', '$vbphrase[go_x]');
			//-->
			</script>
		</if>
		</td>
	</if>
</tr>
</table>
<!-- / controls below thread list -->

</form>
<br />

$ad_location[ad_forumdisplay_afterthreads]

<!-- Active Users in this Forum (and sub-forums) and Moderators -->

<form action="forumdisplay.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="f" value="$forumid" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="hidden" name="pp" value="$perpage" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[display_options]</td>
	<if condition="$show['activeusers']">
	<td class="tcat">$vbphrase[currently_active_users]</td>
	</if>
	<if condition="$show['moderators']">
	<td class="tcat">$vbphrase[moderators]</td>
	</if>
</tr>
<tr>
	<td class="thead"><phrase 1="$limitlower" 2="$limitupper" 3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase></td>
	<if condition="$show['activeusers']">
	<td class="thead">$totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_y_guests]</phrase>)</td>
	</if>
	<if condition="$show['moderators']">
	<td class="thead">$vbphrase[moderators] : $totalmods</td>
	</if>
</tr>
<tr valign="top">
	<td class="alt1">

		<table cellpadding="0" cellspacing="1" border="0">
		<tr valign="bottom">
			<td class="smallfont" style="padding-$stylevar[right]:$stylevar[cellpadding]px">
				<div><label for="sel_sort">$vbphrase[sorted_by]</label></div>
				<select name="sort" id="sel_sort">
					<option value="title" $sort[title]>$vbphrase[thread_title]</option>
					<option value="lastpost" $sort[lastpost]>$vbphrase[last_post_time]</option>
					<option value="dateline" $sort[dateline]>$vbphrase[thread_start_time]</option>
					<option value="replycount" $sort[replycount]>$vbphrase[number_of_replies]</option>
					<option value="views" $sort[views]>$vbphrase[number_of_views]</option>
					<option value="postusername" $sort[postusername]>$vbphrase[thread_starter]</option>
					<if condition="$show['threadratings']"><option value="voteavg" $sort[voteavg]>$vbphrase[thread_rating]</option></if>
				</select>
			</td>
			<td class="smallfont" style="padding-$stylevar[right]:$stylevar[cellpadding]px">
				<div><label for="sel_order">$vbphrase[sort_order]</label></div>
				<select name="order" id="sel_order">
					<option value="asc" $order[asc]>$vbphrase[ascending]</option>
					<option value="desc" $order[desc]>$vbphrase[descending]</option>
				</select>
			</td>
			<td class="smallfont">
				<div><label for="sel_daysprune">$vbphrase[from_the]</label></div>
				<select name="daysprune" id="sel_daysprune">
					<option value="1" $daysprunesel[1]>$vbphrase[last_day]</option>
					<option value="2" $daysprunesel[2]>$vbphrase[last_2_days]</option>
					<option value="7" $daysprunesel[7]>$vbphrase[last_week]</option>
					<option value="10" $daysprunesel[10]>$vbphrase[last_10_days]</option>
					<option value="14" $daysprunesel[14]>$vbphrase[last_2_weeks]</option>
					<option value="30" $daysprunesel[30]>$vbphrase[last_month]</option>
					<option value="45" $daysprunesel[45]>$vbphrase[last_45_days]</option>
					<option value="60" $daysprunesel[60]>$vbphrase[last_2_months]</option>
					<option value="75" $daysprunesel[75]>$vbphrase[last_75_days]</option>
					<option value="100" $daysprunesel[100]>$vbphrase[last_100_days]</option>
					<option value="365" $daysprunesel[365]>$vbphrase[last_year]</option>
					<option value="-1" $daysprunesel[all]>$vbphrase[beginning]</option>
				</select>
			</td>
		</tr>
		<tr valign="bottom">
			<td class="smallfont" colspan="2">
			<if condition="$prefix_options">
				<div><label for="sel_prefixid">$vbphrase[prefix]</label></div>
				<select name="prefixid" id="sel_prefixid">
					<option value=""$prefix_selected[any]>$vbphrase[any_prefix_meta]</option>
					<option value="-1"$prefix_selected[none]>$vbphrase[no_prefix_meta]</option>
					$prefix_options
				</select>
			<else />
				&nbsp;
			</if>
			</td>
			<td class="smallfont" align="$stylevar[right]" style="padding-top:$stylevar[cellpadding]px">
				<input type="submit" class="button" value="$vbphrase[show_threads]" />
			</td>
		</tr>
		</table>

	</td>
	<if condition="$show['activeusers']">
	<td class="alt1"><div class="smallfont">$activeusers</div></td>
	</if>
	<if condition="$show['moderators']">
	<td class="alt1"><div class="smallfont">$moderatorslist&nbsp;</div></td>
	</if>
</tr>
</table>

</form>
<!-- End Active Users in this Forum (and sub-forums) and Moderators -->

<if condition="$show['popups']">
<br />
<!-- popup menu contents -->


<!-- forum tools menu -->
<div class="vbmenu_popup" id="forumtools_menu" style="display:none">
<form action="moderator.php?f=$forumid" method="post" name="forumadminform">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr><td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td></tr>
	<if condition="$show['newthreadlink']"><tr><td class="vbmenu_option"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[post_a_new_thread]</a></td></tr></if>
	<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread&amp;f=$foruminfo[forumid]" rel="nofollow" onclick="return mark_forum_read($foruminfo[forumid]);">$vbphrase[mark_this_forum_read]</a></td></tr>
	<tr>
		<td class="vbmenu_option">
		<if condition="$show['subscribed_to_forum']">
			<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a>
		<else />
			<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[subscribe_to_this_forum]</a>
		</if>
		</td>
	</tr>
	<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]" rel="nofollow">$vbphrase[view_parent_forum]</a></td></tr>
	<if condition="$show['adminoptions']">
	<tr>
		<td class="thead">$vbphrase[admin_tools]<a name="goto_forumadmin"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">
		<if condition="$show['post_queue']"><div><label for="fa_mpo"><input type="radio" name="do" id="fa_mpo" value="modposts" checked="checked" />$vbphrase[view_posts_queue]</label></div></if>
		<if condition="$show['attachment_queue']"><div><label for="fa_mat"><input type="radio" name="do" id="fa_mat" value="modattach" />$vbphrase[view_attachment_queue]</label></div></if>
		<if condition="$show['mass_move']"><div><label for="fa_mov"><input type="radio" name="do" id="fa_mov" value="move" />$vbphrase[massmove_threads]</label></div></if>
		<if condition="$show['mass_prune']"><div><label for="fa_prn"><input type="radio" name="do" id="fa_prn" value="prune" />$vbphrase[massprune_threads]</label></div></if>
		<if condition="$show['addmoderator']">
		<div><label for="fa_amd"><input type="radio" name="do" id="fa_amd" value="addmoderator" />$vbphrase[add_moderator]</label></div>
		</if>
		<if condition="$show['post_new_announcement']">
		<div><label for="fa_pan"><input type="radio" name="do" id="fa_pan" value="postannouncement" />$vbphrase[post_new_announcement]</label></div>
		</if>
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite" align="center">
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="f" value="$forumid" />
			<input type="submit" class="button" value="$vbphrase[perform_action]" />
		</td>
	</tr>
	</if>
	</table>
</form>
</div>
<!-- / forum tools menu -->

<!-- inline mod menu -->
<if condition="$show['inlinemod']">
	<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
		$threadadmin_imod_menu_thread
	</div>
</if>
<!-- / inline mod menu -->

<!-- / popup menu contents -->
<else />
<!-- controls for non-popup browsers -->


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top-width:0px">
<tr>
	<td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td>
	<td class="thead">$vbphrase[search_this_forum]<a name="goto_forumsearch"></a></td>
</tr>
<tr valign="top">
	<!-- forum tools -->
	<td class="alt1">
		<div class="smallfont">
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[mark_this_forum_read]" vspace="1" /> <a href="forumdisplay.php?$session[sessionurl]do=markread&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[mark_this_forum_read]</a></div>
			<if condition="$show['member']"><div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
				<if condition="$show['subscribed_to_forum']">
					<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a>
				<else />
					<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[subscribe_to_this_forum]</a>
				</if>
			</div></if>
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[view_parent_forum]" vspace="1" /> <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]" rel="nofollow">$vbphrase[view_parent_forum]</a></div>
		</div>
	</td>
	<!-- / forum tools -->

	<!-- search this forum -->
	<td class="alt1">
	<form action="search.php?do=process" method="post">
	<div class="smallfont">
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="process" />
		<input type="hidden" name="forumchoice[]" value="$forumid" />
		<input type="hidden" name="childforums" value="1" />
		<input type="hidden" name="exactname" value="1" />
		<strong>$vbphrase[search_this_forum]</strong> :<br />
		<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
		<a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a>
	</div>
	</form>
	</td>
	<!-- / search this forum -->
</tr>
</table>
<br />


<!-- / controls for non-popup browsers -->
</if>

<if condition="$show['ajax_js']">
	<script type="text/javascript" src="clientscript/vbulletin_ajax_threadslist.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	vB_AJAX_Threadlist_Init('threadslist');
	var titlemaxchars = parseInt("$vboptions[titlemaxchars]");
	//-->
	</script>
</if>

<!-- ############## END THREADS LIST ##############  -->
</if>

$forumhome_markread_script

<if condition="$show['popups'] AND $show['forumsearch']">
<!-- forum search menu -->
<div class="vbmenu_popup" id="forumsearch_menu" style="display:none">
<form action="search.php?do=process" method="post">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$vbphrase[search_this_forum]<a name="goto_forumsearch"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="do" value="process" />
			<input type="hidden" name="forumchoice[]" value="$forumid" />
			<input type="hidden" name="childforums" value="1" />
			<input type="hidden" name="exactname" value="1" />
			<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" accesskey="s" tabindex="1004" /></div>
		</td>
	</tr>

<!-- هاك عام ـ البحث في العناوين -->
<tr><td class="vbmenu_option">
<input type="checkbox" name="titleonly" value="1" /> $vbphrase[search_titles_only]
</td></tr>
<!-- هاك عام ـ البحث في العناوين -->

	<tr>
		<td class="vbmenu_option" title="nohilite">
			<label for="rb_fd_sp0"><input type="radio" name="showposts" value="0" id="rb_fd_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
			&nbsp;
			<label for="rb_fd_sp1"><input type="radio" name="showposts" value="1" id="rb_fd_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option"><a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a></td>
	</tr>
	</table>
</form>
</div>
<!-- / forum search menu -->
</if>

<!-- icons and login code -->
<table cellpadding="2" cellspacing="0" border="0" align="center"><tr>
			<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
			<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
		<if condition="$vboptions['showlocks']">
			<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
		</if>
</tr></table>
<!-- / icons and login code -->

<!-- forum rules & forum jump -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
	<td width="100%">
		<div class="smallfont">&nbsp;</div>
		<if condition="$show['threadslist']">$forumrules</if>
	</td>
	<td>
		$forumjump
		<if condition="!$show['popups'] AND $show['adminoptions']">
			<br />
			<form action="moderator.php" method="get">
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="f" value="$forumid" />
			<div class="smallfont"><strong>$vbphrase[admin_tools]</strong> :</div>
			<select name="do" onchange="this.form.submit();">
				<optgroup label="$vbphrase[admin_tools]">
					<option value="modposts" selected="selected">$vbphrase[view_posts_queue]</option>
					<option value="modattach">$vbphrase[view_attachment_queue]</option>
					<option value="move">$vbphrase[mass_move]</option>
					<option value="prune">$vbphrase[mass_prune]</option>
					<if condition="$show['addmoderator']">
						<option value="addmoderator">$vbphrase[add_moderator]</option>
					</if>
					<if condition="$show['post_new_announcement']">
						<option value="postannouncement">$vbphrase[post_new_announcement]</option>
					</if>
				</optgroup>
			</select>$gobutton
			</form>
		</if>
	</td>
</tr>
</table>
<!-- / forum rules & forum jump -->

$footer
</body>
</html>]]></template>
	</templategroup>
	<templategroup name="الصفحة الرئيسية/Forum Home">
		<template name="FORUMHOME" templatetype="template" date="1218417330" username="ابو راشد" version="3.7.2"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	$headinclude
	<title>$vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar

<if condition="$show['guest']">
<!-- guest welcome message -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
	<td class="alt1">
		<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
	</td>
</tr>
</table>
<!-- / guest welcome message -->
<br />
</if>

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr align="center">
	  <td class="thead">&nbsp;</td>
	  <td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td>
	  <td class="thead" width="50%">$vbphrase[last_post]</td>
	  <td class="thead">$vbphrase[threads]</td>
	  <td class="thead">$vbphrase[posts]</td>
	  <if condition="$vboptions['showmoderatorcolumn']">
	  <td class="thead">$vbphrase[moderator]</td>
	  </if>
	</tr>
</thead>
$forumbits
<tbody>
	<tr>
		<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
			<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
			<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
			<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
		</strong></div></td>
	</tr>
</tbody>
</table>
$forumhome_markread_script
<!-- /main -->

<br />
$ad_location[ad_forumhome_afterforums]
<br />

<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
	</tr>
</thead>
$template_hook[forumhome_wgo_pos1]
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
			<a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
	<tr>
		<td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
		<td class="alt1" width="100%">
			<div class="smallfont">
				<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
				<div>$activeusers</div>
			</div>
		</td>
	</tr>
</tbody>
<!-- end logged-in users -->
</if>
$template_hook[forumhome_wgo_pos2]
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
			<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
	<tr>
		<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
		<td class="alt1" width="100%">
		<div class="smallfont">
			<div>
				$vbphrase[threads]: $totalthreads,
				$vbphrase[posts]: $totalposts,
				$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
					<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
				</if>
			</div>
			<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
			$template_hook[forumhome_wgo_stats]
		</div>
		</td>
	</tr>
</tbody>
$template_hook[forumhome_wgo_pos3]
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
			$vbphrase[todays_birthdays]
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
	<tr>
		<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
		<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
	</tr>
</tbody>
<!-- end today's birthdays -->
</if>
$template_hook[forumhome_wgo_pos4]
<if condition="$show['upcomingevents']">
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
			<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
	<tr>
		<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
		<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
	</tr>
</tbody>
</if>
$template_hook[forumhome_wgo_pos5]
</table>
<br />
<!-- end what's going on box -->

<!-- icons and login code -->
<table cellpadding="2" cellspacing="0" border="0" align="center"><tr>
			<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
			<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
		<if condition="$vboptions['showlocks']">
			<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
		</if>
</tr></table>
<!-- / icons and login code -->

$footer
</body>
</html>]]></template>
		<template name="forumhome_forumbit_level1_nopost" templatetype="template" date="1218417744" username="ابو راشد" version="3.7.2"><![CDATA[<tbody>
	<tr>
		<td class="tcat" align="center" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
			<if condition="$childforumbits">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
			</if>
			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>

<!--
			<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
-->

			<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
		</td>
	</tr>
</tbody>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
</tbody>
</if>]]></template>
		<template name="forumhome_forumbit_level1_post" templatetype="template" date="1218455735" username="ابو راشد" version="3.7.2"><![CDATA[<tbody>
<tr><td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>

		<td class="alt1" id="f$forum[forumid]" width="50%">
		
<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->
<div class="smallfont" style="float:left">

<a href="search.php?$session[sessionurl]f=$forum[forumid]" title="بحث في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/searchme.gif" style="cursor: hand" border="0"></a>

<if condition="$forum[statusicon]=='new'">
<a href="search.php?$session[sessionurl]do=getnew&include=$forum[forumid]" title="عرض المشاركات الجديدة في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/findme.gif" style="cursor: hand" border="0"></a></if>

<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$forum[forumid]" title="إضافة موضوع جديد في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/newme.gif" style="cursor: hand" border="0"></a> 

<if condition="$vboptions['externalrss']"><a target="_blank" href="external.php?type=rss2&forumids=$forum[forumid]"><img src="$stylevar[imgdir_misc]/rss.gif" border="0" alt="اشترك في استلام آخر مواضيع القسم" /></a></if>

</div>
<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->

<div>
				<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
				<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>

</div>

			<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>

			<if condition="$show['forumsubscription']"><div class="smallfont"><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></div></if>

			<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px">$vbphrase[subforums]: $forum[subforums]</div></if>
		
		</td>
		<td class="alt2" width="50%">$forum[lastpostinfo]</td>
		<td class="alt1" align="center">$forum[threadcount]</td>
		<td class="alt2" align="center">$forum[replycount]</td>

<!-- هاك عام ـ المشرفين في قائمة منسدلة -->
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1" align="center" id="showmoderat_$forum[forumid]">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/moderators.gif" style="cursor: hand" title="قائمة المشرفين"> <script type="text/javascript"> vbmenu_register("showmoderat_$forum[forumid]", true); </script>
<div align="center" class="vbmenu_popup" id="showmoderat_$forum[forumid]_menu" style="display:none; width:200px">
<div align="center" class="tcat" style="padding:3px; overflow:auto; width:200px">$vbphrase[moderator]</div>
<div align="center" class="alt1" style="border:1px inset; overflow:auto; width:200px; padding:3px;">
$forum[moderators]
</div></div></td></if>
<!-- هاك عام ـ المشرفين في قائمة منسدلة -->

	</tr>
</tbody>
<if condition="$childforumbits">
<tbody>
	$childforumbits
</tbody>
</if>]]></template>
		<template name="forumhome_forumbit_level2_post" templatetype="template" date="1218455749" username="ابو راشد" version="3.7.2"><![CDATA[<tr align="center">
	<td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
	<td class="alt1Active" width="50%" align="$stylevar[left]" id="f$forum[forumid]">

<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->
<div class="smallfont" style="float:left" nowrap>

<a href="search.php?$session[sessionurl]f=$forum[forumid]" title="بحث في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/searchme.gif" style="cursor: hand" border="0"></a>

<if condition="$forum[statusicon]=='new'">
<a href="search.php?$session[sessionurl]do=getnew&include=$forum[forumid]" title="عرض المشاركات الجديدة في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/findme.gif" style="cursor: hand" border="0"></a></if>

<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$forum[forumid]" title="إضافة موضوع جديد في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/newme.gif" style="cursor: hand" border="0"></a> 

<if condition="$vboptions['externalrss']"><a target="_blank" href="external.php?type=rss2&forumids=$forum[forumid]"><img src="$stylevar[imgdir_misc]/rss.gif" border="0" alt="اشترك في استلام آخر مواضيع القسم" /></a></if>

</div>
<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->

		<div>
			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
			<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
		</div>
		<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
		<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
		<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
	</td>
	<td class="alt2" width="50%">$forum[lastpostinfo]</td>
	<td class="alt1">$forum[threadcount]</td>
	<td class="alt2">$forum[replycount]</td>

<!-- هاك عام ـ المشرفين في قائمة منسدلة -->
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1" align="center" id="showmoderat_$forum[forumid]">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/moderators.gif" style="cursor: hand" title="قائمة المشرفين"> <script type="text/javascript"> vbmenu_register("showmoderat_$forum[forumid]", true); </script>
<div align="center" class="vbmenu_popup" id="showmoderat_$forum[forumid]_menu" style="display:none; width:200px">
<div align="center" class="tcat" style="padding:3px; overflow:auto; width:200px">$vbphrase[moderator]</div>
<div align="center" class="alt1" style="border:1px inset; overflow:auto; width:200px; padding:3px;">
$forum[moderators]
</div></div></td></if>
<!-- هاك عام ـ المشرفين في قائمة منسدلة -->

</tr>
$childforumbits]]></template>
		<template name="forumhome_lastpostby" templatetype="template" date="1218417807" username="ابو راشد" version="3.7.2"><![CDATA[<if condition="$show['lastpostinfo']">
<div class="smallfont" align="$stylevar[left]">
	<div>
		<span>
		<if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if>
		<if condition="$lastpostinfo['prefix']">
			$lastpostinfo[prefix]
			</span> <span>
		</if>
		<a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>">$lastpostinfo[trimthread]</a>
		</span>
	</div>
	<div style="white-space:nowrap<if condition="is_browser('ie', 6)">; float:$stylevar[left]</if>">
		<phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
	</div>
	<div align="$stylevar[right]">
		$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
		<a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]#post$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
	</div>
</div>
<else />
<div class="smallfont" align="$stylevar[right]">
	$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
	<a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</div>
</if>]]></template>
	</templategroup>
	<templategroup name="معلومات العضو/Member Info">
		<template name="memberinfo_block_aboutme" templatetype="template" date="1218454146" username="ابو راشد" version="3.7.2"><![CDATA[<div class="alt1 block_row">
<if condition="$show['simple_link']">
	<div id="simple_aboutme_link"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]&amp;tab=aboutme&amp;simple=1">$vbphrase[view_your_about_me]</a></div>
</if>
<if condition="$show['edit_link']">
	<div id="simple_aboutme_link"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]&amp;tab=aboutme">$vbphrase[edit_your_about_me]</a></div>
</if>
<ul class="list_no_decoration">
	$block_data[fields]
	<if condition="$prepared['signature']">
		<li class="profilefield_category">
			$vbphrase[signature]
			<dl class="list_no_decoration profilefield_list"><dd id="signature">$prepared[signature]</dd></dl>
		</li>
	</if>
</ul>
</div>]]></template>
		<template name="memberinfo_block_visitormessaging" templatetype="template" date="1218415918" username="ابو راشد" version="3.7.2"><![CDATA[<if condition="$show['quickcomment'] AND $show['post_visitor_message']">
	$block_data[clientscript]

	<div class="alt1 smallfont block_row">
		<form action="visitormessage.php?$session[sessionurl]do=message" method="post" name="vbform" id="message_form">
			<div align="center">
				<div style="max-width:$stylevar[formwidth]; width:auto !important; width:95%">

					<div style="display:none" id="qc_error_div" class="tborder">
						<div class="alt1 block_title">
							<div id="qc_error_header">$vbphrase[errors_occured_when_submitted]</div>
							<div id="qc_error_list">&nbsp;</div>
							<div id="qc_error_okay"><input type="button" class="button" value="$vbphrase[okay]" id="qc_hide_errors" /></div>
						</div>
					</div>

					<div class="smallfont messagetext">
						<if condition="$show['view_conversation']"><a href="converse.php?$session[sessionurl]u=$userinfo[userid]&amp;u2=$bbuserinfo[userid]" id="view_my_conversation_link"><phrase 1="$userinfo[username]">$vbphrase[view_your_conversation_with_x]</phrase></a></if>
						$vbphrase[message] : 

<!-- هاك عام ـ التحذير لرسائل الزوار -->
<font color="red">تحذير : رسائل الزوار التي تكتب هنا عامة ويقرأها الجميع وليست خاصة
</font><br /><br />
<!-- هاك عام ـ التحذير لرسائل الزوار -->

					</div>
					<div id="$block_data[editorid]" class="vBulletin_editor">$block_data[messagearea]</div>
					<if condition="$block_data['allowed_bbcode']"><div class="allowed_bbcode">$block_data[allowed_bbcode]</div></if>
					<div class="submit_button">
						<input type="hidden" name="fromquickcomment" value="1" />
						<input type="hidden" name="s" value="$session[sessionhash]" />
						<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
						<input type="hidden" name="do" value="message" />
						<input type="hidden" name="u" value="$userinfo[userid]" />
						<input type="hidden" name="u2" value="$userinfo2[userid]" />
						<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
						<input type="hidden" name="parseurl" value="1" />
						<input type="hidden" name="lastcomment" value="$block_data[lastcomment]" />
						<input type="hidden" name="allow_ajax_qc" value="$show[allow_ajax_qc]" />
						<input type="hidden" name="fromconverse" value="$block_data[fromconverse]" />

						<input type="submit" id="qr_submit" value="$vbphrase[post_message]" name="sbutton" class="button" accesskey="s" onclick="clickedelm = this.value" />
						<input type="submit" id="qr_preview" value="$vbphrase[go_advanced]" name="preview" class="button" accesskey="x" onclick="clickedelm = this.value" />
					</div>
				</div>
			</div>

			<div align="center" id="qc_posting_msg" style="display:none; margin-top:$stylevar[cellpadding]px">
				<img class="inlineimg" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[posting_comment] - $vbphrase[please_wait]" />
				<strong>$vbphrase[posting_message_please_wait]</strong>
			</div>
		</form>
	</div>
</if>

<if condition="$block_data['messagebits']">
	<div class="thead block_row" id="visitor_message_counters">
		<if condition="$show['inlinemod']"><a id="inlinemodsel">&nbsp;</a></if>
		<phrase 1="$block_data[messagestart]" 2="$block_data[messageend]" 3="$prepared[vm_total]">$vbphrase[showing_vms_x_to_y_of_z]</phrase>
	</div>
	<!-- inline moderation form -->
<if condition="$show['inlinemod']">
	<form action="member_inlinemod.php?u=$userinfo[userid]" method="post" id="visitor_message_inlinemod_form">
</if>
	<ol class="alt1 block_row list_no_decoration" id="message_list">
		$block_data[messagebits]
	</ol>

	<if condition="$show['inlinemod'] OR $block_data['pagenav']">
		<div class="alt2 block_row" id="visitor_message_tab_footer">
			<table cellpadding="0" cellspacing="0" border="0" width="100%">
			<tr valign="bottom">
				<if condition="$show['inlinemod']">
				<td class="smallfont" id="inlinemod_comment_controls">
					<div><label for="moderation_select_comments">$vbphrase[moderation]</label></div>
					<select id="moderation_select_comments" name="do">
						<if condition="$show['delete'] OR $show['undelete'] OR $show['approve']">
						<optgroup label="$vbphrase[option]" id="moderation_select_comments_optgroup">
							<if condition="$show['delete']">
								<option value="inlinedelete" id="inlinemod_comment_controls_delete">$vbphrase[delete_messages]</option>
							</if>
							<if condition="$show['undelete']">
								<option value="inlineundelete" id="inlinemod_comment_controls_undelete">$vbphrase[undelete_messages]</option>
							</if>
							<if condition="$show['approve']">
								<option value="inlineapprove" id="inlinemod_comment_controls_approve">$vbphrase[approve_messages]</option>
								<option value="inlineunapprove" id="inlinemod_comment_controls_unapprove">$vbphrase[unapprove_messages]</option>
							</if>
						</optgroup>
						</if>
						<optgroup label="____________________">
							<option value="clearmessage">$vbphrase[deselect_all_messages]</option>
						</optgroup>
					</select>
					<input type="submit" value="$vbphrase[go]" id="vmessage_inlinego" class="button" />
					<input type="hidden" name="s" value="$session[sessionhash]" />
					<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
					<input type="hidden" name="u" value="$userinfo[userid]" />
				</td>
				</if>
				<if condition="$block_data['pagenav']">
				<td class="smallfont" align="$stylevar[right]">
					$block_data[pagenav]
				</td>
				</if>
			</tr>
			</table>
		</div>
	</if>
</if>

<if condition="$show['quickcomment']">
	<script type="text/javascript" src="clientscript/vbulletin_quick_comment.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	var quick_comment = new vB_QuickComment("message_form", $vboptions[postminchars]);
	//-->
	</script>
</if>

<if condition="$block_data['messagebits']">
	<if condition="$show['inlinemod']">
		<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script>
		<script type="text/javascript">
		<!--
		inlineMod_comment = new vB_Inline_Mod('inlineMod_comment', 'vmessage', 'visitor_message_inlinemod_form', '$vbphrase[go_x]', 'vbulletin_inline', 'message');
		//-->
		</script>
	</if>
	<if condition="$show['inlinemod']">
		<script type="text/javascript">
		<!--
		vBmenu.register("inlinemodsel");
		//-->
		</script>

		</form>
		<!-- / inline moderation form -->

		<!-- inline mod selection popup -->
		<ul id="inlinemodsel_menu" class="vbmenu_popup list_no_decoration" style="display:none">
			<li class="thead first">$vbphrase[from_this_page]</li>
			<li class="vbmenu_option" onclick="inlineMod_comment.check_all(true)">$vbphrase[select_all]</li>
			<li class="vbmenu_option" onclick="inlineMod_comment.check_all(false)">$vbphrase[deselect_all]</li>
			<li class="vbmenu_option" onclick="inlineMod_comment.check_all('invert')">$vbphrase[invert_selection]</li>
			<if condition="$show['approve'] OR $show['undelete']"><li class="thead notext"><img src="$vboptions[cleargifurl]" alt="" width="1" height="1" /></li></if>
			<if condition="$show['approve']"><li class="vbmenu_option" onclick="inlineMod_comment.check_all(true, 1)">$vbphrase[select_unapproved_posts]</li></if>
			<if condition="$show['undelete']"><li class="vbmenu_option" onclick="inlineMod_comment.check_all(true, 2)">$vbphrase[select_deleted_posts]</li></if>
		</ul>
		<!-- / inline mod selection popup -->
	</if>
<else />
	<if condition="$block_data['fromconverse']">
		<div class="alt2 block_row">$vbphrase[no_visitor_messages_between_members]</div>
	<else />
		<div class="alt2 block_row"><phrase 1="$prepared[username]">$vbphrase[x_has_no_visitor_messages]</phrase></div>
	</if>
</if>]]></template>
		<template name="memberinfo_css" templatetype="template" date="1218454166" username="ابو راشد" version="3.7.2"><![CDATA[<style type="text/css" id="memberinfo_css">
<!--
#content_container {
	width:100%;
	float:$stylevar[left];
	margin-$stylevar[right]:-256px;
}
#content {
	margin-$stylevar[right]:256px;
}
#sidebar_container {
	width:250px;
	float:$stylevar[right];
}

.list_no_decoration {
	list-style-type:none;
	margin:0px;
	padding:0px;
}

div.fixed_width_avatar {
	text-align:center;
	width:60px;
}

/**
* Memberinfo Small
*/
li.memberinfo_small {
	margin-top:6px;
}
li.memberinfo_small div.fixed_width_avatar {
	margin-$stylevar[right]:6px;
}
li.memberinfo_small div.info_bar, #friends li.memberinfo_small div.info_bar {
	border-width:1px 0px 0px 0px;
	margin-bottom:6px;
}
li.memberinfo_small div.info_bar ul {
	padding:6px;
}
li.memberinfo_small ul.friend_im_list li {
	display:inline;
	margin-$stylevar[right]:3px;
}
li.memberinfo_small ul.friend_im_list img {
	vertical-align:middle;
}

/**
* Memberinfo Tiny
*/
li.memberinfo_tiny {
	height:105px;
	width:75px;
	overflow:hidden;
	float:$stylevar[left];
	text-align:center;
	margin:1px;
}

/**
* Tabs and Blocks
*/
.content_block {
	margin-bottom:6px;
	padding:$stylevar[cellspacing]px;
}
.content_block .block_row {
	padding:$stylevar[cellpadding]px;
	margin:$stylevar[cellspacing]px 0px 0px 0px;
}
.content_block .block_title {
	padding:$stylevar[cellpadding]px;
	margin:0px 0px 0px 0px;
}
/*.content_block h4.thead, .content_block .block_title {
	padding:4px;
	margin:$stylevar[cellspacing]px 0px 0px 0px;
}*/
.content_block .block_footer {
	text-align:$stylevar[right];
	padding:4px;
	margin:$stylevar[cellspacing]px 0px 0px 0px;
}
a.collapse_gadget {
	float:$stylevar[right];
}

/**
* Popup Menus Built With List Markup
*/
ul.vbmenu_popup li {
	padding:4px;
	margin:0px 1px 1px 1px;
	white-space:nowrap;
}
ul.vbmenu_popup li.first {
	margin:1px;
}
ul.vbmenu_popup li.notext {
	font-size:1px;
}

/**
* Override Menu CSS for 'Send Message' Menu
*/
#minicontact_menu li.vbmenu_option, #minicontact_menu li.vbmenu_hilite {
	padding:0px;
	padding-$stylevar[right]:4px;
}
#minicontact_menu li.vbmenu_option img, #minicontact_menu li.vbmenu_hilite img {
	padding:4px;
}

/**
* Profile Field List Title / Value Pairs
*/
dl.profilefield_list dd {
	margin-bottom:3px;
	margin-$stylevar[left]:16px;
}

/**
* Sidebar profile field blocks
*/
#sidebar_container dl.profilefield_list {
	font-size:8pt;
}

/**
* Top Panel
*/
#main_userinfo {
	margin-bottom:20px;
}
#main_userinfo #profilepic_cell {
	 border-bottom-width:0px;
	 padding:4px;
}
#main_userinfo .profilepic_adjacent {
	padding-$stylevar[left]:6px;
}
#main_userinfo h1 {
	font-size:8pt;
	font-weight:normal;
	margin:0px;
}
#main_userinfo h2 {
	font-size:8pt;
	font-weight:normal;
	margin:0px;
}
#reputation_rank {
	float:$stylevar[right];
}
#reputation {
	margin-bottom:6px;
	text-align:$stylevar[right];
}
#rank {
	margin-bottom:6px;
	text-align:$stylevar[right];
}
#send_message_cell {
	padding-bottom:6px;
	text-align:$stylevar[right];
}
#link_bar ul {
	padding:4px;
}
#link_bar li.thead {
	float:$stylevar[left];
	margin-$stylevar[right]:10px;
	white-space:nowrap;
	font-weight:normal;
	background:transparent;
}
#link_bar a {
	text-decoration:none;
}
#link_bar a:hover {
	text-decoration:underline;
}
#activity_info {
	border-top-width:0px;
}
#activity_info div.alt2 {
	padding:4px;
}
#link_bar #usercss_switch_link {
	float:$stylevar[right];
	margin-$stylevar[left]:3px;
	margin-$stylevar[right]:0px;
}

/**
* Visitor Messaging Tab
*/

#qc_error_div {
	text-align:$stylevar[left];
	margin-bottom:6px;
}
#qc_error_header {
	font-weight:normal;
}
#qc_error_okay {
	text-align:$stylevar[right];
}

#message_form {
	display:block;
	margin:0px;
}
#message_form textarea {
	width:98%;
	height:50px;
}
#message_form div.messagetext {
	text-align:$stylevar[left];
}
#message_form div.allowed_bbcode {
	float:$stylevar[left];
}
#message_form div.submit_button {
	text-align:$stylevar[right];
}

#visitor_messaging #inlinemodsel {
	float:$stylevar[right];
}

#visitor_messaging #view_my_conversation_link {
	float:$stylevar[right];
	text-decoration:none;
}

#visitor_message_inlinemod_form {
	margin:0px;
	display:block;
}

#message_list {
	border:none;
}
#message_list li {
	margin-bottom:6px;
}
#message_list div.fixed_width_avatar {
	margin-$stylevar[right]:6px;
	float:$stylevar[left];
}
#message_list div.visitor_message_avatar_margin {
	margin-$stylevar[left]:66px;
}
#message_list div.info_bar {
	border-width:1px 0px 0px 0px;
	margin-bottom:6px;
}
#message_list div.info_bar div.alt2 {
	padding:6px;
}
#message_list div.info_bar a.username {
	/*font-weight:normal;*/
}
#message_list .visitor_message_date {
	float:$stylevar[right];
}
#message_list .group_message_date {
	float:$stylevar[right];
}
#message_list .inlinemod_checkbox {
	float:$stylevar[right];
}
#message_list div.visitor_message_body {
	overflow:auto;
}
#message_list ul.controls {
	margin-top:6px;
	text-align:$stylevar[right];
}
#message_list ul.controls li {
	display:inline;
	margin-$stylevar[left]:6px;
}
#message_list ul.controls a:link, #message_list ul.controls a:visited {
	text-decoration:none;
}
#message_list .deletedmessage{
	float: $stylevar[left]
}

/**
* About Me Tab
*/
#aboutme li.profilefield_category {
	font-weight:normal;
	margin-top:6px;
}
#aboutme dl.profilefield_list {
	font-weight:normal;
	margin:6px 16px 0px 16px;
}
#aboutme dl.profilefield_list dd {
	margin-bottom:6px;
	margin-$stylevar[left]:0px;
}
#aboutme #signature {
	width:100%;
	overflow:auto;
}
#aboutme #simple_aboutme_link {
	text-align: $stylevar[right];
	display: block;
}

/**
* About Me Tab (Alternative)
*/
#aboutme2 dl.profilefield_list dd {
	margin-bottom:6px;
	margin-$stylevar[left]:0px;
}

/**
* Statistics Tab
*/
#stats fieldset.statistics_group {
	margin-top:6px;
}
#stats fieldset.statistics_group ul {
	padding:6px;
}
#stats fieldset.statistics_group ul li {
	margin-bottom:3px;
}

/**
* Statistics Tab (Alternative)
*/
#statistics2 ul.statistics_group li {
	margin-bottom:3px;
}

/**
* Friends Tab
*/
#friends a.edit_friends_link {
	float:$stylevar[right];
}
#friends_mini a.edit_friends_link {
	float:<if condition="$prepared['friendcount']">$stylevar[left]<else />$stylevar[right]</if>;
	<if condition="$prepared['friendcount']">margin-$stylevar[right]<else />margin-$stylevar[left]</if>:10px;
}

/**
* Infractions Tab
*/
div#infractions.content_block {
	padding:0px;
}

/**
* Contact Info Tab
*/
#contactinfo fieldset {
	margin-bottom:6px;
}
#contactinfo div.fieldset_padding {
	padding:6px;
}
#contactinfo #messaging_list li {
	margin-bottom:3px;
	margin-$stylevar[right]:16px;
	float:$stylevar[left];
	white-space:nowrap;
}
#contactinfo #instant_messaging_list li {
	margin-top:6px;
	margin-$stylevar[right]:6px;
	position:relative;
}
#contactinfo #instant_messaging_list .im_img_link {
	vertical-align: middle;
}
#contactinfo #instant_messaging_list .im_txt_link {
	position:absolute;
	$stylevar[left]:75px;
}
#contactinfo #additional_contact_details dd {
	margin-$stylevar[left]:0px;
	margin-bottom:6px;
}

/**
* Albums Block
*/
#albums_mini_list li {
	text-align:center;
	margin-bottom:6px;
}

/**
* Mini Friends Block
*/

#friends_mini_list a.username {
	display:block;
	margin-top:3px;
}
#friends_mini div.friends_counter {
	padding-bottom:6px;
}

/**
* Groups Block
*/
span.group_count {
	float:$stylevar[right];
}
ul.group_list {
	margin:6px 0px 0px 6px;
}
ul.group_list li {
	display:inline;
	margin-$stylevar[right]:3px;
}
#public_usergroup_list a:link, #public_usergroup_list a:visited {
	text-decoration:none;
}

/**
* Traffic Block
*/
ol.last_visitors_list {
	margin:0px;
	margin-top:6px;
}
ol.last_visitors_list li {
	display:inline;
	margin-$stylevar[right]:3px;
}

$template_hook[memberinfo_css]
-->
</style>]]></template>
		<template name="memberinfo_profilefield" templatetype="template" date="1218454182" username="ابو راشد" version="3.7.2"><![CDATA[<if condition="$show['profilefield_edit']">
	<dt class="smallfont" id="profilefield_title_$profilefield[profilefieldid]">$profilefield[title]</dt>
	<dd class="smallfont" id="profilefield_value_$profilefield[profilefieldid]">
		<br /> $profilefield[value] <br />
		<script type="text/javascript">
		<!--
		vBulletin.register_control("vB_ProfilefieldEditor", "$profilefield[profilefieldid]");
		//-->
		</script>
	<br /><br /></dd>
<else />
	<dt class="smallfont">$profilefield[title]</dt>
	<dd class="smallfont"><br /> $profilefield[value] <br /></dd>
</if>]]></template>
		<template name="memberinfo_profilefield_category" templatetype="template" date="1218454198" username="ابو راشد" version="3.7.2"><![CDATA[<if condition="$show['profile_category_title']">
	<li class="smallfont">$category[title]
		<if condition="$category['description']"><div class="smallfont">$category[description]</div></if><br /><br />
		<dl class="smallfont">
			$category[fields]
		</dl>
	</li>
<else /><br /><br />
	<dl class="smallfont">
		$category[fields]
	</dl>
</if>]]></template>
		<template name="memberinfo_visitormessage" templatetype="template" date="1218415983" username="ابو راشد" version="3.7.2"><![CDATA[<li id="vmessage$message[vmid]" class="floatcontainer">
<if condition="$message['avatarurl']">
	<div class="fixed_width_avatar">
		<if condition="$message['postuserid']"><a href="member.php?$session[sessionurl]u=$message[postuserid]"></if><img src="$message[avatarurl]" class="alt2 avatar"<if condition="$message['avatarwidth']"> width="$message[avatarwidth]"</if><if condition="$message['avatarheight']"> height="$message[avatarheight]"</if> border="0" alt="$message[username]" /><if condition="$message['postuserid']"></a></if>
	</div>
	<div class="visitor_message_avatar_margin">
</if>
		<div class="tborder info_bar">
			<div class="alt2 smallfont">
				<if condition="$show['inlinemod']"><input type="checkbox" class="inlinemod_checkbox" name="vmessagelist[$message[vmid]]" id="vmessagelist_$message[vmid]" value="$message[checkbox_value]" title="$vbphrase[select_this_item_for_inline_moderation]"  /></if>
				<div class="visitor_message_date">$message[date]<if condition="!$show['detailedtime']"> <span class="time">$message[time]</span></if></div>
				<if condition="$message['postuserid']">
					<a href="member.php?$session[sessionurl]u=$message[postuserid]" class="smallfont username">$message[musername]</a>
				<else />
					<span class="smallfont username">$message[musername]</span>
				</if>
				<if condition="$show['profile']">
					<div><phrase 1="member.php?$session[sessionurl]u=$message[profileuserid]&amp;vmid=$message[vmid]#vmessage$message[vmid]" 2="$message[profileusername]">$vbphrase[profile_x]</phrase></div>
				</if>
			</div>
		</div>

		<if condition="$show['moderation']"><div class="shade">$vbphrase[this_message_is_moderated]</div></if>
		<div class="visitor_message_body">$message[message]</div>

<!-- هاك عام ـ الرد على الرسائل الشخصية -->
<br /><br /><br /><a href="member.php?$session[sessionurl]u=$message[postuserid]#visitor_messaging">إضافة رد</a>
<!-- هاك عام ـ الرد على الرسائل الشخصية -->

	<if condition="$show['converse'] OR $show['edit'] OR $show['reportlink'] OR $message['messageipaddress']">
		<ul class="list_no_decoration controls">
			<if condition="$show['converse']">
				<li class="smallfont"><a href="converse.php?$session[sessionurl]u=$message[hostuserid]&amp;u2=$message[guestuserid]" title="$message[converse_description_phrase]">$vbphrase[view_conversation]</a></li>
			</if>
			<if condition="$show['edit']">
				<li class="smallfont"><a href="visitormessage.php?$session[sessionurl]u=$userinfo[userid]&amp;do=message&amp;vmid=$message[vmid]">$vbphrase[edit]</a></li>
			</if>
			<if condition="$show['reportlink']">
				<li class="smallfont"><a href="visitormessage.php?$session[sessionurl]do=report&amp;vmid=$message[vmid]">$vbphrase[report]</a></li>
			</if>
			<if condition="$message['messageipaddress']">
				<li class="smallfont"><a href="visitormessage.php?do=viewip&amp;vmid=$message[vmid]">$vbphrase[ip]</a></li>
			</if>
		</ul>
	</if>
<if condition="$message['avatarurl']">
	</div>
</if>
</li>]]></template>
	</templategroup>
	<templategroup name="المتصفح/المستكشف Navigation / Breadcrumb">
		<template name="navbar" templatetype="template" date="1219932253" username="ابو راشد" version="3.7.2"><![CDATA[<br />

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="alt1" width="100%">
		<if condition="is_array($navbits)">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr valign="bottom">
				<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
				<td>&nbsp;</td>
				<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
			</tr>
			<tr>
				<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="" border="0" /><else /><a href="$navbar_reloadurl"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
			</tr>
			</table>
		<else />
			<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
		</if>
	</td>
<if condition="$show['member']">
	<td class="alt2" nowrap="nowrap">
	<div class="smallfont">
		<strong><phrase 1="$bbuserinfo[musername]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
		<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>

		<if condition="$show['notifications'] AND $show['popups']">
			<div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
			<script type="text/javascript"> vBmenu.register("notifications"); </script>
		<else /><if condition="$show['pmstats']">
			<div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></div>
		</if></if>

		<if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
	</div>
	</td>
<else />
	<td class="alt2" nowrap="nowrap" style="padding:0px">
		<!-- login form -->
		<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
		<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
		<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
		<tr>
			<td class="smallfont" nowrap style="white-space: nowrap;"><label for="navbar_username">$vbphrase[username]</label></td>
			<td><input type="text" class="bginput" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
			<td class="smallfont" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" checked accesskey="c" />$vbphrase[remember_me]</label></td>
		</tr>
		<tr>
			<td class="smallfont" nowrap><label for="navbar_password">$vbphrase[password]</label></td>
			<td><input type="password" class="bginput" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
			<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
		</tr>
		</table>
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="login" />
		<input type="hidden" name="vb_login_md5password" />
		<input type="hidden" name="vb_login_md5password_utf" />
		</form>
		<!-- / login form -->
	</td>
</if>
</tr>
</table>
<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
	<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
	<tr align="center">

		$template_hook[navbar_buttons_left]

<!-- قائمة منوعات المنسدلة -->
<td class="thead" align="center" id="mwadropmemoreoptions">
<a href="#">منوعات</a>
<script type="text/javascript"> vbmenu_register("mwadropmemoreoptions", false); </script>
<div class="vbmenu_popup" id="mwadropmemoreoptions_menu" style="display:none; margin-left:100px;" align="right">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<tr><td class="thead" align="center" width="150" nowrap>
روابط إضافية
</td></tr>

<tr><td class="vbmenu_option" align="right">
<img src="$stylevar[imgdir_misc]/menu.gif" align="absmiddle">
<a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a>
</td></tr>

<tr><td class="vbmenu_option" nowrap="nowrap">
<span onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('$vboptions[bburl]');">
<img src="$stylevar[imgdir_misc]/menu.gif" align="absmiddle">
<a href="javascript:location.reload()">اجعلنا الرئيسية</a></span>
</td></tr>

<tr><td class="vbmenu_option" nowrap="nowrap">
<img src="$stylevar[imgdir_misc]/menu.gif" align="absmiddle">
<a href="javascript:window.external.AddFavorite('$vboptions[bburl]', '$vboptions[bbtitle]')">
اضفنا في مفضلتك</a>
</td></tr>

</td></tr></table></div></td>
<!-- نهاية قائمة منوعات المنسدلة -->

		<if condition="$show['popups']">
			<if condition="$show['searchbuttons']">
				<if condition="$show['member']">
				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
				<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
			</if>
			<if condition="$show['member']">
				<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
			</if>
		<else />
			<if condition="$show['searchbuttons']">
				<td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
				<if condition="$show['member']">
				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
			</if>
			<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
			<if condition="$show['member']">
				<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_contacts]</a></td>
			</if>
		</if>
		$template_hook[navbar_buttons_right]
		</tr>
	</table>
</div>
<!-- / nav buttons bar -->

<br />

<if condition="$show['notices']">
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="thead">$vbphrase[notices]</td>
	</tr>
	<tr>
		<td class="alt1">$notices</td>
	</tr>
	</table>
	<br />
</if>

<if condition="$show['forumdesc']">
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
	</tr>
	</table>
	<br />
</if>

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

	<if condition="$show['searchbuttons']">
	<!-- header quick search form -->
	<div class="vbmenu_popup" id="navbar_search_menu" style="display:none" align="$stylevar[left]">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr>
			<td class="thead">$vbphrase[search_forums]</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
				<form action="search.php?do=process" method="post">

					<input type="hidden" name="do" value="process" />
					<input type="hidden" name="quicksearch" value="1" />
					<input type="hidden" name="childforums" value="1" />
					<input type="hidden" name="exactname" value="1" />
					<input type="hidden" name="s" value="$session[sessionhash]" />
					<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
					<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
					<div style="margin-top:$stylevar[cellpadding]px">
						<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
						&nbsp;
						<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
					</div>
				</form>
			</td>
		</tr>
		<if condition="$vboptions[threadtagging]">
		<tr>
			<td class="vbmenu_option"><a href="tags.php$session[sessionurl_q]" rel="nofollow">$vbphrase[tag_search]</a></td>
		</tr>
		</if>
		<tr>
			<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
		</tr>

<!-- هاك عام ـ البحث في العناوين -->
<tr><td class="vbmenu_option">
<input type="checkbox" name="titleonly" value="1" /> $vbphrase[search_titles_only]
</td></tr>
<!-- هاك عام ـ البحث في العناوين -->

<!-- هاك عام ـ روابط بحث أخرى -->
		<tr>
			<td class="thead">روابط بحث أخرى</td>
		</tr>
		<tr>
			<td class="vbmenu_option"><a href="search.php" accesskey="4" rel="nofollow">البحث المتقدم</a></td>
		</tr>
<tr><td class="vbmenu_option"><a href="memberlist.php?do=search">بحث في قائمة الأعضاء</a></td></tr>
		<tr>
<td class="vbmenu_option"><a href="search.php?do=getnew">مشاركات جديدة</a></td>
		</tr>
		<tr>
			<td class="vbmenu_option"><a href="search.php?do=getdaily">مشاركات اليوم</a></td>
		</tr>

		<tr>
			<td class="vbmenu_option"><a href="search.php?do=process&replyless=1">مواضيع لم يرد عليها</a></td>
		</tr>

<if condition="$vboptions['enablesearches']">
<if condition="$show['member']">
<tr><td class="vbmenu_option" align="right">
<a href="search.php?do=process&exactname=1&searchuser=$bbuserinfo[username]&showposts=1">عرض مشاركاتك</a>
</td></tr></if></if>

<if condition="$show['member']">
<tr><td class="vbmenu_option" align="right">
<a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a>
</td></tr></if>
<!-- هاك عام ـ روابط بحث أخرى -->

		$template_hook[navbar_search_menu]
		</table>
	</div>
	<!-- / header quick search form -->
	</if>

	<if condition="$show['member']">
	<!-- user cp tools menu -->
	<div class="vbmenu_popup" id="usercptools_menu" style="display:none" align="$stylevar[left]">
		<table cellpadding="4" cellspacing="1" border="0">

		<tr><td class="thead">$vbphrase[quick_links]</td></tr>
		<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
		<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_contacts]</a></td></tr>
		$template_hook[navbar_quick_links_menu_pos1]

		<tr><td class="thead">$vbphrase[networking]</td></tr>
		<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=buddylist"><if condition="$show['friends_and_contacts']">$vbphrase[contacts_and_friends]<else />$vbphrase[contacts]</if></a></td></tr>
		<if condition="$show['quick_links_groups']">
			<tr><td class="vbmenu_option"><a href="group.php$session[sessionurl_q]">$vbphrase[social_groups]</a></td></tr>
		</if>
		<if condition="$show['quick_links_albums']">
			<tr><td class="vbmenu_option"><a href="album.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[pictures_and_albums]</a></td></tr>
		</if>
		$template_hook[navbar_quick_links_menu_pos2]

		<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
		<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
		<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
		<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_your_details]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
		$template_hook[navbar_quick_links_menu_pos3]

		<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
		<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
		<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[your_profile]</a></td></tr>
		<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
		$template_hook[navbar_quick_links_menu_pos4]

		</table>
	</div>
	<!-- / user cp tools menu -->

	<if condition="$notifications_total">
	<!-- notifications menu -->
	<div class="vbmenu_popup" id="notifications_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr><td class="thead" colspan="2">$vbphrase[your_notifications]</td></tr>
		$notifications_menubits
		</table>
	</div>
	<!-- / notifications menu -->
	</if>

	</if>
<!-- / NAVBAR POPUP MENUS -->

<!-- PAGENAV POPUP -->
	<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr>
			<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
			<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
				<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
				<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
			</form>
			</td>
		</tr>
		</table>
	</div>
<!-- / PAGENAV POPUP -->
</if>

$ad_location[ad_navbar_below]]]></template>
		<template name="navbar_link" templatetype="template" date="1218414424" username="ابو راشد" version="3.7.2"><![CDATA[<if condition="$show['breadcrumb']">
	<span class="navbar"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" align="absmiddle" />&nbsp;<a href="$nav_url">$nav_title</a></span>
<else />
	$nav_title
</if>]]></template>
	</templategroup>
	<templategroup name="رسالة خاصة">
		<template name="pm_popup_script" templatetype="template" date="1218414117" username="ابو راشد" version="3.7.2"><![CDATA[<style type="text/css">

#fadeinbox{
position:absolute;
width: 400px;
left: 0;
top: -400px;
padding: 4px;
z-index: 100;
visibility:hidden;
}

</style>

<script type="text/javascript">

//Specify display mode. 3 possible values are:
//1) "always"- This makes the fade-in box load each time the page is displayed
//2) "oncepersession"- This uses cookies to display the fade-in box only once per browser session
//3) integer (ie: 5)- Finally, you can specify an integer to display the box randomly via a frequency of 1/integer...
// For example, 2 would display the box about (1/2) 50% of the time the page loads.

var displaymode="always"

var enablefade="yes" //("yes" to enable fade in effect, "no" to disable)
var autohidebox=["yes", 60] //Automatically hide box after x seconds? [yes/no, if_yes_hide_after_seconds]
var showonscroll="yes" //Should box remain visible even when user scrolls page? ("yes"/"no)
var IEfadelength=1 //fade in duration for IE, in seconds
var Mozfadedegree=0.05 //fade in degree for NS6+ (number between 0 and 1. Recommended max: 0.2)

////////No need to edit beyond here///////////

if (parseInt(displaymode)!=NaN)
var random_num=Math.floor(Math.random()*displaymode)

function displayfadeinbox(){
var ie=document.all && !window.opera
var dom=document.getElementById
iebody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body
objref=(dom)? document.getElementById("fadeinbox") : document.all.fadeinbox
var scroll_top=(ie)? iebody.scrollTop : window.pageYOffset
var docwidth=(ie)? iebody.clientWidth : window.innerWidth
docheight=(ie)? iebody.clientHeight: window.innerHeight
var objwidth=objref.offsetWidth
objheight=objref.offsetHeight
objref.style.left=docwidth/2-objwidth/2+"px"
objref.style.top=scroll_top+docheight/2-objheight/2+"px"

if (showonscroll=="yes")
showonscrollvar=setInterval("staticfadebox()", 50)

if (enablefade=="yes" && objref.filters){
objref.filters[0].duration=IEfadelength
objref.filters[0].Apply()
objref.filters[0].Play()
}
objref.style.visibility="visible"
if (objref.style.MozOpacity){
if (enablefade=="yes")
mozfadevar=setInterval("mozfadefx()", 90)
else{
objref.style.MozOpacity=1
controlledhidebox()
}
}
else
controlledhidebox()
}

function mozfadefx(){
if (parseFloat(objref.style.MozOpacity)<1)
objref.style.MozOpacity=parseFloat(objref.style.MozOpacity)+Mozfadedegree
else{
clearInterval(mozfadevar)
controlledhidebox()
}
}

function staticfadebox(){
var ie=document.all && !window.opera
var scroll_top=(ie)? iebody.scrollTop : window.pageYOffset
objref.style.top=scroll_top+docheight/2-objheight/2+"px"
}

function hidefadebox(){
objref.style.visibility="hidden"
if (typeof showonscrollvar!="undefined")
clearInterval(showonscrollvar)
}

function controlledhidebox(){
if (autohidebox[0]=="yes"){
var delayvar=(enablefade=="yes" && objref.filters)? (autohidebox[1]+objref.filters[0].duration)*1000 : autohidebox[1]*1000
setTimeout("hidefadebox()", delayvar)
}
}

function initfunction(){
setTimeout("displayfadeinbox()", 1)
}

function get_cookie(Name) {
var search = Name + "="
var returnvalue = ""
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset)
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}


if (displaymode=="oncepersession" && get_cookie("fadedin")=="" || displaymode=="always" || parseInt(displaymode)!=NaN && random_num==0){
if (window.addEventListener)
window.addEventListener("load", initfunction, false)
else if (window.attachEvent)
window.attachEvent("onload", initfunction)
else if (document.getElementById)
window.onload=initfunction
document.cookie="fadedin=yes"
}


</script>

<DIV id="fadeinbox" onclick="hidefadebox();return false" style="filter:progid:DXImageTransform.Microsoft.RandomDissolve(duration=1) progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135) ; -moz-opacity:0">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
		<tr>
			<td class="tcat" align="center">
				<span class="smallfont" style="float:$stylevar[right]"><a href="#" onclick="hidefadebox();return false">إغلاق</a></span>
					يوجد لك رسالة خاصة جديدة
			</td>
		</tr>
		<tr>
			<td class="panelsurround" align="center">
				<div class="panel">
					<div align="$stylevar[center]">
						<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
							<tr>
		<td align="center">
									الرسالة الخاصة من $newpm[fromusername], بعنوان '$newpm[title]'
									<br />
								</td>
							</tr>
							<tr>
								<td align="center">
									<br /><br />
									<a href="#" onclick='window.open("private.php?do=showpm&pmid=$newpm[pmid]", "pmbox");expandit("pm_popup");window.focus("pmbox");' >عرض الرسالة</a>
									<br /><br />
									<a href="#"  onclick='window.open("private.php", "pmbox");expandit("pm_popup");window.focus("pmbox");' >عرض الرسائل الواردة</a><br><br>
								</td>
							</tr>
						</table>
					</div>
				</div>


				<div style="margin-top:$stylevar[cellpadding]px">
					<form><input type="button" class="button" value="إغلاق" onclick="hidefadebox();return false" /></form>
				</div>
			</td>
		</tr>
	</table>

<br>
<align="center" valign="middle">
</DIV>
]]></template>
	</templategroup>
	<templategroup name="المشاركة/Postbit">
		<template name="postbit_attachment" templatetype="template" date="1218418083" username="ابو راشد" version="3.7.2"><![CDATA[<table width="100%">
<tr><td colspan="9" align="right">
<font color="red">
تحذير : يتوجب عليك فحص الملفات للتأكد من خلوها من الفيروسات والمنتدى غير مسؤول عن أي ضرر ينتج عن إستخدام هذا المرفق .</font>
</td></tr>
<tr><td align="center" valign="middle" style="padding:10px" nowrap>

<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>>
<img class="inlineimg" src="$stylevar[imgdir_misc]/download.gif" border="0" style="vertical-align:absmiddle; cursor:hand" hspace="0" title="نقره لتحميل الملف">

<br>تحميل الملف
</a>

</td><td width="100%" align="right">

إسم الملف : <a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>>$attachment[filename]</a><br>

<phrase 1="$attachment[attachmentextension]">$vbphrase[file_type_x]</phrase> <img class="inlineimg" src="$stylevar[imgdir_attach]/$attachment[attachmentextension].gif" alt="" width="16" height="16" border="0" style="vertical-align:basmiddle" /><br>

حجم الملف : $attachment[filesize]<br>

<phrase 1=" : $attachment[counter]">$vbphrase[x_views]</phrase><br>

</td></tr></table>]]></template>
		<template name="postbit_ip" templatetype="template" date="1218414168" username="ابو راشد" version="3.7.2"><![CDATA[<if condition="$show['ip']"> 
    $vbphrase[ip]: $post[ip] 
<else /> 
    <a href="postings.php?$session[sessionurl]do=getip&amp;p=$post[postid]"> 
<img class="inlineimg" src="http://api.hostip.info/flag.php?ip={$post[ip]}" alt="$vbphrase[ip]" title="$post[ip]" border="0" width="50" /></a> 
</if> ]]></template>
		<template name="postbit_legacy" templatetype="template" date="1218589465" username="ابو راشد" version="3.7.2"><![CDATA[$template_hook[postbit_start]

<table class="tborder" id="post$post[postid]" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
	<td class="thead" colspan="99" $post[scrolltothis]>
		<div class="normal" style="float:$stylevar[right]">
			&nbsp;
			<if condition="$show['postcount']">مشاركة رقم : <a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]">$post[postcount]</a> &nbsp;</if>
			<if condition="$show['inlinemod']">
			<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
			</if>
		</div>
		
		<div class="normal">
			<!-- status icon and date -->
			<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
			<if condition="!$show['announcement']">
				$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
			<else />
				<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
			</if>
			$post[firstnewinsert]
			<!-- / status icon and date -->
		</div>
	</td>
</tr><tr></tr><tr></tr>

<tr><td class="alt1" id="td_post_$post[postid]" valign="top">

<!-- بداية الموضوع يمين ويسار -->
<table cellpadding="0" cellspacing="0" width="100%"><tr>

<!-- بداية الموضوع يمين -->
<td class="alt4" align="center" valign="top" rowspan="2" width="210">

<div style="padding-left:15px; padding-right:13px; padding-top:5px">
<table cellpadding="1" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr><td class="alt3" align="center" style="padding-top: 10px">

		<!-- user info -->
				<div id="postmenu_$post[postid]">
					<if condition="$show['profile']">
					<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
					<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
					<else />
					$post[musername]
					</if>
				</div>

						<if condition="$show['avatar']"><div style="padding:10px">
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></div></if>
			
				<if condition="$post['usertitle']">$post[usertitle]<br /></if>
				<if condition="$post['rank']"><div class="smallfont" style="padding-top: 10px">$post[rank]</div><br /></if>
				$template_hook[postbit_userinfo_left]

</td></tr>

<tr></tr><tr></tr>

<!-- هاك عام ـ رقم العضوية -->
<tr><td class="alt3" align="right">
<div class="smallfont" style="padding:2px">
رقم العضوية : $post[userid]
<div>
</td></tr>
<!-- هاك عام ـ رقم العضوية -->

<!-- تاريخ التسجيل -->
<if condition="$post['joindate']">
<tr><td class="alt3" align="right">
<div class="smallfont" style="padding:2px">
$vbphrase[join_date] : $post[joindate]
<div>
</td></tr></if>
<!-- تاريخ التسجيل -->

<!-- الدولة -->
<if condition="$post['field2']">
<tr><td class="alt3" align="right">
<div class="smallfont" style="padding:2px">
$vbphrase[location_perm] : $post[field2]
<div>
</td></tr></if>
<!-- الدولة -->

<!-- العمر -->
<if condition="$post['age']">
<tr><td class="alt3" align="right">
<div class="smallfont" style="padding:2px">
$vbphrase[age] : $post[age]
<div>
</td></tr></if>
<!-- العمر -->

<!-- المشاركات -->
<tr><td class="alt3" align="right">
<div class="smallfont" style="padding:2px">
$vbphrase[posts] : $post[posts]
<div>
</td></tr>
<!-- المشاركات -->

<!-- هاك عام ـ بمعدل -->
<tr><td class="alt3" align="right">
<div class="smallfont" style="padding:2px">
بمعدل : $post[postsperday] يوميا
<div>
</td></tr>
<!-- هاك عام ـ بمعدل -->

$template_hook[postbit_userinfo_right_after_posts]

<!-- الإنذارات -->
<if condition="$show['infraction']">
<tr><td class="alt3" align="right">
<div class="smallfont" style="padding:2px">
$vbphrase[infractions] : $post[warnings]/$post[infractions] ($post[ipoints])
<div>
</td></tr></if>
<!-- الإنذارات -->

<!-- التقييم والمستوى -->
<if condition="$show['reputation']">
<if condition="$show['reppower']">
<tr><td class="alt3" align="right">
<div class="smallfont" style="padding:2px">
$vbphrase[reppower] : <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span>
<div>
</td></tr>
<tr><td class="alt3" align="right">
<div class="smallfont" style="padding:2px">
<span id="repdisplay_$post[postid]_$post[userid]">المستوى : $post[reputationdisplay]</span>
<div>
</td></tr>
</if></if>
<!-- التقييم والمستوى -->

<tr><td class="alt3" align="center">
<div class="mwapost" style="padding:2px">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</td></tr>

<tr><td>
$template_hook[postbit_userinfo_right]
</td></tr>
				
		<!-- / user info -->

</table></div><br />
					$post[onlinestatus]

<!-- هاك عام ـ وضع رابط لألبوم صور العضو -->
<a href="album.php?u=$post[userid]" title="عرض البوم صور $post[username]" rel="nofollow"><img src="images/buttons/add_album.png" alt="عرض البوم صور $post[username]" border="0"/></a>
<!-- هاك عام ـ وضع رابط لألبوم صور العضو -->

			<if condition="$show['reputationlink']">
				<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
				<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
			</if>
			<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> &nbsp;</if>
			<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>
			<br /><br />$post[iplogged]

<br /><br />
<img src="$stylevar[imgdir_misc]/post.gif" alt="" border="0" />
</td>
<!-- نهاية الموضوع يمين -->

<!-- بداية الموضوع يسار -->
<td valign="top" style="padding:10px">
	<!-- message, attachments, sig -->
	
		$template_hook[postbit_messagearea_start]

<if condition="$thread['firstpostid'] != $post['postid']">
<font color="#000000">كاتب الموضوع : </font>
<a target="_blank" href="member.php?$session[sessionurl]u=$thread[postuserid]" title="المزيد من المعلومات عن $thread[postusername]">
$thread[postusername]</a>
</if>

<if condition="THIS_SCRIPT != 'private'">
<font color="#000000">المنتدى : </font>
<a target="_blank" href="forumdisplay.php?f=$forum[forumid]" title="الإنتقال لمنتدى $forum[title]">
$forum[title]</a></if>

<!-- الموضوع والأيقونة -->
<!-- icon and title -->
<if condition="$show['messageicon'] OR $post['title']">
<div class="smallfont" style="text-align:right">
<if condition="$show['messageicon']">
<font face="arial" size="4">
<img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']">
<font face="Arial" size="4"><b>$post[title]</b></font></if></div></if>
<!-- / icon and title -->
<!-- الموضوع والأيقونة -->

		<!-- message -->
		<div id="post_message_$post[postid]">
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->
<center><font size="4">
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->

<br />$post[message]<br /><br />

<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->
</center></font>
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->

</div>
		<!-- / message -->
</td></tr><tr><td cellspacing="2" style="padding:10px" valign="bottom">

<!-- المرفقات -->
		<if condition="$show['attachments']">
		<!-- attachments -->
<br />
			<if condition="$show['otherattachment']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead1" align="right">$vbphrase[attached_files]</td></tr>
<tr><td class="alt5" align="right">
$post[otherattachments]
</td></tr></table><br />
			</if>
			
			<if condition="$show['moderatedattachment']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead1" align="right">$vbphrase[attachments_pending_approval]</td></tr>
<tr><td class="alt5" align="right">
$post[moderatedattachments]
</td></tr></table><br />
			</if>

			<if condition="$show['thumbnailattachment']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead1" align="right">$vbphrase[attached_thumbnails]</td></tr>
<tr><td class="alt5" align="right">
$post[thumbnailattachments]
</td></tr></table><br />
			</if>
		
			<if condition="$show['imageattachment']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead1" align="right">$vbphrase[attached_images]</td></tr>
<tr><td class="alt5" align="right">
$post[imageattachments]
</td></tr></table><br />
			</if>
			
			<if condition="$show['imageattachmentlink']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead1" align="right">$vbphrase[attached_images]</td></tr>
<tr><td class="alt5" align="right">
$post[imageattachmentlinks]
</td></tr></table><br />
			</if>
		<!-- / attachments -->
		</if>
<!-- المرفقات -->
		
		$template_hook[postbit_signature_start]

<!-- التوقيع -->
<if condition="$post['signature']">
<!-- sig -->
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead1" align="center">توقيع $post[musername]</td></tr>
<tr><td class="alt5" align="center">
<br />$post[signature]<br /><br />
</td></tr></table><br />
<!-- / sig -->
</if>
<!-- التوقيع -->

		$template_hook[postbit_signature_end]

<!-- رسالة التعديل الأخير -->
		<if condition="$show['postedited']">
		<!-- edit note -->
<table class="tborder" cellpadding="8" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="alt5" align="center">
<font color="red">
<if condition="$post['editlink'] AND $show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</font></td></tr></table><br />
		<!-- / edit note -->
		</if>
<!-- رسالة التعديل الأخير -->

	<!-- message, attachments, sig -->
	
		<div style="padding: 0px;" align="left">
			<!-- controls -->
			<if condition="$post['editlink']">
				<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
				<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
			</if>
			<if condition="$post['forwardlink']">
				<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
			</if>
			<if condition="$post['replylink']">
				<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
			</if>

<if condition="$show['largereplybutton']">
<a href="newreply.php?do=newreply&noquote=1&p=$post[postid]">
<img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" />
</a>
</if>

			<if condition="$show['multiquote_post']">
				<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
			</if>
			<if condition="$show['quickreply'] AND !$show['threadedmode']">
				<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
			</if>
			<if condition="$show['moderated']">
				<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
			</if>
			<if condition="$show['spam']">
				<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
			</if>
			<if condition="$show['deletedpost']">
				<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
			</if>
			<if condition="$show['redcard']">
				<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
			<else />
				<if condition="$show['yellowcard']">
					<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
				</if>
			</if>
			$template_hook[postbit_controls]
			<!-- / controls -->
		</div>

</td>
<!-- نهاية الموضوع يسار -->

</tr></table>
<!-- نهاية الموضوع يمين ويسار -->

</td></tr><tr></tr><tr></tr></table>

$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$post[username]</td>
	</tr>
	<if condition="$show['profile']">
		<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
	</if>
	<if condition="$show['pmlink']">
		<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
	</if>
	<if condition="$show['emaillink']">
		<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
	</if>
	<if condition="$show['homepage']">
		<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
	</if>
	<if condition="$show['search']">
		<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
	</if>
	<if condition="$post['userid'] AND $show['member']">
	<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
	</if>

	$template_hook[postbit_user_popup]
	</table>
</div>
<!-- / post $post[postid] popup menu -->]]></template>
	</templategroup>
	<templategroup name="أيقونة المشاركة">
		<template name="posticonbit" templatetype="template" date="1218414187" username="ابو راشد" version="3.7.2"><![CDATA[<td class="alt2"><input type="radio" name="iconid" value="$iconid" id="rb_iconid_$iconid" tabindex="1" onclick="swap_posticon('pi_$iconid')" $iconchecked /></td>
<td class="alt1" width="12%"><label for="rb_iconid_$iconid"><img src="$iconpath" alt="$alttext" id="pi_$iconid" onclick="rb_iconid_$iconid.click()" /></label></td>
]]></template>
		<template name="posticons" templatetype="template" date="1218414197" username="ابو راشد" version="3.7.2"><![CDATA[<if condition="$show['posticons']">
	<script type="text/javascript">
	<!--
	function swap_posticon(imgid)
	{
		var out = fetch_object("display_posticon");
		var img = fetch_object(imgid);
		if (img)
		{
			out.src = img.src;
			out.alt = img.alt;
		}
		else
		{
			out.src = "$vboptions[cleargifurl]";
			out.alt = "";
		}
	}
	// -->
	</script>
		<div style="padding:$stylevar[formspacer]px">
			<table class="alt2" cellpadding="0" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
			<tr>
				<td class="thead" colspan="15"><div style="margin-bottom:$stylevar[formspacer]px">$vbphrase[may_choose_icon_for_message]:</div></td>
			</tr>
			<tr>
				<td class="alt1" width="12%" nowrap="nowrap"><label for="rb_iconid_0"><input type="radio" name="iconid" value="0" id="rb_iconid_0" tabindex="1" onclick="swap_posticon(null)" $iconchecked />$vbphrase[no_icon] &nbsp; &nbsp;</label></td>
				$posticonbits
				<if condition="$show['addedspan']"><td class="alt1" colspan="$remainingspan">&nbsp;</td></if>
			</tr>
			</table>
		</div>
<else />
	<input type="hidden" name="iconid" value="0" />
</if>]]></template>
	</templategroup>
	<templategroup name="مشاهدة الموضوع/Show Thread">
		<template name="SHOWTHREAD" templatetype="template" date="1218455832" username="ابو راشد" version="3.7.2"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	$headinclude
	<title>$thread[prefix_plain_html] $thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
	<script type="text/javascript" src="clientscript/vbulletin_post_loader.js?v=$vboptions[simpleversion]"></script>
	<style type="text/css" id="vbulletin_showthread_css">
	<!--
	<if condition="$show['tag_box']">
	#tag_edit_list { list-style:none; margin:0px; padding:0px; }
	#tag_edit_list li { float:$stylevar[left]; display:block; width:200px; }
	#tag_edit_list li.mine { font-weight:bold; }
	</if>
	#links div { white-space: nowrap; }
	#links img { vertical-align: middle; }
	-->
	</style>
</head>
<body onload="$onload">
$header
$navbar

$poll

<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php?threadid=$threadinfo[threadid]&amp;p=$postid" method="post" id="inlinemodform">
$spacer_open
</if>

<a name="poststop" id="poststop"></a>

<!-- controls above postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<if condition="$show['largereplybutton']">
		<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
	<else />
		<td class="smallfont">&nbsp;</td>
	</if>
	<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above postbits -->

<!-- toolbar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
	<td class="tcat" width="100%">
		<div class="smallfont">
<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->
<div class="smallfont" style="float:right" nowrap>

<a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" title="بحث في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/searchme.gif" style="cursor: hand" border="0"></a>

<if condition="$forum[statusicon]=='new'">
<a href="search.php?$session[sessionurl]do=getnew&include=$foruminfo[forumid]" title="عرض المشاركات الجديدة في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/findme.gif" style="cursor: hand" border="0"></a></if>

<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" title="إضافة موضوع جديد في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/newme.gif" style="cursor: hand" border="0"></a> 

<if condition="$vboptions['externalrss']"><a target="_blank" href="external.php?type=rss2&forumids=$foruminfo[forumid]"><img src="$stylevar[imgdir_misc]/rss.gif" border="0" alt="اشترك في استلام آخر مواضيع القسم" /></a> </if>

</div>&nbsp;
<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->

		<if condition="$show['firstunreadlink']">
			<a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
			<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
		</if>
		&nbsp;
		</div>
	</td>
	<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
		<a href="$show[nojs_link]#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>
		<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
	</td>
	<if condition="$show['search']">
		<td class="vbmenu_control" id="threadsearch" nowrap="nowrap">
			<a href="$show[nojs_link]#goto_threadsearch">$vbphrase[search_this_thread]</a>
			<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>
		</td>
	</if>
	<if condition="$show['threadrating']">
		<td class="vbmenu_control" id="threadrating" nowrap="nowrap">
			<a href="$show[nojs_link]#goto_threadrating"><span id="threadrating_current"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></span></a>
			<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
		</td>
	</if>
	<if condition="$vboptions['allowthreadedmode']">
	<td class="vbmenu_control" id="displaymodes" nowrap="nowrap">
		<a href="$show[nojs_link]#goto_displaymodes">$vbphrase[display_modes]</a>
		<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
	</td>
	</if>

	<if condition="$show['inlinemod']">
		<if condition="$show['popups']">
			<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"><script type="text/javascript"> vbmenu_register('imod'); </script></td>
		<else />
			<td class="thead" align="center">
				<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
			</td>
		</if>
	</if>

</tr>
</table>
<!-- / toolbar -->

<if condition="$show['inlinemod'] AND $show['popups']">
	<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
		$threadadmin_imod_menu_post
	</div>
</if>

<!-- end content table -->
$spacer_close
<!-- / end content table -->

<if condition="$show['threadedmode'] OR $show['hybridmode']">
<!-- thread posts list -->
$threadlist
<!-- /thread posts list -->
</if>

<if condition="$show['reputation']">
<script type="text/javascript" src="clientscript/vbulletin_ajax_reputation.js?v=$vboptions[simpleversion]"></script>
</if>

<div id="posts">$postbits<div id="lastpost"></div></div>

<!-- start content table -->
$spacer_open
<!-- / start content table -->

<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:$stylevar[margin_3px_fix]px">
<tr valign="top">
	<if condition="$show['largereplybutton']">
		<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
	<else />
		<td class="smallfont">&nbsp;</td>
	</if>
	<if condition="$show['pagenav'] OR $show['inlinemod']">
		<td align="$stylevar[right]">$pagenav
		<if condition="$show['inlinemod']">
			<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
			<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
			<select name="do">
				<if condition="$show['managethread'] OR $show['spamctrls'] OR $show['managepost'] OR $show['approvepost'] OR $show['approveattachment'] OR $template_hook['inlinemod_post_bottom']">
				<optgroup label="$vbphrase[option]">
					<if condition="$show['managethread']">
					<option value="mergeposts">$vbphrase[merge_posts]</option>
					<option value="moveposts">$vbphrase[move_posts]</option>
					<option value="copyposts">$vbphrase[copy_posts]</option>
					</if>
					<if condition="$show['spamctrls']">
					<option value="spampost">$vbphrase[delete_posts_as_spam]</option>
					</if>
					<if condition="$show['managepost']">
					<option value="deleteposts">$vbphrase[delete_posts]</option>
					<option value="undeleteposts">$vbphrase[undelete_posts]</option>
					</if>
					<if condition="$show['approvepost']">
					<option value="approveposts">$vbphrase[approve_posts]</option>
					<option value="unapproveposts">$vbphrase[unapprove_posts]</option>
					</if>
					<if condition="$show['approveattachment']">
					<option value="approveattachments">$vbphrase[approve_attachments]</option>
					<option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
					</if>
					$template_hook[inlinemod_post_bottom]
				</optgroup>
				</if>
				<optgroup label="____________________">
					<option value="viewpost">$vbphrase[view_selected_posts]</option>
					<option value="clearpost">$vbphrase[clear_post_list]</option>
				</optgroup>
			</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="threadid" value="$threadinfo[threadid]" />
			<input type="hidden" name="p" value="$postid" />
			<input type="hidden" name="url" value="$url" />
			</div>
			<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script>
			<script type="text/javascript">
			<!--
			inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
			//-->
			</script>
		</if>
		</td>
	</if>
</tr>
</table>
<!-- / controls below postbits -->

<if condition="$show['inlinemod']">
$spacer_close
</form>
$spacer_open
</if>

<if condition="$bookmarksites">
<!-- social bookmarking links -->
	<br />
	<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" class="tborder" align="center">
	<tr>
		<td class="thead">$vbphrase[bookmarks]</td>
	</tr>
	<tr>
		<td class="alt2" style="padding-top:0px"><div style="clear:both"></div><ul style="list-style-type:none; margin:0px; padding:0px">$bookmarksites</ul><div style="clear:both"></div></td>
	</tr>
	</table>
<!-- / social bookmarking links -->
</if>

<if condition="$show['tag_box']">
<!-- thread tags -->
	<br />
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="thead">
			<if condition="$show['manage_tag']"><div style="float: $stylevar[right]" class="normal">
				<a href="threadtag.php?$session[sessionurl]t=$thread[threadid]" id="tag_edit_link">$vbphrase[edit_tags]</a>
			</div></if>
			<a name="taglist"></a>
			<a href="tags.php$session[sessionurl_q]">$vbphrase[tags]</a>
		</td>
	</tr>
	<tr>
		<td class="alt1 smallfont" id="tag_list_cell">$tag_list</td>
	</tr>
	</table>

	<script type="text/javascript" src="clientscript/vbulletin_ajax_taglist.js?v=$vboptions[simpleversion]"></script>
		<script type="text/javascript" src="clientscript/vbulletin_ajax_tagsugg.js?v=$vboptions[simpleversion]"></script>
<!-- / thread tags -->
</if>

$ad_location[ad_showthread_beforeqr]

<if condition="$show['lightbox']">
<!-- lightbox scripts -->
	<script type="text/javascript" src="clientscript/vbulletin_lightbox.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	vBulletin.register_control("vB_Lightbox_Container", "posts", $vboptions[lightboxenabled]);
	//-->
	</script>
<!-- / lightbox scripts -->
</if>

<if condition="$show['multiquote_global']">
<!-- multiquote scripts -->
	<script type="text/javascript" src="clientscript/vbulletin_multi_quote.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	var mqlimit = $vboptions[mqlimit];
	//-->
	</script>
<!-- / multiquote scripts -->
</if>

<if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="display:none; position:absolute" id="ajax_post_errors">
	<tr>
		<td class="thead">
			<span style="float:$stylevar[right]"><input type="button" class="button" value=" X " onclick="vB_QuickEditor.hide_errors()" id="ajax_post_errors_closebtn" /></span>
			$vbphrase[vbulletin_message]
		</td>
	</tr>
	<tr>
		<td class="alt2" colspan="2" id="ajax_post_errors_message">&nbsp;</td>
	</tr>
	<tr>
		<td class="tfoot" colspan="2" align="center"><a href="#" onclick="vB_QuickEditor.abort(); return false;">$vbphrase[cancel_changes]</a></td>
	</tr>
	</table>
<!-- / ajax errors table -->

<!-- scripts for quick reply and quick edit -->
	$vBeditTemplate[clientscript]
	<if condition="$show['quickedit']">
		<script type="text/javascript" src="clientscript/vbulletin_quick_edit.js?v=$vboptions[simpleversion]"></script>
		<script type="text/javascript">
		<!--
		vB_AJAX_QuickEdit_Init('posts');
		//-->
		</script>
	</if>
<!-- / scripts for quick reply and quick edit -->
</if>


<if condition="$show['quickreply']">
<!-- quick reply -->
	<br />
	<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js?v=$vboptions[simpleversion]"></script>
	<form action="newreply.php?do=postreply&amp;t=$threadid" method="post" name="vbform" onsubmit="return qr_prepare_submit(this, $vboptions[postminchars]);" id="qrform">
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<thead>
		<tr>
			<td class="tcat" colspan="2">
				<if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
				$vbphrase[quick_reply]
			</td>
		</tr>
	</thead>
	<tbody id="qr_error_tbody" style="display:none">
	<tr>
		<td class="thead">$vbphrase[errors_occured_when_submitted]</td>
	</tr>
	<tr>
		<td class="alt1" id="qr_error_td"></td>
	</tr>
	<tr>
		<td class="tfoot" align="center"><span class="smallfont"><a href="#" onclick="return qr_hide_errors()">$vbphrase[okay]</a></span></td>
	</tr>
	</tbody>
	<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
	<tr>
		<td class="panelsurround" align="center">
			<div class="panel">
				<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth]">
					<div class="smallfont">$vbphrase[message]:</div>
					<div id="$editorid" class="vBulletin_editor">$messagearea</div>

					<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
						<legend>$vbphrase[options]</legend>
						<div style="padding:$stylevar[formspacer]px">
							<if condition="$bbuserinfo['signature']">
								<div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div>
							</if>
							<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
						</div>
					</fieldset>
				</div>
			</div>

			<div style="margin-top:$stylevar[cellpadding]px">
				<input type="hidden" name="fromquickreply" value="1" />
				<input type="hidden" name="s" value="$session[sessionhash]" />
				<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
				<input type="hidden" name="do" value="postreply" />
				<input type="hidden" name="t" value="$threadid" id="qr_threadid" />
				<input type="hidden" name="p" value="$qrpostid" id="qr_postid" />
				<input type="hidden" name="specifiedpost" value="0" id="qr_specifiedpost" />
				<input type="hidden" name="parseurl" value="1" />
				<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
				<input type="submit" class="button" value="$vbphrase[post_quick_reply]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
				<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
			</div>

			<div align="center" id="qr_posting_msg" style="display:none; margin-top:6px">
				<img style="vertical-align: middle;" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[posting_quick_reply_please_wait]" />&nbsp;<strong>$vbphrase[posting_quick_reply_please_wait]</strong>
			</div>
		</td>
	</tr>
	</tbody>
	</table>
	</form>

	<if condition="!is_browser('ie') AND $show['wysiwyg']">
		<!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
		<div id="qr_scroll"></div>
	</if>

	<script type="text/javascript">
	<!--
		// initialize quick reply
		qr_init();
	//-->
	</script>
<!-- / quick reply -->
</if>

<if condition="$show['next_prev_links']">
<!-- next / previous links -->
	<br />
	<div class="smallfont" align="center">
		<strong>&laquo;</strong>
			<a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextoldest" rel="nofollow">$vbphrase[prev_thread]</a>
			|
			<a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextnewest" rel="nofollow">$vbphrase[next_thread]</a>
		<strong>&raquo;</strong>
	</div>
<!-- / next / previous links -->
</if>

<if condition="$show['activeusers']">
<!-- currently active users -->
	<br />
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="tcat" colspan="2">
			<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
		</td>
	</tr>
	<tr>
		<td class="alt1" colspan="2">
			<span class="smallfont">$activeusers</span>
		</td>
	</tr>
	</table>
<!-- end currently active users -->
</if>

<if condition="$show['popups']">
<!-- popup menu contents -->
<br />

<!-- thread tools menu -->
<div class="vbmenu_popup" id="threadtools_menu" style="display:none">
<form action="postings.php?t=$threadid&amp;pollid=$pollid" method="post" name="threadadminform">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="3" rel="nofollow">$vbphrase[show_printable_version]</a></td>
	</tr>
	<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></td>
	</tr>
	<if condition="$show['member']">
	<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
		<if condition="$show['subscribed']">
			<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
		<else />
			<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
		</if>
		</td>
	</tr>
	</if>
	<if condition="$show['addpoll']">
	<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
	</tr>
	</if>
	<if condition="$show['adminoptions']">
	<tr>
		<td class="thead">$vbphrase[admin_tools]<a name="goto_threadadmin"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">
		<if condition="$show['openclose']"><div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div></if>
		<if condition="$show['movethread']"><div><label for="ao_mvt"><input type="radio" name="do" id="ao_mvt" value="movethread" />$vbphrase[move_thread]</label></div>
		<div><label for="ao_cpt"><input type="radio" name="do" id="ao_cpt" value="copythread" />$vbphrase[copy_thread]</label></div></if>
		<if condition="$show['editthread']"><div><label for="ao_edt"><input type="radio" name="do" id="ao_edt" value="editthread" />$vbphrase[edit_thread]</label></div></if>
		<if condition="$show['deletethread']"><div><label for="ao_dlt"><input type="radio" name="do" id="ao_dlt" value="deletethread" />$vbphrase[delete_thread]</label></div></if>
		<if condition="$show['managethread']">
			<div><label for="ao_sut"><input type="radio" name="do" id="ao_sut" value="stick" /><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></label></div>
			<div><label for="ao_mgt"><input type="radio" name="do" id="ao_mgt" value="mergethread" />$vbphrase[merge_threads]</label></div>
			<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>
		</if>
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite" align="center">
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="t" value="$threadid" />
			<input type="hidden" name="pollid" value="$pollid" />
			<input type="submit" class="button" value="$vbphrase[perform_action]" />
		</td>
	</tr>
	</if>
	</table>
</form>
</div>
<!-- / thread tools menu -->
<if condition="$vboptions['allowthreadedmode']">
<!-- **************************************************** -->

<!-- thread display mode menu -->
<div class="vbmenu_popup" id="displaymodes_menu" style="display:none">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>
	</tr>
	<tr>
	<if condition="$show['linearmode']">
		<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <strong>$vbphrase[linear_mode]</strong></td>
	<else />
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=linear$highlightwords#post$FIRSTPOSTID">$vbphrase[switch_to_linear_mode]</a></td>
	</if>
	</tr>
	<tr>
	<if condition="$show['hybridmode']">
		<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <strong>$vbphrase[hybrid_mode]</strong></td>
	<else />
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <a href="showthread.php?$session[sessionurl]mode=hybrid&amp;t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></td>
	</if>
	</tr>
	<tr>
	<if condition="$show['threadedmode']">
		<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <strong>$vbphrase[threaded_mode]</strong></td>
	<else />
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=threaded$highlightwords#post$FIRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></td>
	</if>
	</tr>
	</table>
</div>
<!-- / thread display mode menu -->
</if>
<!-- **************************************************** -->

<if condition="$show['search']">
<!-- thread search menu -->
<div class="vbmenu_popup" id="threadsearch_menu" style="display:none">
<form action="search.php?do=process&amp;searchthreadid=$threadid" method="post">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="do" value="process" />
			<input type="hidden" name="searchthreadid" value="$threadid" />
			<input type="text" class="bginput" name="query" size="25" />$gobutton<br />
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option"><a href="search.php?$session[sessionurl]searchthreadid=$threadid">$vbphrase[advanced_search]</a></td>
	</tr>
	</table>
</form>
</div>
<!-- / thread search menu -->
</if>

<!-- **************************************************** -->

<if condition="$show['threadrating']">
	<!-- thread rating menu -->
	<div class="vbmenu_popup" id="threadrating_menu" style="display:none">
	<form action="threadrate.php?t=$threadid" method="post" id="showthread_threadrate_form">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr>
			<td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td>
		</tr>
		<if condition="$show['ratethread']">
		<tr>
			<td class="vbmenu_option" title="nohilite" id="threadrating_options">

			<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
			<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
			<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
			<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
			<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
			</td>
		</tr>
		<tr id="threadrating_submit">
			<td class="vbmenu_option" title="nohilite" align="center">
				<input type="hidden" name="s" value="$session[sessionhash]" />
				<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
				<input type="hidden" name="t" value="$threadid" />
				<input type="hidden" name="pp" value="$perpage" />
				<input type="hidden" name="page" value="$pagenumber" />
				<input type="submit" class="button" value="$vbphrase[vote_now]" />
			</td>
		</tr>
		<else />
		<tr>
			<td class="vbmenu_option" title="nohilite">$vbphrase[already_rated_this_thread]</td>
		</tr>
		</if>
		</table>
	</form>
	</div>
	<!-- / thread rating menu -->

	<script type="text/javascript" src="clientscript/vbulletin_ajax_threadrate.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	vB_AJAX_ThreadRate_Init('showthread_threadrate_form');
	var threadid = $threadinfo[threadid];
	//-->
	</script>
</if>

<!-- / popup menu contents -->
<else />
<!-- controls for non-popup browsers -->


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top-width:0px">
<tr>
	<td class="thead" <if condition="!$show['search']">colspan="2"</if>>$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
	<if condition="$show['search']"><td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td></if>
</tr>
<tr valign="top">
	<td class="alt1" <if condition="!$show['search']">colspan="2"</if>>

	<!-- thread tools -->
	<div class="smallfont">
		<if condition="!$show['search_engine']">

			<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" rel="nofollow">$vbphrase[show_printable_version]</a></div>
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></div>
		</if>
		<if condition="$show['member']">
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
				<if condition="$show['subscribed']">
					<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
				<else />
					<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
				</if>
			</div>
		</if>
		<if condition="$show['addpoll']">
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
		</if>
	</div>
	<!-- / thread tools -->

	</td>
	<if condition="$show['search']">
	<td class="alt1">

	<!-- search this thread -->
	<form action="search.php?do=process&amp;searchthreadid=$threadid" method="post">
	<div class="smallfont">
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="process" />
		<input type="hidden" name="searchthreadid" value="$threadid" />
		<strong>$vbphrase[search_this_thread]</strong>:<br />
		<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
		<a href="search.php?$session[sessionurl]searchthreadid=$threadid">$vbphrase[advanced_search]</a>
	</div>
	</form>
	<!-- /  search this thread -->

	</td>
	</if>
</tr>
<if condition="$vboptions['allowthreadedmode'] OR $show['threadrating']">
<tr>
	<if condition="$vboptions['allowthreadedmode']"><td class="thead" $nodhtmlcolspan>$vbphrase[display_modes]<a name="goto_displaymodes"></a></td></if>
	<if condition="$show['threadrating']"><td class="thead" $nodhtmlcolspan>$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td></if>
</tr>
<tr valign="top">
	<if condition="$vboptions['allowthreadedmode']">
	<td class="alt2" $nodhtmlcolspan>

	<!-- thread display modes -->

	<div class="smallfont">
		<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" vspace="1" /> <if condition="$show['linearmode']"><strong>$vbphrase[linear_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=linear$highlightwords#post$FIRSTPOSTID">$vbphrase[switch_to_linear_mode]</a></if></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" vspace="1" /> <if condition="$show['hybridmode']"><strong>$vbphrase[hybrid_mode]</strong><else /><a href="showthread.php?$session[sessionurl]mode=hybrid&amp;t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></if></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" vspace="1" /> <if condition="$show['threadedmode']"><strong>$vbphrase[threaded_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=threaded$highlightwords#post$FIRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></if></div>
	</div>

	<!-- / thread display modes -->

	</td>
	</if>
	<if condition="$show['threadrating']">
	<td class="alt2" $nodhtmlcolspan>

	<!-- rate this thread -->
	<form action="threadrate.php?t=$threadid" method="post">
	<div class="smallfont">
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="t" value="$threadid" />
		<input type="hidden" name="pp" value="$perpage" />
		<input type="hidden" name="page" value="$pagenumber" />
		<strong>$vbphrase[rate_this_thread]</strong>:<br />
		<select name="vote" onchange="this.form.submit()" style="width:175px">
			<optgroup label="$vbphrase[choose_a_rating]">
				<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
				<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
				<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
				<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
				<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
			</optgroup>
		</select>$gobutton
	</div>
	</form>
	<!-- / rate this thread -->

	</td>
	</if>
</tr>
</if>
</table>
<br />


<!-- / controls for non-popup browsers -->
</if>

<!-- forum rules and admin links -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
	<td width="100%" valign="top">
		$forumrules
	</td>
	<td class="smallfont" align="$stylevar[right]">
		<table cellpadding="0" cellspacing="0" border="0">
		<if condition="!$show['popups'] AND $show['adminoptions']">
		<tr>
			<td>
			<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
			<form action="postings.php?t=$threadid" method="post" name="adminoptionsform">
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="t" value="$threadid" />
			<strong>$vbphrase[admin_tools]</strong>:<br />
			<select name="do" onchange="this.form.submit()">
				<if condition="$show['openclose']"><option value="openclosethread" selected="selected"><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></option></if>
				<if condition="$show['editthread']"><option value="editthread">$vbphrase[edit_thread]</option></if>
				<if condition="$show['deletethread']"><option value="deletethread">$vbphrase[delete_thread]</option></if>
				<if condition="$show['movethread']"><option value="movethread">$vbphrase[move_thread]</option>
				<option value="copythread">$vbphrase[copy_thread]</option></if>
				<if condition="$show['managethread']">
						<option value="stick"><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></option>
					<option value="mergethread">$vbphrase[merge_threads]</option>
					<option value="removeredirect">$vbphrase[remove_redirects]</option>
				</if>
				<if condition="$show['editpoll']"><option value="editpoll">$vbphrase[edit_poll]</option></if>
			</select>$gobutton
			</form>
			</div>
			</td>
		</tr>
		<br />
		</if>
		<tr>
			<td>
			$forumjump
			</td>
		</tr>
		</table>
	</td>
</tr>
</table>
<!-- /forum rules and admin links -->

<br />

$similarthreads

$footer

<!-- temp -->
<div style="display:none">
	<!-- thread rate -->
	<if condition="$show['ratethread']">
		<!-- thread ratings form here -->
	<else />
		<if condition="$show['threadrating']">
			$vbphrase[you_rated_this_thread]: <strong>$threadinfo[vote]</strong>
		</if>
	</if>
	<!-- / thread rate -->
</div>

</body>
</html>]]></template>
		<template name="showthread_quickreply" templatetype="template" date="1218414140" username="ابو راشد" version="3.7.2"><![CDATA[<if condition="$show['editor_toolbar']">

<!-- هاك عام ـ توسيط أزرار محرر الرد السريع -->
<!-- لحذف الهاك نحذف السطر التالي -->
<center>

<div id="{$editorid}_controls" class="controlbar">

<!-- هاك عام ـ توسيط أزرار محرر الرد السريع -->
<!-- تم حذف width="100%" من الجدول التالي ويتم إعادتها لحذف الهاك -->

	<table cellpadding="0" cellspacing="0" border="0">
	<tr>
		<td><div class="imagebutton" id="{$editorid}_cmd_removeformat"><img src="$stylevar[imgdir_editor]/removeformat.gif" width="21" height="20" alt="$vbphrase[remove_text_formatting]" /></div></td>
	<if condition="$show['basic_bbcode']">
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
		<td><div class="imagebutton" id="{$editorid}_cmd_bold"><img src="$stylevar[imgdir_editor]/bold.gif" width="21" height="20" alt="$vbphrase[bold]" /></div></td>
		<td><div class="imagebutton" id="{$editorid}_cmd_italic"><img src="$stylevar[imgdir_editor]/italic.gif" width="21" height="20" alt="$vbphrase[italic]" /></div></td>
		<td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" width="21" height="20" alt="$vbphrase[underline]" /></div></td>
	</if>
	<if condition="$show['color_bbcode']">
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
		<td><div class="imagebutton" id="{$editorid}_popup_forecolor" title="$vbphrase[colors]">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td id="{$editorid}_color_out"><img src="$stylevar[imgdir_editor]/color.gif" width="21" height="16" alt="" /><br /><img src="$vboptions[cleargifurl]" id="{$editorid}_color_bar" alt="" style="background-color:black" width="21" height="4" /></td>
				<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" alt="" width="11" height="16" /></td>
			</tr>
			</table>
		</div></td>
	</if>
	<if condition="$show['url_bbcode'] OR $show['img_bbcode']">
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
	</if>
	<if condition="$show['url_bbcode']">
		<td><div class="imagebutton" id="{$editorid}_cmd_createlink"><img src="$stylevar[imgdir_editor]/createlink.gif" width="21" height="20" alt="$vbphrase[insert_link]" /></div></td>
	</if>
	<if condition="$show['img_bbcode']">
		<td><div class="imagebutton" id="{$editorid}_cmd_insertimage"><img src="$stylevar[imgdir_editor]/insertimage.gif" width="21" height="20" alt="$vbphrase[insert_image]" /></div></td>
	</if>
	<if condition="$show['quote_bbcode']">
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
		<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
	</if>

<!-- هاك عام توسيط أزرار محرر الرد السريع -->
<!-- تم حذف السطر التالي ويعاد لحذف الهاك -->
<!-- <td width="100%">&nbsp;</td> -->

	<if condition="is_browser('ie')">
		<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
	</if>
		<td>
			<div class="imagebutton" id="{$editorid}_cmd_resize_0_99"><img src="$stylevar[imgdir_editor]/resize_0.gif" width="21" height="9" alt="$vbphrase[decrease_size]" /></div>
			<div class="imagebutton" id="{$editorid}_cmd_resize_1_99"><img src="$stylevar[imgdir_editor]/resize_1.gif" width="21" height="9" alt="$vbphrase[increase_size]" /></div>
		</td>
	<if condition="$show['wysiwyg_compatible']">
		<td><div class="imagebutton" id="{$editorid}_cmd_switchmode"><img src="$stylevar[imgdir_editor]/switchmode.gif" width="21" height="20" alt="$vbphrase[switch_editor_mode]" /></div></td>
	</if>
	</tr>
	</table>
</div>

<!-- هاك عام ـ توسيط أزرار محرر الرد السريع -->
<!-- لحذف الهاك نحذف السطر التالي -->
</center>

</if>
<div class="controlbar" style="padding-$stylevar[right]:8px">
	<fieldset style="border:0px; padding:0px; margin:0px">
	<if condition="$show['qr_require_click']">
	<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]" disabled="disabled">$vbphrase[click_quick_reply_icon]</textarea>
	<else />
	<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]"></textarea>
	</if>
	</fieldset>
	<!--width:$stylevar[messagewidth]-->
</div>

<input type="hidden" name="wysiwyg" id="{$editorid}_mode" value="$editortype" />
<input type="hidden" name="styleid" value="$session[styleid]" />

<script type="text/javascript">
<!--
vB_Editor['$editorid'] = new vB_Text_Editor('$editorid', $editortype, '$forumid', '$parsesmilie');
var QR_EditorID = '$editorid';
//-->
</script>]]></template>
	</templategroup>
	<templategroup name="قوالب المجموعات الاجتماعية">
		<template name="socialgroups_picture" templatetype="template" date="1218416114" username="ابو راشد" version="3.7.2"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	$headinclude
	$picturecomment_css
	<title>$vboptions[bbtitle] - $custompagetitle</title>
</head>
<body>
$header
$navbar

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<if condition="$show['picture_nav']">
			<div class="smallfont" style="float: $stylevar[right]">
				<a href="group.php?$session[sessionurl]do=picture&amp;groupid=$group[groupid]&amp;pictureid=$pic_location[prev_pictureid]">$pic_location[prev_text_short]</a> |
				<a href="group.php?$session[sessionurl]do=picture&amp;groupid=$group[groupid]&amp;pictureid=$pic_location[next_pictureid]">$pic_location[next_text_short]</a>
			</div>
		</if>

		<phrase 1="$pic_location[pic_position]" 2="$group[picturecount]" 3="$group[name]">$vbphrase[picture_x_of_y_from_group_z]</phrase>
	</td>
</tr>
<tr>
	<td class="alt1" align="center">
		<table width="<if condition="$pictureinfo['width'] < 450">450<else />$pictureinfo[width]</if>" cellpadding="$stylevar[cellpadding]">
		<tr>
			<td align="center"><img src="picture.php?$session[sessionurl]groupid=$group[groupid]&amp;pictureid=$pictureinfo[pictureid]" alt="$vbphrase[picture]" /></td>
		</tr>
		<if condition="$pictureinfo['caption_html']">
			<tr>
				<td align="$stylevar[left]"><em>$pictureinfo[caption_html]</em></td>
			</tr>
		</if>

<!-- هاك عام ـ عرض رابط الصور في البوم الأعضاء تحت الصورة لإدراجها في المواضيع -->
<tr>
                <td align="$stylevar[left]"><table width="80%" border="0" class="tborder" align="center" cellpadding="3" cellspacing="0">
                  <tr>
                    <td class="alt2" nowrap="nowrap"><div class="smallfont normal">
                      <div align="right">رابط الصورة : </div>
                    </div></td>
                    <td class="alt2"><div align="center"><span class="smallfont normal">
                      <input name="textfield2" class="bginput" type="text" value="$vboptions[bburl]/picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]" size="50" READONLY>
                    </span></div></td>
                  </tr>
                  <tr>
                    <td class="alt2" nowrap="nowrap"><div class="smallfont normal">
                      <div align="right">البي بي كود : </div>
                    </div></td>
                    <td class="alt2"><div align="center"><span class="smallfont normal">
                      <input name="textfield3" class="bginput" type="text" value="[img]$vboptions[bburl]/picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid][/img]" size="50" READONLY>
                    </span></div></td>
                  </tr>
                  <tr>
                    <td class="alt2" nowrap="nowrap"><div class="smallfont normal">
                      <div align="right">كود الإدراج : </div>
                    </div></td>
                    <td class="alt2"><div align="center"><span class="smallfont normal">
                      <input name="textfield" class="bginput" type="text" value="<img src='$vboptions[bburl]/picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]' style='border:1px solid #000000;' >" size="50" READONLY>
                    </span></div></td>
                  </tr>
                </table>
           
                </td>
            </tr>
<!-- هاك عام ـ عرض رابط الصور في البوم الأعضاء تحت الصورة لإدراجها في المواضيع -->

		<tr>
			<td align="$stylevar[left]" class="smallfont" nowrap="nowrap">
				<if condition="$show['edit_picture_option'] OR $show['reportlink']">
					<div class="smallfont normal" style="float: $stylevar[right]">
					<if condition="$show['edit_picture_option']">
						<div><a href="album.php?$session[sessionurl]do=editpictures&amp;albumid=$album[albumid]&amp;pictureid=$pictureinfo[pictureid]&amp;frompicture=1">$vbphrase[edit_picture]</a></div>
					</if>
					<if condition="$show['remove_picture_option']">
						<div><a href="group.php?$session[sessionurl]do=removepicture&amp;groupid=$group[groupid]&amp;pictureid=$pictureinfo[pictureid]">$vbphrase[remove_from_group]</a></div>
					</if>
					<if condition="$show['reportlink']">
						<div><a href="group.php?$session[sessionurl]do=reportpicture&amp;groupid=$group[groupid]&amp;pictureid=$pictureinfo[pictureid]">$vbphrase[report_picture]</a></div>
					</if>
					</div>
				</if>
				<div><span class="shade">$vbphrase[picture_added]:</span> $pictureinfo[adddate] <if condition="!$show['detailedtime']"><span class="time">$pictureinfo[addtime]</span></if></div>
				<div><span class="shade">$vbphrase[picture_by]:</span> <a href="member.php?$session[sessionurl]u=$pictureinfo[userid]">$pictureinfo[username]</a></div>
			</td>
		</tr>
		</table>
	</td>
</tr>
</table>

<if condition="$show['picture_nav']">
	<div class="smallfont" align="center" style="margin-top: $stylevar[cellpadding]px">
		<a href="group.php?$session[sessionurl]do=picture&amp;groupid=$group[groupid]&amp;pictureid=$pic_location[prev_pictureid]">$pic_location[prev_text]</a> |
		<a href="group.php?$session[sessionurl]do=picture&amp;groupid=$group[groupid]&amp;pictureid=$pic_location[next_pictureid]">$pic_location[next_text]</a>
	</div>
</if>

$picturecomment_commentarea

<if condition="$show['picturecomment_options'] AND $show['picture_nav']">
	<div class="smallfont" align="center" style="margin-top: $stylevar[cellpadding]px">
		<a href="group.php?$session[sessionurl]do=picture&amp;groupid=$group[groupid]&amp;pictureid=$pic_location[prev_pictureid]">$pic_location[prev_text]</a> |
		<a href="group.php?$session[sessionurl]do=picture&amp;groupid=$group[groupid]&amp;pictureid=$pic_location[next_pictureid]">$pic_location[next_text]</a>
	</div>
</if>

$footer
</body>
</html>]]></template>
	</templategroup>
	<templategroup name="التحكم بالموضوع/Thread Administration">
		<template name="threadadmin_mergethreads" templatetype="template" date="1219344216" username="ابو راشد" version="3.7.2"><![CDATA[<form action="inlinemod.php?do=domergethreads&amp;threadids=$threadids" method="post" name="vbform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="threadids" value="$threadids" />
<input type="hidden" name="do" value="domergethreads" />
<input type="hidden" name="url" value="$url" />
<if condition="$show['skipclearlist']">
<input type="hidden" name="skipclearlist" value="1" />
</if>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[merge_threads]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">

			<fieldset class="fieldset">
				<legend>$vbphrase[options]</legend>

				<div style="padding:$stylevar[formspacer]px">

				<div class="fieldset">
				$vbphrase[destination_thread]<br />
				<select name="destthreadid">
				$movethreadbits
				</select>
				</div>

				<div class="fieldset">$vbphrase[destination_forum]<br />
				<select name="destforumid">
					$moveforumbits
				</select>
				</div>

				</div>
			</fieldset>

			<if condition="$pollbits">
			<fieldset class="fieldset">
				<legend>$vbphrase[polls]</legend>

				<div style="padding:$stylevar[formspacer]px">

				<div class="fieldset">
				$vbphrase[thread_contain_one_poll]<br />
				<select name="pollid">
					$pollbits
				</select>
				</div>

				</div>
			</fieldset>
			</if>

			<fieldset class="fieldset">
				<legend>$vbphrase[redirect]</legend>

				<div style="padding:$stylevar[formspacer]px">

				<div class="fieldset">
				<label for="rb_redirect_none"><input type="radio" name="redirect" value="none" id="rb_redirect_none" checked="checked" />$vbphrase[leave_no_redirect]</label><br />
				<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" />$vbphrase[leave_permanent_redirect]</label><br />
				<label for="rb_redirect_expires"><input type="radio" name="redirect" value="expires" id="rb_redirect_expires" />$vbphrase[leave_expiring_redirect]</label><br />
				<img style="padding-$stylevar[left]: 4px" class="inlineimg" src="$stylevar[imgdir_misc]/tree_$stylevar[textdirection].gif" alt="" border="0" /> $vbphrase[expires_in]
				<select name="period">
					<option value="1">1</option>
					<option value="2">2</option>
					<option value="3">3</option>
					<option value="4">4</option>
					<option value="5">5</option>
					<option value="6">6</option>
					<option value="7">7</option>
					<option value="8">8</option>
					<option value="9">9</option>
					<option value="10">10</option>
				</select>

				<select name="frame">
					<option value="h">$vbphrase[hours]</option>
					<option value="d">$vbphrase[days]</option>
					<option value="w">$vbphrase[weeks]</option>
					<option value="m" selected="selected">$vbphrase[months]</option>
					<option value="y">$vbphrase[years]</option>
				</select>
				</div>

				</div>

			</fieldset>

			<fieldset class="smallfont">
				<legend>$vbphrase[notes]</legend>

				<div style="padding:$stylevar[formspacer]px">

				<div class="fieldset"><phrase 1="$threadcount" 2="$forumcount">$vbphrase[merging_x_threads_from_y_forums]</phrase></div>
				<div class="fieldset">$vbphrase[thread_redirects_can_not_be_merged]</div>
				<div class="fieldset">$vbphrase[you_must_have_the_required_permission]</div>

				</div>

			</fieldset>

		</div>
	</div>

	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[merge_threads]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

</form>]]></template>
		<template name="threadadmin_movethread" templatetype="template" date="1219344233" username="ابو راشد" version="3.7.2"><![CDATA[<form action="postings.php?do=domovethread&amp;t=$threadid" method="post" name="vbform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="do" value="domovethread" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat"><if condition="$show['move']">$vbphrase[move_thread]<else />$vbphrase[copy_thread]</if></td>
</tr>
<tr>
	<td class="thead">$vbphrase[title]: <span style="font-weight:normal">$threadinfo[prefix_plain_html] $threadinfo[title]</span></td>
</tr>

<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">

		<fieldset class="fieldset">
			<legend>$vbphrase[new_subject]</legend>

			<div style="padding:$stylevar[formspacer]px">

			<div class="fieldset">
			$vbphrase[may_rename_thread]<br />

			$vbphrase[new_subject]:<br />
			<input type="text" class="bginput" name="title" value="$title" size="50" maxlength="$vboptions[titlemaxchars]" />

			</div>

			</div>
		</fieldset>

		<fieldset class="fieldset">
			<legend>$vbphrase[destination_forum]</legend>

			<div style="padding:$stylevar[formspacer]px">

			<div class="fieldset">
			$vbphrase[destination_forum]:<br />
			<select name="destforumid">
				$moveforumbits
			</select>
			</div>

			</div>
		</fieldset>

		<if condition="$show['move']">
		<fieldset class="fieldset">
			<legend>$vbphrase[redirect]</legend>

			<div style="padding:$stylevar[formspacer]px">

			<div class="fieldset">
					<label for="rb_redirect_none"><input type="radio" name="redirect" value="none" id="rb_redirect_none" checked="checked" />$vbphrase[leave_no_redirect]</label><br />
					<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" />$vbphrase[leave_permanent_redirect]</label><br />
					<label for="rb_redirect_expires"><input type="radio" name="redirect" value="expires" id="rb_redirect_expires" />$vbphrase[leave_expiring_redirect]</label><br />
					<img style="padding-$stylevar[left]: 4px" class="inlineimg" src="$stylevar[imgdir_misc]/tree_$stylevar[textdirection].gif" alt="" border="0" /> $vbphrase[expires_in]
					<select name="period">
						<option value="1">1</option>
						<option value="2">2</option>
						<option value="3">3</option>
						<option value="4">4</option>
						<option value="5">5</option>
						<option value="6">6</option>
						<option value="7">7</option>
						<option value="8">8</option>
						<option value="9">9</option>
						<option value="10">10</option>
					</select>

					<select name="frame">
						<option value="h">$vbphrase[hours]</option>
						<option value="d">$vbphrase[days]</option>
						<option value="w">$vbphrase[weeks]</option>
						<option value="m" selected="selected">$vbphrase[months]</option>
						<option value="y">$vbphrase[years]</option>
					</select>
			</div>

			<div class="fieldset">
				$vbphrase[redirect_title]:<br />
				<if condition="$prefix_options">
					<select name="redirectprefixid" class="bginput">
						<option value="">$vbphrase[no_prefix_meta]</option>
						$prefix_options
					</select>
				</if>
				<input type="text" class="bginput" name="redirecttitle" value="$title" size="50" maxlength="85" />
			</div>

			</div>
		</fieldset>
		</if>

		</div>
	</div>

	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="<if condition="$show['move']">$vbphrase[move_thread]<else />$vbphrase[copy_thread]</if>" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

</form>]]></template>
		<template name="threadadmin_movethreads" templatetype="template" date="1219344256" username="ابو راشد" version="3.7.2"><![CDATA[<form action="inlinemod.php?do=domovethreads&amp;threadids=$threadids" method="post" name="vbform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="threadids" value="$threadids" />
<input type="hidden" name="do" value="domovethreads" />
<input type="hidden" name="url" value="$url" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[move_threads]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">


		<fieldset class="fieldset">
			<legend>$vbphrase[destination_forum]</legend>

			<div style="padding:$stylevar[formspacer]px">

			<div class="fieldset">
			$vbphrase[destination_forum]:<br />
				<select name="destforumid">
					$moveforumbits
				</select>
			</div>

			</div>
		</fieldset>

		<fieldset class="fieldset">
			<legend>$vbphrase[redirect]</legend>

			<div style="padding:$stylevar[formspacer]px">

			<div class="fieldset">
			<label for="rb_redirect_none"><input type="radio" name="redirect" value="none" id="rb_redirect_none" checked="checked" />$vbphrase[leave_no_redirect]</label><br />
			<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" />$vbphrase[leave_permanent_redirect]</label><br />
			<label for="rb_redirect_expires"><input type="radio" name="redirect" value="expires" id="rb_redirect_expires" />$vbphrase[leave_expiring_redirect]</label><br />
			<img style="padding-$stylevar[left]: 4px" class="inlineimg" src="$stylevar[imgdir_misc]/tree_$stylevar[textdirection].gif" alt="" border="0" /> $vbphrase[expires_in]
			<select name="period">
				<option value="1">1</option>
				<option value="2">2</option>
				<option value="3">3</option>
				<option value="4">4</option>
				<option value="5">5</option>
				<option value="6">6</option>
				<option value="7">7</option>
				<option value="8">8</option>
				<option value="9">9</option>
				<option value="10">10</option>
			</select>

			<select name="frame">
				<option value="h">$vbphrase[hours]</option>
				<option value="d">$vbphrase[days]</option>
				<option value="w">$vbphrase[weeks]</option>
				<option value="m" selected="selected">$vbphrase[months]</option>
				<option value="y">$vbphrase[years]</option>
			</select>
			</div>

			</div>
		</fieldset>

		<fieldset class="fieldset">
			<legend>$vbphrase[notes]</legend>

			<div style="padding:$stylevar[formspacer]px">
				<div class="fieldset"><phrase 1="$threadcount" 2="$forumcount">$vbphrase[moving_x_threads_from_y_forums]</phrase></div>
				<div class="fieldset">$vbphrase[moving_moderated_and_soft_deleted_threads]</div>
				<div class="fieldset">$vbphrase[you_must_have_the_required_permission]</div>
			</div>


		</fieldset>

		</div>
	</div>

	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[move_threads]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

</form>]]></template>
	</templategroup>
	<templategroup name="الموضوع/Threadbit">
		<template name="threadbit" templatetype="template" date="1218597836" username="ابو راشد" version="3.7.2"><![CDATA[<tr>
	<td class="alt1" id="td_threadstatusicon_$thread[realthreadid]" align="center">
		$thread[openclose_editable]
		<img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" id="thread_statusicon_$thread[realthreadid]" alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if>" border="" />
	</td>
	<if condition="$show['threadicons']">
		<td class="alt2" align="center"><if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /><else />&nbsp;</if></td>
	</if>

	<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">

		$thread[title_editable]
		<div>
			<if condition="$show['taglist'] OR $show['moderated'] OR $show['deletedthread'] OR $show['paperclip'] OR $show['subscribed'] OR $show['sticky'] OR $show['rexpires']">
				<span style="float:$stylevar[right]">
					<if condition="$show['taglist']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/tag.png" alt="$thread[taglist]" /> </if>
					<if condition="$show['rexpires']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/expires.gif" alt="<phrase 1="$thread[expiredate]" 2="$thread[expiretime]">$vbphrase[expires_on_x_y]</phrase>" /> </if>
					<if condition="$show['moderated']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/moderated_small.gif" alt="<phrase 1="$thread[hiddencount]">$vbphrase[x_moderated_posts]</phrase>" /> </if>
					<if condition="$show['deletedthread']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/trashcan_small.gif" alt="<phrase 1="$thread[deletedcount]">$vbphrase[x_deleted_posts]</phrase>" /> </if>
					<if condition="$show['paperclip']"> <a href="#" onclick="attachments($thread[threadid]); return false"> <img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" border="0" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" /></a> </if>
					<if condition="$show['subscribed']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="$vbphrase[you_are_subscribed_to_this_thread]" /> </if>
					<if condition="$show['sticky']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" alt="$vbphrase[sticky_thread]" /> </if>
				</span>
			</if>
			<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]" id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
			$thread[movedprefix]
			$thread[typeprefix]
			$thread[moderatedprefix]
			$thread[prefix_rich]
			<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a>
			<if condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">(<img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" alt="$vbphrase[multipage_thread]" border="0" /> $thread[pagenav]<if condition="$show[pagenavmore]"> ... <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if>
		</div>

		<if condition="$show['rmanage']"><div class="smallfont"><span style="float:$stylevar[right]"><a href="postings.php?$session[sessionurl]do=editthread&amp;t=$thread[redirectthreadid]">$vbphrase[manage]</a></span></div></if>

		<div class="smallfont">
			<if condition="$show['threadratings'] AND $show['threadrating']"><span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span></if>
			<if condition="$show['guestuser']">
				$thread[postusername]
			<else />
				<span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span>
			</if>
		</div>

		<if condition="$show['unsubscribe']">
			<div class="smallfont">
				<a href="newreply.php?$session[sessionurl]do=newreply&amp;t=$thread[threadid]" rel="nofollow">$vbphrase[reply]</a> |
				<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;return=ucp&amp;t=$thread[threadid]" rel="nofollow">$vbphrase[unsubscribe]</a>
			</div>
		</if>

	</td>

	<if condition="$show['threadmoved']">
	<td class="alt2" align="center">-</td>
	<else />
	<td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
		<div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap">
			$thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if><br />
			<phrase 1="member.php?$session[sessionurl]find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase>  <a href="showthread.php?$session[sessionurl]p=$thread[lastpostid]$thread[highlight]#post$thread[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
		</div>
	</td>
	</if>

	<if condition="$show['notificationtype']">
		<td class="alt1"><div class="smallfont">
			<label for="sub$subscribethread[$threadid]">$thread[notification]</label>
		</div></td>
		<td class="alt2"><input type="checkbox" name="deletebox[$subscribethread[$threadid]]" id="sub$subscribethread[$threadid]" value="yes" /></td>
	<else />
		<td class="alt1" align="center"><if condition="$show['threadmoved']">-<else /><a href="misc.php?do=whoposted&amp;t=$thread[threadid]" onclick="who($thread[threadid]); return false;">$thread[replycount]</a></if></td>
		<td class="alt2" align="center">$thread[views]</td>

		<if condition="$show['forumlink']">
			<td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td>
		</if>
	</if>

	<if condition="$show['inlinemod']">
		<td class="<if condition="$show['forumlink']">alt2<else />alt1</if>">
			<input type="checkbox" name="tlist[$thread[realthreadid]]" id="tlist_$thread[realthreadid]" value="$thread[checkbox_value]" <if condition="$show['disabled']">disabled="disabled"</if> />
		</td>
	</if>
</tr>]]></template>
	</templategroup>
	<templategroup name="لوحة تحكم العضو">
		<template name="USERCP_SHELL" templatetype="template" date="1218414404" username="ابو راشد" version="3.7.2"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
	<title>$vboptions[bbtitle] - $pagetitle</title>
</head>
<body$onload>
$header
$navbar

<!-- table to support left column nav -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">

<!-- هاك عام ـ إزالة القائمة يمين في لوحة التحكم مع الرسائل الخاصة -->
<if condition="THIS_SCRIPT != 'private'">
<!-- هاك عام ـ إزالة القائمة يمين في لوحة التحكم مع الرسائل الخاصة -->

<td>

<!-- usercp nav -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<tr><td class="tcat" nowrap="nowrap"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_control_panel]</a></td></tr>
<tr><td class="thead"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[your_profile]</a></td></tr>
	<tr><td class="$navclass[profile]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_your_details]</a></td></tr>
	<if condition="$show['customizelink']">
	<tr><td class="$navclass[customize]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></td></tr>
	</if>
	<if condition="$show['profilepiclink']">
	<tr><td class="$navclass[profilepic]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td></tr>
	</if>
<tr><td class="thead">$vbphrase[networking]</td></tr>
	<tr><td class="$navclass[buddylist]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=buddylist"><if condition="$show['friends_and_contacts']">$vbphrase[contacts_and_friends]<else />$vbphrase[contacts]</if></a></td></tr>
	<if condition="$show['socialgroupslink']">
	<tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="group.php$session[sessionurl_q]">$vbphrase[social_groups]</a></td></tr>
	</if>
	<if condition="$show['publicgroups']">
	<tr><td class="$navclass[usergroups]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editusergroups">$vbphrase[group_memberships]</a></td></tr>
	</if>
	<if condition="$show['albumlink']">
	<tr><td class="$navclass[album]" nowrap="nowrap"><a class="smallfont" href="album.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[pictures_and_albums]</a></td></tr>
	</if>
<tr><td class="thead">$vbphrase[settings_and_options]</td></tr>
	<if condition="$show['avatarlink']">
	<tr><td class="$navclass[avatar]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr>
	</if>
	<if condition="$show['siglink']">
	<tr><td class="$navclass[signature]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr>
	</if>
	<tr><td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td></tr>
	<tr><td class="$navclass[options]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
	<tr><td class="$navclass[ignorelist]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=ignorelist">$vbphrase[edit_ignore_list]</a></td></tr>
<if condition="$show['pmmainlink']">
<tr>
	<td class="thead" nowrap="nowrap">
	<span id="nav_pmfolders">$vbphrase[private_messages] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_pmfolders"); </script></if></span>
	<if condition="$show['popups']">
		<div class="vbmenu_popup" id="nav_pmfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
			<table cellpadding="4" cellspacing="1" border="0">
			<tr>
				<td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
			</tr>
			$cpnav[pmfolders]
			</table>
		</div>
	</if>
	</td>
</tr>
	<tr><td class="$navclass[pm_messagelist]" nowrap="nowrap"><a class="smallfont" href="private.php$session[sessionurl_q]">$vbphrase[list_messages]</a></td></tr>
	<if condition="$show['pmsendlink']">
	<tr><td class="$navclass[pm_newpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=newpm">$vbphrase[send_new_message]</a></td></tr>
	</if>
	<if condition="$show['pmtracklink']">
	<tr><td class="$navclass[pm_trackpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=trackpm">$vbphrase[track_messages]</a></td></tr>
	</if>
	<tr><td class="$navclass[pm_editfolders]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr>
</if>
<tr>
	<td class="thead" nowrap="nowrap">
		<span id="nav_subsfolders">$vbphrase[subscribed_threads] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_subsfolders"); </script></if></span>
		<if condition="$show['popups']">
			<div class="vbmenu_popup" id="nav_subsfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
				<table cellpadding="4" cellspacing="1" border="0">
				<tr>
					<td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
				</tr>
				$cpnav[subsfolders]
				</table>
			</div>
		</if>
	</td>
</tr>
	<tr><td class="$navclass[substhreads_listthreads]" nowrap="nowrap"><a class="smallfont" href="subscription.php?$session[sessionurl]do=viewsubscription">$vbphrase[list_subscriptions]</a></td></tr>
	<tr><td class="$navclass[substhreads_editfolders]" nowrap="nowrap"><a class="smallfont" href="subscription.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
	<tr><td class="$navclass[event_reminders]" nowrap="nowrap"><a class="smallfont" href="calendar.php?$session[sessionurl]do=viewreminder">$vbphrase[event_reminders]</a></td></tr>
	<if condition="$show['paidsubscriptions']">
	<tr><td class="$navclass[paid_subscriptions]" nowrap="nowrap"><a class="smallfont" href="payments.php$session[sessionurl_q]">$vbphrase[paid_subscriptions]</a></td></tr>
	</if>
	<if condition="$show['attachments']">
	<tr><td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td></tr>
	</if>
<if condition="$show['moderation']">

	<if condition="$show['deleteditems']">
		<tr><td class="thead">$vbphrase[deleted_items]</td></tr>
		<tr><td class="$navclass[deletedthreads]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewthreads&amp;type=deleted">$vbphrase[threads]</a></td></tr>
		<tr><td class="$navclass[deletedposts]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewposts&amp;type=deleted">$vbphrase[posts]</a></td></tr>
		<if condition="$show['deletedvms']"><tr><td class="$navclass[deletedvms]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewvms&amp;type=deleted">$vbphrase[visitor_messages]</a></td></tr></if>
		<if condition="$show['deletedgms']"><tr><td class="$navclass[deletedgms]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewgms&amp;type=deleted">$vbphrase[social_group_messages]</a></td></tr></if>
		<if condition="$show['deletedpcs']"><tr><td class="$navclass[deletedpcs]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewpcs&amp;type=deleted">$vbphrase[picture_comments]</a></td></tr></if>
	</if>

	<if condition="$show['moderateditems']">
		<tr><td class="thead">$vbphrase[moderated_items]</td></tr>
		<if condition="$show['moderatedposts']">
			<tr><td class="$navclass[moderatedthreads]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewthreads&amp;type=moderated">$vbphrase[threads]</a></td></tr>
			<tr><td class="$navclass[moderatedposts]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewposts&amp;type=moderated">$vbphrase[posts]</a></td></tr>
		</if>
		<if condition="$show['moderatedvms']">
			<tr><td class="$navclass[moderatedvms]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewvms&amp;type=moderated">$vbphrase[visitor_messages]</a></td></tr>
		</if>
		<if condition="$show['moderatedgms']">
			<tr><td class="$navclass[moderatedgms]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewgms&amp;type=moderated">$vbphrase[social_group_messages]</a></td></tr>
		</if>
		<if condition="$show['moderatedpcs']">
			<tr><td class="$navclass[moderatedpcs]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewpcs&amp;type=moderated">$vbphrase[picture_comments]</a></td></tr>
		</if>
		<if condition="$show['moderatedpics']">
			<tr><td class="$navclass[moderatedpics]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewpics">$vbphrase[album_pictures]</a></td></tr>
		</if>	
	</if>

</if>
$template_hook[usercp_navbar_bottom]
</table>
<!-- / usercp nav -->

</td>
<td>&nbsp;&nbsp;</td>

<!-- هاك عام ـ إزالة القائمة يمين في لوحة التحكم مع الرسائل الخاصة -->
</if>
<!-- هاك عام ـ إزالة القائمة يمين في لوحة التحكم مع الرسائل الخاصة -->

<td width="100%">

<!-- main page contents -->
$HTML
<!-- / main page contents -->

</td>
</tr>
</table>
<!-- / table to support left column nav -->
$footer
</body>
</html>]]></template>
	</templategroup>
	<templategroup name="Ungrouped Templates">
		<template name="changessaved" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">

	<tr>
		<td class="tcat">$vbphrase[que_user_account_changes_saved]</td>
	</tr>

	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">

			<fieldset class="fieldset">
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>$vbphrase[que_user_account_changes_saved]</td>
				</tr>
				</table>
			</fieldset>
			</div>
		</div>
		</td>
	</tr>

	<tr>
		<td class="tfoot" align="center">
			<div class="smallfont">
				<a href="#" onclick="self.close();">$vbphrase[close_this_window]</a>
			</div>
		</td>
	</tr>

</table>]]></template>
		<template name="changessaved1" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">

	<tr>
		<td class="tcat">$vbphrase[que_user_account_changes_saved]</td>
	</tr>

	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">

			<fieldset class="fieldset">
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>$vbphrase[que_user_account_changes_saved]</td>
				</tr>
				</table>
			</fieldset>
			</div>
		</div>
		</td>
	</tr>

	<tr>
		<td class="tfoot" align="center">
			<div class="smallfont">
				<a href="#" onclick="self.close();">$vbphrase[close_this_window]</a>
			</div>
		</td>
	</tr>

</table>]]></template>
		<template name="flash" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] - $play</title>
	$headinclude
</head>
<body>
$header
$navbar
            <center>
              <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="$w" height="$h">
                <param name="movie" value="$play">
                <param name="quality" value="high">
                <if condition="$b"><param name=bgcolor VALUE="$b"></if>
                <embed src="games/$play.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>
              <br>
              <br>
            </center>
$footer
</body>
</html>
]]></template>
		<template name="footer" templatetype="template" date="1219932205" username="ابو راشد" version="3.7.2"><![CDATA[<br>

$ad_location[ad_footer_start]

<!-- /content area table -->

<center>$vboptions[copyrighttext]</center>

<div align="center">
	<div class="smallfont" align="center">
	<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
	$cronimage
	<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
	</div>
</div>

$ad_location[ad_footer_end]

$spacer_close

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
	<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
	<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
	var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
	var utcOffset = new Date().getTimezoneOffset() / 60;
	if (Math.abs(tzOffset + utcOffset) == 1)
	{	// Dst offset is 1 so its changed
		document.forms.dstform.submit();
	}
//-->
</script>
<!-- / auto DST correction code -->

</if>

</div></div>

<!-- بداية الفوتر -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr>
<td class="bright" width="99" height="128" fixed>&nbsp;</td>
<td class="bcenter" align="center" valign="top">

<!-- روابط الفوتر -->
<div class="smallfont" style="padding-top:60px">

<form action="$vboptions[forumhome].php" method="get">

<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
	<if condition="$show['quickchooser']">
		<td class="smallfont" nowrap>
			<select name="styleid" onchange="switch_id(this, 'style')">
				<optgroup label="$vbphrase[quick_style_chooser]">
					$quickchooserbits
				</optgroup>
			</select>
		</td>
	</if>
	<if condition="$show['languagechooser']">
		<td class="smallfont" nowrap>
			<select name="langid" onchange="switch_id(this, 'lang')">
				<optgroup label="$vbphrase[quick_language_chooser]">
					$languagechooserbits
				</optgroup>
			</select>
		</td>
	</if>

<td width="100%" align="left" class="smallfont" nowrap>

$template_hook[footer_links]

<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow" accesskey="9"><img border="0" src="$stylevar[imgdir_misc]/mwacol/contactuslink.gif" alt="$vbphrase[contact_us]" align="absmiddle"></a></if>

<if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]"><img border="0" src="$stylevar[imgdir_misc]/mwacol/mainhomepage.gif" alt="$vboptions[hometitle]" align="absmiddle"></a></if>

<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]"><img border="0" src="$stylevar[imgdir_misc]/mwacol/admin.gif" alt="$vbphrase[admin]" align="absmiddle"></a></if>

<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]"><img border="0" src="$stylevar[imgdir_misc]/mwacol/mod.gif" alt="$vbphrase[mod]" align="absmiddle"></a></if>

<if condition="$vboptions['archiveenabled']"><a href="archive/index.php"><img border="0" src="$stylevar[imgdir_misc]/mwacol/archive.gif" alt="$vbphrase[archive]" align="absmiddle"></a></if>

<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]"><img border="0" src="$stylevar[imgdir_misc]/mwacol/privacy_statement.gif" alt="$vbphrase[privacy_statement]" align="absmiddle"></a></if>

<a href="http://www.mwadah.com"><img border="0" src="$stylevar[imgdir_misc]/mwacol/mwades.gif" alt="ستايل من تصميم ابو راشد مشرف عام منتديات المودة" align="absmiddle"></a>

<!-- هاك عام ـ كود الكسا -->
<a target="_blank" href="http://www.alexa.com/data/details/main?q=$vboptions[homeurl]&url=$vboptions[homeurl]" title=""><img border="0" src="$stylevar[imgdir_misc]/mwacol/alexa.gif" alt="لعرض معلومات الموقع في أليكسا" align="absmiddle"></a>
<!-- هاك عام ـ كود الكسا -->

<if condition="$show['member']">
<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" title=""><img border="0" src="$stylevar[imgdir_misc]/mwacol/logoutf.gif" alt="تسجيل خروج من المنتدى" align="absmiddle"></a></if>

<a href="#top" onclick="self.scrollTo(0, 0); return false;"><img border="0" src="$stylevar[imgdir_misc]/mwacol/top.gif" alt="$vbphrase[top]" align="absmiddle"></a>

</td></tr></table>
</form>

</div>
<!-- روابط الفوتر -->

<div class="smallfont" style="padding-top:17px">
$vbphrase[all_times_are_gmt_x_time_now_is_y]<br>
$vbphrase[powered_by_vbulletin]
</div>


</td>
<td class="bleft" width="99" height="128" fixed>&nbsp;</td>
</tr></table>
<!-- نهاية الفوتر -->

<script type="text/javascript">
<!--
	// Main vBulletin Javascript Initialization
	vBulletin_init();
//-->
</script>]]></template>
		<template name="forumjump" templatetype="template" date="1218414287" username="ابو راشد" version="3.7.2"><![CDATA[<div  style="text-align:$stylevar[left]; white-space:nowrap">
<form action="forumdisplay.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="daysprune" value="$daysprune" />
<select class="alt1" size="8" name="f" ondblclick="this.form.submit();">
<optgroup label="$vbphrase[site_areas]">
<option value="-1" $defaultselected>$vbphrase[please_select_one]:</option>
<option value="cp" $frmjmpsel[usercp]>$vbphrase[user_control_panel]</option>
<option value="pm" $frmjmpsel[pm]>$vbphrase[private_messages]</option>
<option value="subs" $frmjmpsel[subs]>$vbphrase[subscriptions]</option>
<option value="wol" $frmjmpsel[wol]>$vbphrase[whos_online]</option>
<option value="search" $frmjmpsel[search]>$vbphrase[search_forums]</option>
<option value="home" $frmjmpsel[home]>$vbphrase[forums_home]</option>
<option value="-1">----------------------------------</option>
</optgroup>
<optgroup label="$vbphrase[forums]">
$jumpforumbits</optgroup>
</select>
</form></div>
]]></template>
		<template name="forumrules" templatetype="template" date="1218414319" username="ابو راشد" version="3.7.2"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="202">
<thead>
<tr>
	<td class="thead">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumrules')"><img id="collapseimg_forumrules" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumrules].gif" alt="" border="0" /></a>
		$vbphrase[posting_rules]
	</td>
</tr>
</thead>
<tbody id="collapseobj_forumrules" style="$vbcollapse[collapseobj_forumrules]">
<tr>
	<td class="alt1" nowrap="nowrap"><div class="smallfont">
		<if condition="!$show['codeonly']">
		<div><if condition="$can['postnew']">$vbphrase[you_may_post_new_threads]<else />$vbphrase[you_may_not_post_new_threads]</if></div>
		<div><if condition="$can['reply']">$vbphrase[you_may_post_replies]<else />$vbphrase[you_may_not_post_replies]</if></div>
		<div><if condition="$can['attachment']">$vbphrase[you_may_post_attachments]<else />$vbphrase[you_may_not_post_attachments]</if></div>
		<div><if condition="$can['editpost']">$vbphrase[you_may_edit_your_posts]<else />$vbphrase[you_may_not_edit_your_posts]</if></div>
		<hr />
		</if>
		<div><phrase 1="misc.php?$session[sessionurl]do=bbcode" 2="$bbcodeon">$vbphrase[vb_code_is_x]</phrase></div>
		<div><phrase 1="misc.php?$session[sessionurl]do=showsmilies" 2="$smilieson">$vbphrase[smilies_are_x]</phrase></div>
		<div><phrase 1="misc.php?$session[sessionurl]do=bbcode#imgcode" 2="$imgcodeon">$vbphrase[img_code_is_x]</phrase></div>
		<div><phrase 1="$htmlcodeon">$vbphrase[html_code_is_x]</phrase></div>
	</div></td>
</tr>
</tbody>
</table>
]]></template>
		<template name="header" templatetype="template" date="1219932280" username="ابو راشد" version="3.7.2"><![CDATA[<!-- logo -->
<a name="top"></a>

<!-- هاك عام ـ تغيير الألوان -->
<link rel="stylesheet" type="text/css"  href="$stylevar[imgdir_misc]/mwacol/mwacol1.css" title="default"/>
<link rel="alternate stylesheet" type="text/css" title="color-1" href="$stylevar[imgdir_misc]/mwacol/mwacol1.css" media="screen"/>
<link rel="alternate stylesheet" type="text/css" title="color-2" href="$stylevar[imgdir_misc]/mwacol/mwacol2.css" media="screen"/>
<link rel="alternate stylesheet" type="text/css" title="color-3" href="$stylevar[imgdir_misc]/mwacol/mwacol3.css" media="screen"/>
<link rel="alternate stylesheet" type="text/css" title="color-4" href="$stylevar[imgdir_misc]/mwacol/mwacol4.css" media="screen"/>
<link rel="alternate stylesheet" type="text/css" title="color-5" href="$stylevar[imgdir_misc]/mwacol/mwacol5.css" media="screen"/>
<link rel="alternate stylesheet" type="text/css" title="color-6" href="$stylevar[imgdir_misc]/mwacol/mwacol6.css" media="screen"/>
<link rel="alternate stylesheet" type="text/css" title="color-7" href="$stylevar[imgdir_misc]/mwacol/mwacol7.css" media="screen"/>
<link rel="alternate stylesheet" type="text/css" title="color-8" href="$stylevar[imgdir_misc]/mwacol/mwacol8.css" media="screen"/>
<link rel="alternate stylesheet" type="text/css" title="color-9" href="$stylevar[imgdir_misc]/mwacol/mwacol9.css" media="screen"/>
<link rel="alternate stylesheet" type="text/css" title="color-10" href="$stylevar[imgdir_misc]/mwacol/mwacol10.css" media="screen"/>
<link rel="alternate stylesheet" type="text/css" title="color-11" href="$stylevar[imgdir_misc]/mwacol/mwacol11.css" media="screen"/>
<link rel="alternate stylesheet" type="text/css" title="color-12" href="$stylevar[imgdir_misc]/mwacol/mwacol12.css" media="screen"/>
<link rel="alternate stylesheet" type="text/css" title="color-13" href="$stylevar[imgdir_misc]/mwacol/mwacol13.css" media="screen"/>
<link rel="alternate stylesheet" type="text/css" title="color-14" href="$stylevar[imgdir_misc]/mwacol/mwacol14.css" media="screen"/>
<link rel="alternate stylesheet" type="text/css" title="color-15" href="$stylevar[imgdir_misc]/mwacol/mwacol15.css" media="screen"/>
<script src="$stylevar[imgdir_misc]/mwacol/vbullletin_ajax_reputation.js" type="text/javascript" ></script>
<!-- هاك عام ـ تغيير الألوان -->

<!-- بداية الهيدر -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr>
<td class="hright" width="102" height="165" fixed>&nbsp;</td>
<td class="hcenter" align="center" valign="top">

<!-- بداية هاك تغيير الألوان -->
<div style="padding-top:50px; float:center">
<a href="javascript:chooseStyle('color-1',60)">
<img src="$stylevar[imgdir_misc]/mwacol/mwacol1.gif" alt="" border="0"/></a>
<a href="javascript:chooseStyle('color-2',60)">
<img src="$stylevar[imgdir_misc]/mwacol/mwacol2.gif" alt="" border="0"/></a>
<a href="javascript:chooseStyle('color-3',60)">
<img src="$stylevar[imgdir_misc]/mwacol/mwacol3.gif" alt="" border="0"/></a>
<a href="javascript:chooseStyle('color-4',60)">
<img src="$stylevar[imgdir_misc]/mwacol/mwacol4.gif" alt="" border="0"/></a>
<a href="javascript:chooseStyle('color-5',60)">
<img src="$stylevar[imgdir_misc]/mwacol/mwacol5.gif" alt="" border="0"/></a>
<a href="javascript:chooseStyle('color-6',60)">
<img src="$stylevar[imgdir_misc]/mwacol/mwacol6.gif" alt="" border="0"/></a>
<a href="javascript:chooseStyle('color-7',60)">
<img src="$stylevar[imgdir_misc]/mwacol/mwacol7.gif" alt="" border="0"/></a>
<a href="javascript:chooseStyle('color-8',60)">
<img src="$stylevar[imgdir_misc]/mwacol/mwacol8.gif" alt="" border="0"/></a>
<a href="javascript:chooseStyle('color-9',60)">
<img src="$stylevar[imgdir_misc]/mwacol/mwacol9.gif" alt="" border="0"/></a>
<a href="javascript:chooseStyle('color-10',60)">
<img src="$stylevar[imgdir_misc]/mwacol/mwacol10.gif" alt="" border="0"/></a>
<a href="javascript:chooseStyle('color-11',60)">
<img src="$stylevar[imgdir_misc]/mwacol/mwacol11.gif" alt="" border="0"/></a>
<a href="javascript:chooseStyle('color-12',60)">
<img src="$stylevar[imgdir_misc]/mwacol/mwacol12.gif" alt="" border="0"/></a>
<a href="javascript:chooseStyle('color-13',60)">
<img src="$stylevar[imgdir_misc]/mwacol/mwacol13.gif" alt="" border="0"/></a>
<a href="javascript:chooseStyle('color-14',60)">
<img src="$stylevar[imgdir_misc]/mwacol/mwacol14.gif" alt="" border="0"/></a>
<a href="javascript:chooseStyle('color-15',60)">
<img src="$stylevar[imgdir_misc]/mwacol/mwacol15.gif" alt="" border="0"/></a>
</div>
<!-- بداية هاك تغيير الألوان -->

<div style="padding-top:25px; float:center">

<!-- بداية الأزرار -->
<div style="padding-top:10px; float:center">

<table cellpadding="0" cellspacing="0" border="0" align="center"><tr>
<if condition="$show['member']">
<td class="but1" width="68" height="39" fixed style="cursor: hand;" onclick="window.location = 'usercp.php$session[sessionurl_q]';">&nbsp;</td>
</if>

<if condition="$vboptions['enablememberlist']">
<td class="but2" width="68" height="39" fixed style="cursor: hand;" onclick="window.location = 'memberlist.php$session[sessionurl_q]';">&nbsp;</td>
</if>

<td class="but3" width="68" height="39" fixed style="cursor: hand;" onclick="window.location = 'calendar.php$session[sessionurl_q]';">&nbsp;</td>

<td class="but4" width="68" height="39" fixed style="cursor: hand;" onclick="window.location = 'faq.php$session[sessionurl_q]';">&nbsp;</td>

<if condition="$show['member']">
<td class="but5" width="68" height="39" fixed style="cursor: hand;" onclick="window.location = 'login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]';">&nbsp;</td>
</if>

<if condition="$show['registerbutton']">
<td class="but6" width="68" height="39" fixed style="cursor: hand;" onclick="window.location = 'register.php$session[sessionurl_q]';">&nbsp;</td>
</if>

</tr></table></div>
<!-- نهاية الأزرار -->

</td>
<td class="hleft" width="102" height="165" fixed>&nbsp;</td>
</tr></table>
<!-- نهاية الهيدر -->

<!-- /logo -->

<!-- content table -->

<div class="page1" align="center">
<div class="page2" align="center">

$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
]]></template>
		<template name="headinclude" templatetype="template" date="1219115763" username="ابو راشد" version="3.7.2"><![CDATA[<meta name="verify-v1" content="4HWgMBVLFEI3QgKiAigYCrd+WSPYHOG76HNDhIWXTpU=" />
<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<if condition="$show['threadinfo']">
<meta name="keywords" content="<if condition="$threadinfo['taglist']">$threadinfo[taglist], </if>$threadinfo[prefix_plain_html] $threadinfo[title], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[prefix_plain_html] $threadinfo[title] $foruminfo[title_clean]" />
<else /><if condition="$show['foruminfo']">
<meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
<else />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
</if></if>

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<style type="text/css" id="vbulletin_opera8fix_css">
ul, ol { padding-$stylevar[left]:20px; }
</style>
</if>
<if condition="$show['editor_css']">
$editor_css
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript" src="$stylevar[yuipath]/yahoo-dom-event/yahoo-dom-event.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="$stylevar[yuipath]/connection/connection-min.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var SECURITYTOKEN = "$bbuserinfo[securitytoken]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
var vb_disable_ajax = parseInt("$vboptions[disable_ajax]", 10);
// -->
</script>
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>

<if condition="$vboptions['externalrss']">
	<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" />
	<if condition="$show['foruminfo'] OR $show['threadinfo']">
		<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]" />
	</if>
</if>

<!-- هاك عام ـ تصحيح عرض الصور من نوع png الشفافة في المتصفحات القديمة -->
<script type="text/javascript" src="$stylevar[imgdir_misc]/pngfix.js"></script>
<!-- هاك عام ـ تصحيح عرض الصور من نوع png الشفافة في المتصفحات القديمة -->
]]></template>
		<template name="QUIZ" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] - $pagetitle</title>
$headinclude
</head>
<body>
$header
$navbar

<br>
<if condition="$bbuserinfo[userid]=='0'">


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat" colspan="3">ضيف - لا يمتلك الصلاحيات</td>
</tr>
<tr>
	<td class="thead">غير مصرح لك بالمشاهدة</td>
</tr>
<tr>
	<td class="alt1" colspan="1">يتوجب التسجيل لمشاهدة المسابقات</td>
</tr>
</table>
<br/>

<else />

<table cellpadding="5" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td width='20%' valign='top'>
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
	<td class="tcat" align="center" style="white-space:nowrap">المسابقات</td>
	</tr>
	<tr>
	<td class="thead" align="center" style="white-space:nowrap">الإضافة</td>
	</tr>
	<tr>
	<td class="alt1" align="center"><a href='quiz.php?{$session[sessionurl]}do=SubmitQuiz'>أضافة مسابقة</a></td>
	</tr>
	<if condition="is_array($NewestQuiz)">
	<tr>
	<td class="thead" align="center" style="white-space:nowrap">آخر المسابقات</td>
	</tr>
	<tr>
	<td class="alt1" align='center'>
	{$NewestQuiz['q_name']}<br />
	{$NewestQuiz['q_image']}
	<br />
	<a href='quiz.php?{$session['sessionurl']}do=Take&id={$NewestQuiz['qid']}'>إشترك</a> ــ <a href='quiz.php?{$session['sessionurl']}do=Stats&id={$NewestQuiz['qid']}'>الإحصائيات</a>
	</td>
	</tr>
	</if>
	<if condition="is_array($LB)">
	<tr>
	<td class="thead" align="center" style="white-space:nowrap">لوحة الشرف</td>
	</tr>
	<tr>
	<td class="alt1" align="center"><a href='quiz.php?{$session[sessionurl]}do=Leaderboard&type={$LB['link']}'>{$LB['text']}</a></td>
	</tr>
	</if>
	</table>
</td>
	<td width='80%' valign='top'>
	{$quiz_page}
	</td>
</tr>
<tr>
<td align='center' colspan='2'>
<table border="0" width="100%" align="center">
	<tr>
		<td align='center' width='100%'>
		<a href='http://infernotechnologies.net' target='_blank'>مشغل بواسطة المسابقات<a> ــ <a href="http://gzevolution.net" target="_blank">المبرمج</a> ــ <a href="http://www.mwadah.com" target="_blank">تعريب المودة</a>
		</td>
	</tr>
</table>

</td>
</tr>
</table>
{$MenuBuild}
</if>

$footer
</body>
</html>]]></template>
		<template name="quiz_cat_end" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[</tbody>
<tr>
<td class='tfoot' colspan='3'>
&nbsp;
</td>
</tr>
</table>
<br />]]></template>
		<template name="quiz_cat_row" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[	<tr>
		<td class='alt1' align='center' width='30%'>
		<a href='quiz.php?{$session['sessionurl']}do=Cat&id={$Cat['cid']}'>{$Cat['c_name']}</a>
		</td>
		<td class='alt1' align='center' width='60%'>
		{$Cat['c_desc']}
		</td>
		<td class='alt1' align='center' width='10%'>
		{$Cat['c_num']}
		</td>
	</tr>]]></template>
		<template name="quiz_cat_row_none" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[	<tr>
		<td class='alt1' align='center' width='100%' colspan='4'>
		لا يوجد أقسام حاليا
		</td>
	</tr>]]></template>
		<template name="quiz_cat_top" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan='3'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quizc')"><img id="collapseimg_forumhome_quizc" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>أقسام المسابقات</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quizc" style="{$vbcollapse['collapseobj_forumhome_quizc']}">
	<tr>
		<td class='thead' align='center' width='30%'>
		القسم
		</td>
		<td class='thead' align='center' width='60%'>
		الشرح
		</td>
		<td class='thead' align='center' width='10%'nowrap>
		عدد المسابقات
		</td>
	</tr>]]></template>
		<template name="quiz_do_end" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[</tbody>
<tr>
<td class='thead' colspan='2' align='center'>
<input type='submit' value='موافق' class='button' />
</td>
</tr>
</table>
</form>
<br />]]></template>
		<template name="quiz_do_question" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[	<tr>
		<td class='thead' colspan='2' width='100%' align='center'>
		السؤال رقم : {$n}
		</td>
	</tr>
	<tr>
		<td class='alt1' align='right' nowrap>
		السؤال : {$Q['q_question']}
		</td>
		<td class='alt1' align='right' width='100%' nowrap>
		{$Select}
		</td>
	</tr>
]]></template>
		<template name="quiz_do_top" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[<if condition="$Quiz['q_timelimit'] > 0">
<script type='text/javascript'>
<!--
TimeLeft = 60 * {$Quiz['q_timelimit']}
Submit   = false

	function QuizTime(){
	TimeLeft--

		if(TimeLeft < 1){
		Submit = true
		document.forms['quiz_form'].submit(true)
		}

	Minutes = Math.floor(TimeLeft / 60)
	Seconds = (TimeLeft - (Minutes * 60))

	window.status = "Time Left: "+Minutes+" minute(s), "+Seconds+" second(s)"

		if(!Submit){
		setTimeout("QuizTime()",1000)
		}
	}

setTimeout("QuizTime()",1000)

-->
</script>
</if>

<form action="quiz.php?$session[sessionurl]" method="post" name="quiz_form">
<input type='hidden' name='do' value='subQuiz' />
<input type='hidden' name='qid' value='{$Quiz['qid']}' />


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan='2'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_take')"><img id="collapseimg_forumhome_quiz_take" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>المسابقة : {$Quiz['q_name']}</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_take" style="{$vbcollapse['collapseobj_forumhome_quiz_take']}">
	<tr>
		<td class='thead' align='center' nowrap>
		السؤال
		</td>
		<td class='thead' align='center' width='100%' nowrap>
		الإجابة
		</td>
	</tr>]]></template>
		<template name="quiz_error" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat">
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_error')"><img id="collapseimg_forumhome_error" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>خطأ</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_error" style="{$vbcollapse['collapseobj_forumhome_error']}">
    <tr>
        <td class="thead" width="100%">حدث الخطأ التالي</td>
    </tr>
<tr>
<td class='alt1' align='center' width='100%'>حدث الخطأ التالي :<br/><br/>{$message}</td>
</tr>
<tr>
<td class="thead" width="100%" align='center'>[ <a href='javascript:history.go(-1)'>عودة</a> ]</td>
</tr>
</tbody>
</table>
<br />]]></template>
		<template name="quiz_footer" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0" />
		<template name="quiz_leaderboard_end" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[</tbody>
<tr>
<td class='thead' colspan='4'>
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=10'>أفضل 10</a> ــ
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=20'>أفضل 20</a> ــ
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=30'>أفضل 30</a> ــ
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=40'>أفضل 40</a> ــ
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=50'>أفضل 50</a>
</td>
</tr>
</table>
<br />]]></template>
		<template name="quiz_leaderboard_row" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[	<tr>
		<td class='alt1' align='center' width='1%'>
		{$Count})
		</td>
		<td class='alt1' align='center' width='40%'>
		<a href='quiz.php?{$session['sessionurl']}do=UserStat&userid={$gData['r_userid']}&id={$gData['qid']}'>{$gData['username']}</a>
		</td>
		<td class='alt1' align='center' width='1%'>
		{$gData['r_score']}%
		</td>
		<td class='alt1' align='center' width='40%'>
<div id="leaderboard_{$gData['rid']}" width='1%' style='white-space:nowrap;'><a href="#">{$gData['q_name']}</a>  <script type="text/javascript"> vbmenu_register("leaderboard_{$gData['rid']}",1); </script></div>
		</td>
	</tr>]]></template>
		<template name="quiz_leaderboard_top" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan='4'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quizl')"><img id="collapseimg_forumhome_quizl" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>لوحة الشرف</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quizl" style="{$vbcollapse['collapseobj_forumhome_quizl']}">
	<tr>
		<td class='thead' align='center' width='1%'>
		الترتيب
		</td>
		<td class='thead' align='center' width='40%'>
		إسم العضو
		</td>
		<td class='thead' align='center' width='1%'>
		النتيجة
		</td>
		<td class='thead' align='center' width='40%'>
		المسابقة
		</td>
	</tr>]]></template>
		<template name="quiz_main_end" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[</tbody>
</table>
<br />]]></template>
		<template name="quiz_main_row" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[	<tr>
		<td class='thead' align='center' width='1%'>
		{$Quiz['q_name']}
		</td>
	</tr>
	<tr>
		<td class='alt1' align='center' width='1%'>
		<table border='0' width='100%' cellpadding='3' cellspacing='0'>
		<tr>
		<if condition="$Quiz[q_image] != ''"><td width='1%'>{$Quiz['q_image']}</td></if>
		<td>
			<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
			<tr>
			<td class="thead" colspan='4'>شرح المسابقة</td>
			</tr>
			<tr>
			<td class="alt1" colspan='4'>{$Quiz['q_desc']}</td>
			</tr>
			<tr>
			<td class="thead">تاريخ الإنتهاء</td>
			<td class="thead">إشترك</td>
			<td class="thead">الإحصائيات</td>
			<td class="thead">لوحة الشرف</td>
			</tr>
			<tr>
			<td class="alt1">{$Quiz['q_autoend']}</td>
			<td class="alt1"><a href="quiz.php?$session[sessionurl]do=Take&id={$Quiz['qid']}">إشترك</a></td>
			<td class="alt1"><a href="quiz.php?$session[sessionurl]do=Stats&id={$Quiz['qid']}">الإحصائيات</a></td>
			<td class="alt1"><a href="quiz.php?$session[sessionurl]do=Leaderboard&type={$Quiz['qid']}">لوحة الشرف</a></td>
			</tr>
			</table>
		</td>
		</tr>
		</table>
		</td>
	</tr>]]></template>
		<template name="quiz_main_row_none" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[	<tr>
		<td class='alt1' align='center' width='100%'>
		لا يوجد مسابقات مفتوحة
		</td>
	</tr>]]></template>
		<template name="quiz_main_top" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat">
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz')"><img id="collapseimg_forumhome_quiz" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>المسابقات المفتوحة حاليا</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quiz" style="{$vbcollapse['collapseobj_forumhome_quiz']}">]]></template>
		<template name="quiz_start" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[<script type='text/javascript'>
<!--

	function rectifyForm(Form){
	Form.action = 'quiz.php?$session[sessionurl]do=Take&id=$_GET[id]'
	}

-->
</script>

<form action="quiz.php?nojs=1" method="post" onsubmit='rectifyForm(this)'>
<input type='hidden' name='quiz_start' value='1' />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan='2'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_start')"><img id="collapseimg_forumhome_quiz_start" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>المشاركة في مسابقة : {$Quiz['q_name']}</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_start" style="{$vbcollapse['collapseobj_forumhome_quiz_start']}">
<tr>
<td class='alt1' colspan='2' align='center'>
	<if condition="$Quiz['q_timelimit'] > 0">
أنت على وشك بدء هذه المسابقة , تم تحديد وقت للمسابقة , لديك {$Quiz['q_timelimit']} دقائق لإنهاء المسابقة , وفي حالة إنتهاء الوقت قبل إنهائك المسابقة فسيتم تسجيل نتيجتك آليا .
	<else />
أنت على وشك بدء هذه المسابقة , الوقت مفتوح لإنهاء هذه المسابقة .
	</if>
<br />
نقره على إشترك لبدء المسابقة .
</td>
</tr>
</tbody>
<tr>
<td class='thead' colspan='2' align='center'>
<input type='submit' value='إشترك' class='button' />
</td>
</tr>
</table>
</form>
<br />]]></template>
		<template name="quiz_stats" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan='2'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_stat')"><img id="collapseimg_forumhome_quiz_stat" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>إحصائية المسابقة : {$Quiz['q_name']}</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_stat" style="{$vbcollapse['collapseobj_forumhome_quiz_stat']}">

	<tr>
		<td class='thead' align='center'>
		النتيجة
		</td>
		<td class='thead' align='center'>
		المشاركون
		</td>
	</tr>

	<tr>
		<td class='alt1' align='center'>
		النتيجة : {$Average}
		</td>
		<td class='alt1' align='center'>
		المشاركون : {$Done}
		</td>
	</tr>

	<tr>
		<td class='thead' colspan='2' align='center'>
		المشاركون في المسابقة
		</td>
	</tr>

	<tr>
		<td class='alt1' colspan='2' align='center'>
		{$Submissions}
		</td>
	</tr>
</tbody>
<tr>
<td class='tfoot' colspan='2' align='center'>
&nbsp;
</td>
</tr>
</table>
<br />]]></template>
		<template name="quiz_sthanks" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan='2'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_start')"><img id="collapseimg_forumhome_quiz_start" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>شكرا</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_start" style="{$vbcollapse['collapseobj_forumhome_quiz_start']}">
<tr>
<td class='alt1' colspan='2' align='center'>
شكرا لإضافة المسابقة ... سوف يتم عرض المسابقة في حالة موافقة الإدارة عليها .
</td>
</tr>
</tbody>
<tr>
<td class='tfoot' colspan='2' align='center'>
&nbsp;
</td>
</tr>
</table>
<br />]]></template>
		<template name="quiz_submit_quiz" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[<script type='text/javascript'>
<!--
Counter = 1

	function PA(){
	txt =  "السماح بالإجابة الجزئية وكمثال على ذلك:\n"
	txt += "إجابة العضو : في لندن\n"
	txt += "الإجابة الصحيحة : لندن\n\n"
	txt += "عند تفعيل الإجابة الجزئية سيعتبر أعلاه جواب صحيح"
	txt += "\n\n - هذا الخيار مطلوب في حالة إختيار إجابة واحده (1) كلمة."
	alert(txt)

	return false
	}

	function isBlank(Value){
		if(!Value || Value.replace(/ /g,'') == ''){
		return true
		} else {
		return false
		}
	}

	function stripNQ(Data){
		if(Data.match(/<i>No Questions Currently Added<\/i>/i)){
		Data = Data.replace(/<i>No Questions Currently Added<\/i>/i,'')
		}

	return Data
	}

	function getAnswerType(Type){
	OptA    = "<textarea class='bginput' name=\"QuestionData["+Counter+"][Options]\" cols='40' rows='3'></textarea>"
	AnsA    = "<input type='text' class='bginput' name=\"QuestionData["+Counter+"][Answer]\" />"
	AnsB    = "<textarea class='bginput' name=\"QuestionData["+Counter+"][Answer]\" cols='40' rows='3'></textarea>"
	AllowPA = false
	

		switch(Type){

		case '1':
		Options = 'مفتوح'
		Answers = AnsA
		AllowPA = true
		break

		case '2':
		Options = OptA
		Answers = AnsA
		break

		case '3':
		Options = OptA
		Answers = AnsB
		break

		default:
		alert('Invalid answer format type specified')
		return false
		break

		}

	return [Options,Answers,AllowPA,Type]
	}

	function removeQ(Obj){
	Obj.parentNode.parentNode.parentNode.removeChild(Obj.parentNode.parentNode)

		if(document.getElementById('quiz_questions').innerHTML.replace(/ /g) == ''){
		document.getElementById('quiz_questions').innerHTML = "<i>No Questions Currently Added</i>"
		}

	return false
	}

	function wrapBuild(Build){
	return "<fieldset class='fieldset'><legend class='legend'>Question: [<a href='#' title='Remove Question?' onclick='return removeQ(this)'>X</a>]</legend>"+Build+"</fieldset>"
	}

	function clearAQForm(){
	document.forms['quiz'].q_new_question.value = ''
	document.forms['quiz'].q_new_type.options.selectedIndex = 0
	}

	function addQuestion(){
	Question = document.forms['quiz'].q_new_question.value.replace(/'/g,"&#39;") // Stop ' choke - change to HTML entity
	AnsType  = document.forms['quiz'].q_new_type
	AnsType  = AnsType.options[AnsType.options.selectedIndex].value
	AnsType  = getAnswerType(AnsType)

	TypeText    = []
	TypeText[1] = "TextBox"
	TypeText[2] = "Radio"
	TypeText[3] = "Multi"

		if(isBlank(Question)){
		alert('يتوجب إضافة سؤال')
		return false
		}

	Build  = "<table width='100%' cellpadding='3' cellspacing='0' border='0'>"
	Build += "<tr>"
	Build += "<td width='100%' align='left'>Question:<br />BBCode May Be Used<input type='hidden' name='QuestionData["+Counter+"][Type]' value='"+TypeText[AnsType[3]]+"' /></td>"
	Build += "<td width='1%'><input type='text' class='bginput' name='QuestionData["+Counter+"][Q]' value='"+Question+"' /></td>"
	Build += "</tr>"
	Build += "<tr>"
	Build += "<td width='100%' align='left'>خيارات الإجابة :<br />كل إجابة في سطر جديد</td>"
	Build += "<td width='1%'>"+AnsType[0]+"</td>"
	Build += "</tr>"
	Build += "<tr>"
	Build += "<td width='100%' align='left'>الإجابة الصحيحة :<br />كل إجابة في سطر جديد</td>"
	Build += "<td width='1%'>"+AnsType[1]+"</td>"
	Build += "</tr>"
		if(AnsType[2]){
		Build += "<tr>"
		Build += "<td width='100%' align='left'>تمكين الإجابة الجزئية لهذا السؤال :<br /><a href='#' onclick='return PA()'>ما هذا ?</a></td>"
		Build += "<td width='1%'><select name=\"QuestionData["+Counter+"][QA]\" class='bginput'><option value='0'>لا</option><option value='1'>نعم</option></select></td>"
		Build += "</tr>"
		}
	Build += "</table>"
	Build  = wrapBuild(Build)

	document.getElementById('quiz_questions').innerHTML  = stripNQ(document.getElementById('quiz_questions').innerHTML)
	document.getElementById('quiz_questions').innerHTML += Build

	Counter++
	clearAQForm()
	return false
	}
-->
</script>

<form action="quiz.php?do=doSubmitQuiz" enctype="multipart/form-data" name="quiz" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="999999999" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="right">
<thead>
    <tr>
        <td class="tcat" colspan='2'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_submit')"><img id="collapseimg_forumhome_quiz_submit" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>إضافة مسابقة</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_submit" style="{$vbcollapse['collapseobj_forumhome_quiz_submit']}">
<tr>
<td class='thead' colspan='2' align='center'>إعدادات المسابقة</td>
</tr>
	<tr>
	<td class='alt1'>إسم المسابقة :</td>
	<td class='alt1' align='right' width='100%'>
	<input type='text' size='50' name='q_name' class='bginput' />
	</td>
	</tr>
	<tr>
	<td class='alt1' nowrap>شرح وتفاصيل المسابقة :</td>
	<td class='alt1' align='right'>
	<input type='text' size='50' name='q_desc' class='bginput' />
	</td>
	</tr>
	<tr>
	<td class='alt1'>القسم :</td>
	<td class='alt1' align='right'>
	<select name='q_cat' class='bginput'>{$CatBuild}</select>
	</td>
	</tr>
	<tr>
	<td class='alt1'>صورة المسابقة :<br/>إختياري والأنواع المسموحة من الصور : .gif .bmp .png .jpg .jpeg</td>
	<td class='alt1' align='right'>
	<input type="file" class="bginput" name="q_image" />
	</td>
	</tr>
<tr>
<td class='thead' colspan='2' align='center'>أسئلة المسابقة</td>
</tr>
	<tr>
	<td class='alt1' colspan='2' align='center'>
	<fieldset class='fieldset'>
	<legend>إضافة سؤال جديد :</legend>
		<table width='100%' border='0' cellpadding='3' cellspacing='0'>
		<tr>
		<td align='right' nowrap>السؤال :<br />مسموح بأكواد BB</td>
		<td width='100%' align='right'><input type='text' size='50' name='q_new_question' class='bginput' /></td>
		</tr>
		<tr>
		<td align='right'>نوع الإجابة :</td>
		<td width='100%' align='right'><select name='q_new_type' class='bginput'>
		<option value='1'>إجابة مفردة</option>
		<option value='2'>إختيار مفرد من عدة إجابات</option>
		<option value='3'>إختيار متعدد من عدة إجابات</option>
		</select></td>
		</tr>
		<tr>
		<td width='100%' colspan='2' align='center'><input type='button' value='إضافة السؤال للمسابقة' class='button' onclick='addQuestion()' /></td>
		</tr>
		</table>
	</fieldset>
	</td>
	</tr>
	<tr>
	<td class='alt1' colspan='2' id='quiz_questions' align='center'>
	لم تتم إضافة أسئلة للمسابقة
	</td>
	</tr>
</tbody>
<tr>
<td class='thead' colspan='2' align='center'>
<input type='submit' value='إضافة المسابقة' class='button' />
</td>
</tr>
</table>
</form>
<br />]]></template>
		<template name="quiz_thanks" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan='2'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_start')"><img id="collapseimg_forumhome_quiz_start" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>شكرا</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_start" style="{$vbcollapse['collapseobj_forumhome_quiz_start']}">
<tr>
<td class='alt1' colspan='2' align='center'>
شكرا لإشتراكك في هذه المسابقة ... تم إرسال النتيجة لك في رسالة خاصة ... فضلا راجع الرسائل الخاصة لمعرفة نتيجتك .
</td>
</tr>
</tbody>
<tr>
<td class='tfoot' colspan='2' align='center'>
&nbsp;
</td>
</tr>
</table>
<br />]]></template>
		<template name="quiz_userstats_end" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[</tbody>
<tr>
<td class='thead' colspan='4'>
النتيجة : {$Overall}%
</td>
</tr>
</table>
<br />]]></template>
		<template name="quiz_userstats_row" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[	<tr>
		<td class='alt1' align='right' width='50%'>
		{$Count}) {$Quest['q_question']}
		</td>
		<td class='alt1' align='center' width='10%'>
		{$Result[0]}%
		</td>
		<td class='alt2' align='center' width='20%'>
		{$User_Answers}
		</td>
		<td class='alt2' align='center' width='20%'>
		{$Real_Answers}
		</td>
	</tr>]]></template>
		<template name="quiz_userstats_top" templatetype="template" date="1211229136" username="ابو راشد" version="3.7.0"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan='4'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_userstat')"><img id="collapseimg_forumhome_quiz_userstat" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>إحصائية المسابقة للعضو : {$Quiz['username']}</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_userstat" style="{$vbcollapse['collapseobj_forumhome_quiz_userstat']}">
	<tr>
		<td class='thead' align='right' width='50%'>
		السؤال
		</td>
		<td class='thead' align='center' width='10%'>
		صحيح
		</td>
		<td class='thead' align='center' width='20%'>
		إجابة العضو
		</td>
		<td class='thead' align='center' width='20%'>
		الإجابة الصحيحة
		</td>
	</tr>]]></template>
		<template name="STANDARD_ERROR_LOGIN" templatetype="template" date="1218563626" username="ابو راشد" version="3.7.2"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<if condition="$show['search_noindex']"><meta name="robots" content="noindex,follow" /></if>
$headinclude
	<title>$pagetitle</title>
$headinsert
</head>
<body>
$header

<!-- $_navbar // the navbar shows a login option that will break the purpose of this form -->
<br /><br /><br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center">
<tr>
	<td class="tcat">$vbphrase[vbulletin_message]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]">

			<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
			<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
			<input type="hidden" name="do" value="login" />
			<input type="hidden" name="url" value="$scriptpath" />
			<input type="hidden" name="vb_login_md5password" />
			<input type="hidden" name="vb_login_md5password_utf" />
			$postvars

			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

			<blockquote><p>$errormessage</p></blockquote>

			<fieldset class="fieldset">
				<legend>$vbphrase[log_in]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" align="center">
				<tr>
					<td>$vbphrase[username]:<br /><input type="text" class="bginput" name="vb_login_username" size="50" accesskey="u" tabindex="1" /></td>
				</tr>
				<tr>
					<td>$vbphrase[password]:<br /><input type="password" class="bginput" name="vb_login_password" size="50" tabindex="1" /></td>
				</tr>
				<tr>
					<td>
						<span style="float:$stylevar[right]"><a href="login.php?$session[sessionurl]do=lostpw">$vbphrase[forgotten_your_password]</a></span>
						<label for="cb_cookieuser"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser" checked tabindex="1" />$vbphrase[remember_me]</label>
					</td>
				</tr>
				<tr>
					<td align="$stylevar[right]">
						<input type="submit" class="button" value="$vbphrase[log_in]" accesskey="s" tabindex="1" />
						<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" tabindex="1" />
					</td>
				</tr>
				</table>
			</fieldset>

			<if condition="$show['register_message']">
				<div class="smallfont"><phrase 1="register.php?$session[sessionurl]do=signup">$vbphrase[admin_required_register]</phrase></div>
			</if>
			</form>

		</div>
	</div>
	</td>
</tr>
</table>

<br />

<if condition="!$show['enableforumjump']">
<!-- forum jump -->
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
	<td>$forumjump</td>
</tr>
</table>
<!-- / forum jump -->
</if>

<br />

$footer

</body>
</html>]]></template>
	</templategroup>
</style>
