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

<style name="ستايل علي صراط حق نمسكه" vbversion="3.8.7" product="vbulletin" type="custom">
	<templategroup name="CSS Special Templates">
		<template name=".alt1, .alt1Active" templatetype="css" date="1318838748" username="المهندس" version=""><![CDATA[a:7:{s:10:"background";s:7:"#FFEFEF";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:34:"Times New Roman, helvetica,verdana";}s:5:"EXTRA";s:190:"-webkit-border-radius: 9px;
-moz-border-radius: 9px;
border-left: 1px solid #B9B9B9; 
border-top: 1px solid #B9B9B9; 
border-right: 1px solid #000000; 
border-bottom: 1px solid #000000;";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=".alt2, .alt2Active" templatetype="css" date="1318838748" username="المهندس" version=""><![CDATA[a:7:{s:10:"background";s:7:"#FFE5E5";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:34:"Times New Roman, helvetica,verdana";}s:5:"EXTRA";s:190:"-webkit-border-radius: 9px;
-moz-border-radius: 9px;
border-left: 1px solid #B9B9B9; 
border-top: 1px solid #B9B9B9; 
border-right: 1px solid #000000; 
border-bottom: 1px solid #000000;";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="1313137678" username="علي الموسوي" version=""><![CDATA[a:4:{s:10:"background";s:17:"#FFEFCE url(xxxx)";s:5:"color";s:7:"#330033";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"11px";s:6:"family";s:32:"tahoma, arial, helvetica,verdana";}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 #000000; 
border-bottom: 1px solid #000000;";}]]></template>
		<template name=".fjdpth0" templatetype="css" date="1250266324" username="ksatec.com.sa" version=""><![CDATA[a:2:{s:10:"background";s:7:"#FBF2E3";s:5:"color";s:7:"#663300";}]]></template>
		<template name=".fjsel" templatetype="css" date="1250266324" username="ksatec.com.sa" version=""><![CDATA[a:2:{s:10:"background";s:8:"#FFEFCE ";s:5:"color";s:7:"#330000";}]]></template>
		<template name=".highlight" templatetype="css" date="1246801252" username="ksatec.com.sa" version=""><![CDATA[a:4:{s:10:"background";s:0:"";s:5:"color";s:7:"#FF0000";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:"";}]]></template>
		<template name=".navbar" templatetype="css" date="1246801252" username="ksatec.com.sa" version=""><![CDATA[a:7:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:4:"11px";s:6:"family";s:32:"tahoma, arial, helvetica,verdana";}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="1250266636" username="ksatec.com.sa" 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: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:7:"#330000";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#330000";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#993300";s:15:"text-decoration";s:5:"blink";}}]]></template>
		<template name=".panel" templatetype="css" date="1250266324" username="ksatec.com.sa" version=""><![CDATA[a:7:{s:10:"background";s:7:"#FBF2E3";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:150:"padding: 5px;
border-left: 1px solid #B9B9B9; 
border-top: 1px solid #B9B9B9; 
border-right: 1px solid #000000; 
border-bottom: 1px solid #000000;";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="1250266324" username="ksatec.com.sa" version=""><![CDATA[a:4:{s:10:"background";s:7:"#FBF2E3";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 #000000; 
border-top: 1px solid #000000; 
border-right: 1px solid #000000; 
border-bottom: 1px solid #000000;";}]]></template>
		<template name=".smallfont" templatetype="css" date="1246801252" username="ksatec.com.sa" 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:4:"11px";s:6:"family";s:32:"tahoma, arial, helvetica,verdana";}s:5:"EXTRA";s:0:"";}]]></template>
		<template name=".tborder" templatetype="css" date="1318841134" username="المهندس" version=""><![CDATA[a:4:{s:10:"background";s:30:"#FFFFFF url(ali/images/a2.jpg)";s:5:"color";s:7:"#FFFFFF";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=".tcat" templatetype="css" date="1318840885" username="المهندس" version=""><![CDATA[a:7:{s:10:"background";s:30:"#FFFFFF url(ali/images/a1.jpg)";s:5:"color";s:7:"#330000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"11px";s:6:"family";s:32:"tahoma, arial, helvetica,verdana";}s:5:"EXTRA";s:190:"-webkit-border-radius: 9px;
-moz-border-radius: 9px;
border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #000000; 
border-bottom: 1px solid #000000;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#330000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#330000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFF66";s:15:"text-decoration";s:5:"blink";}}]]></template>
		<template name=".tfoot" templatetype="css" date="1318841263" username="المهندس" version=""><![CDATA[a:7:{s:10:"background";s:30:"#FFFFFF url(ali/images/a4.jpg)";s:5:"color";s:7:"#330000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"11px";s:6:"family";s:32:"tahoma, arial, helvetica,verdana";}s:5:"EXTRA";s:135:"border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #000000; 
border-bottom: 1px solid #000000;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#330000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#330000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFF66";s:15:"text-decoration";s:5:"blink";}}]]></template>
		<template name=".thead" templatetype="css" date="1318841495" username="المهندس" version=""><![CDATA[a:7:{s:10:"background";s:30:"#FFFFFF url(ali/images/a6.jpg)";s:5:"color";s:7:"#330000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"11px";s:6:"family";s:32:"tahoma, arial, helvetica,verdana";}s:5:"EXTRA";s:190:"-webkit-border-radius: 9px;
-moz-border-radius: 9px;
border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #000000; 
border-bottom: 1px solid #000000;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#CC9900";s:15:"text-decoration";s:5:"blink";}}]]></template>
		<template name=".time" templatetype="css" date="1250266324" username="ksatec.com.sa" version=""><![CDATA[a:4:{s:10:"background";s:0:"";s:5:"color";s:7:"#990000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"11px";s:6:"family";s:32:"tahoma, arial, helvetica,verdana";}s:5:"EXTRA";s:0:"";}]]></template>
		<template name=".vbmenu_control" templatetype="css" date="1313137678" username="علي الموسوي" version=""><![CDATA[a:7:{s:10:"background";s:17:"#FFEFCE url(xxxx)";s:5:"color";s:7:"#330000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"11px";s:6:"family";s:78:"tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:184:"padding: 1px 2px 1px 2px;
white-space: nowrap;
border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #000000; 
border-bottom: 1px solid #000000;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#330000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#330000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:9:"underline";}}]]></template>
		<template name=".vbmenu_hilite" templatetype="css" date="1313137678" username="علي الموسوي" version=""><![CDATA[a:7:{s:10:"background";s:17:"#FFEFCE url(xxxx)";s:5:"color";s:7:"#330000";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:4:"11px";s:6:"family";s:32:"tahoma, arial, helvetica,verdana";}s:5:"EXTRA";s:175:"white-space: nowrap;
cursor: pointer;
border-left: 1px solid #B9B9B9; 
border-top: 1px solid #B9B9B9; 
border-right: 1px solid #000000; 
border-bottom: 1px solid #000000;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#330000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#330000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:4:"none";}}]]></template>
		<template name=".vbmenu_option" templatetype="css" date="1313137678" username="علي الموسوي" version=""><![CDATA[a:7:{s:10:"background";s:17:"#FFEFCE url(xxxx)";s:5:"color";s:7:"#000000";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:4:"11px";s:6:"family";s:32:"tahoma, arial, helvetica,verdana";}s:5:"EXTRA";s:175:"white-space: nowrap;
cursor: pointer;
border-left: 1px solid #B9B9B9; 
border-top: 1px solid #B9B9B9; 
border-right: 1px solid #000000; 
border-bottom: 1px solid #000000;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#330000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#330000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:4:"none";}}]]></template>
		<template name=".vbmenu_popup" templatetype="css" date="1313137678" username="علي الموسوي" version=""><![CDATA[a:4:{s:10:"background";s:17:"#FFEFCE url(xxxx)";s:5:"color";s:7:"#000000";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:4:"11px";s:6:"family";s:32:"tahoma, arial, helvetica,verdana";}s:5:"EXTRA";s:135:"border-left: 1px solid #B9B9B9; 
border-top: 1px solid #B9B9B9; 
border-right: 1px solid #000000; 
border-bottom: 1px solid #000000;";}]]></template>
		<template name=".wysiwyg" templatetype="css" date="1250266324" username="ksatec.com.sa" version=""><![CDATA[a:7:{s:10:"background";s:7:"#FBF2E3";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:41:"Times New Roman, arial, helvetica,verdana";}s:5:"EXTRA";s:268:"scrollbar-3dlight-color:#A9AFB8;
scrollbar-shadow-color:#A9AFB8;
scrollbar-face-color: #A9AFB8;
scrollbar-base-color: #A9AFB8;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-highlight-color:#FFFFFF;
scrollbar-arrow-color: #FFFFFF;
scrollbar-track-color #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="body" templatetype="css" date="1318836862" username="المهندس" version=""><![CDATA[a:7:{s:10:"background";s:7:"#ffd5a8";s:5:"color";s:7:"#000000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"11px";s:6:"family";s:32:"tahoma, arial, helvetica,verdana";}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:"#330000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#330000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FF4400";s:15:"text-decoration";s:5:"blink";}}]]></template>
		<template name="EXTRA" templatetype="css" date="1250266341" username="ksatec.com.sa" version=""><![CDATA[a:1:{s:3:"all";s:1562:"/* ***** 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-left: 1px solid #000000; border-top: 1px solid #000000; border-right: 1px solid #FFFFFF; border-bottom: 1px solid #FFFFFF;}

/* ***** don't change the following ***** */
form { margin: 0px; }
label { cursor: default; }
.normal { font: bold 12pt Arial; }
.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 */
html
{
scrollbar-base-color: #4E3A17;
scrollbar-arrow-color: #ffffff;
scrollbar-track-color: #F4D9A1;
}";}]]></template>
		<template name="EXTRA2" templatetype="css" date="1313137678" username="علي الموسوي" version=""><![CDATA[a:1:{s:3:"all";s:578:".logname {
    FONT-FAMILY: Tahoma;
         FONT-WEIGHT: Bold;
    WIDTH: 100px;
    PADDING: 2px 2px 3px 2px;
    MARGIN: 0px;
    BACKGROUND: url(xxxx/misc/username.png) no-repeat;
    BACKGROUND-POSITION: 1px 1px;
    BACKGROUND-COLOR: #FEF6E1;
    VERTICAL-ALIGN: middle;
}
.logpass {
    FONT-FAMILY: Tahoma;
         FONT-WEIGHT: Bold;
    WIDTH: 100px;
    PADDING: 2px 2px 3px 2px;
    MARGIN: 0px;
    BACKGROUND: url(xxxx/misc/password.png) no-repeat;
    BACKGROUND-POSITION: 1px 1px;
    BACKGROUND-COLOR: #FEF6E1;
    VERTICAL-ALIGN: middle;
}";}]]></template>
		<template name="legend" templatetype="css" date="1250266324" username="ksatec.com.sa" version=""><![CDATA[a:4:{s:10:"background";s:0:"";s:5:"color";s:7:"#330000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"11px";s:6:"family";s:32:"tahoma, arial, helvetica,verdana";}s:5:"EXTRA";s:150:"padding: 3px;
border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #000000; 
border-bottom: 1px solid #000000;";}]]></template>
		<template name="select" templatetype="css" date="1250266324" username="ksatec.com.sa" version=""><![CDATA[a:4:{s:10:"background";s:7:"#FBF2E3";s:5:"color";s:7:"#330033";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:4:"11px";s:6:"family";s:32:"tahoma, arial, helvetica,verdana";}s:5:"EXTRA";s:0:"";}]]></template>
		<template name="td, th, p, li" templatetype="css" date="1246801252" username="ksatec.com.sa" 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:34:"Arial,verdana,helvetica,sans-serif";}s:5:"EXTRA";s:0:"";}]]></template>
		<template name="textarea, .bginput" templatetype="css" date="1250266324" username="ksatec.com.sa" version=""><![CDATA[a:4:{s:10:"background";s:7:"#FBF2E3";s:5:"color";s:7:"#330000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"12pt";s:6:"family";s:44:"Times New Roman,verdana,helvetica,sans-serif";}s:5:"EXTRA";s:0:"";}]]></template>
	</templategroup>
	<templategroup name="Replacement Var Special Templates">
		<template name="&lt;!-- dw --&gt;" templatetype="replacement" date="1313137579" username="علي الموسوي" version="" />
		<template name="&lt;!-- footer --&gt;" templatetype="replacement" date="1318838640" username="المهندس" version=""><![CDATA[<div align="center">
	<table border="0" width="100%" cellspacing="0" cellpadding="0">
		<tr>
			<td width="399">
			<img border="0" src="ali/images/ft_03.jpg" width="400" height="200" align="right" hspace="0"></td>
			<td background="ali/images/ft_02.jpg">&nbsp;</td>
			<td width="267">
			<img border="0" src="ali/images/ft_01.jpg" width="267" height="200" align="left" hspace="0"></td>
		</tr>
	</table>
</div>
]]></template>
		<template name="&lt;!-- header --&gt;" templatetype="replacement" date="1318836789" username="المهندس" version=""><![CDATA[<div align="center">
	<table border="0" width="100%" cellspacing="0" cellpadding="0">
		<tr>
			<td width="413">
			<img border="0" src="ali/images/hd_03.jpg" width="414" height="300" align="right" hspace="0"></td>
			<td background="ali/images/hd_02.jpg">&nbsp;</td>
			<td width="371">
			<img border="0" src="ali/images/hd_01.jpg" width="371" height="300" align="left" hspace="0"></td>
		</tr>
	</table>
</div>
</br>]]></template>
		<template name="&lt;!-- up --&gt;" templatetype="replacement" date="1313137579" username="علي الموسوي" version="" />
	</templategroup>
	<templategroup name="StyleVar Special Templates">
		<template name="cellpadding" templatetype="stylevar" date="1246800570" username="ksatec.com.sa" version=""><![CDATA[3]]></template>
		<template name="cellspacing" templatetype="stylevar" date="1246800570" username="ksatec.com.sa" version=""><![CDATA[3]]></template>
		<template name="codeblockwidth" templatetype="stylevar" date="1246800570" username="ksatec.com.sa" version=""><![CDATA[550px]]></template>
		<template name="formwidth" templatetype="stylevar" date="1246800570" username="ksatec.com.sa" version=""><![CDATA[99%]]></template>
		<template name="formwidth_usercp" templatetype="stylevar" date="1246800570" username="ksatec.com.sa" version=""><![CDATA[99%]]></template>
		<template name="imgdir_button" templatetype="stylevar" date="1318844580" username="المهندس" version=""><![CDATA[ ali/buttons]]></template>
		<template name="imgdir_misc" templatetype="stylevar" date="1318844580" username="المهندس" version=""><![CDATA[ali/misc]]></template>
		<template name="imgdir_statusicon" templatetype="stylevar" date="1318844580" username="المهندس" version=""><![CDATA[ali/statusicon]]></template>
		<template name="messagewidth" templatetype="stylevar" date="1246800570" username="ksatec.com.sa" version=""><![CDATA[99%]]></template>
		<template name="messagewidth_usercp" templatetype="stylevar" date="1246800570" username="ksatec.com.sa" version=""><![CDATA[99%]]></template>
		<template name="outerborderwidth" templatetype="stylevar" date="1246800570" username="ksatec.com.sa" version=""><![CDATA[10]]></template>
		<template name="outertablewidth" templatetype="stylevar" date="1313137543" username="علي الموسوي" version=""><![CDATA[99%]]></template>
		<template name="spacersize" templatetype="stylevar" date="1246800570" username="ksatec.com.sa" version=""><![CDATA[34]]></template>
	</templategroup>
	<templategroup name="أكواد BB Code">
		<template name="bbcode_code" templatetype="template" date="1246797057" username="ksatec.com.sa" version="3.8.4"><![CDATA[<table class="tborder" cellpadding="4" cellspacing="2" border="0">
<tr><td class="thead" align="center">$vbphrase[code]</td></tr>
<tr><td class="panel" 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="1246797077" username="ksatec.com.sa" version="3.8.4"><![CDATA[<table class="tborder" cellpadding="4" cellspacing="2" border="0">
<tr><td class="thead" align="center">$vbphrase[html_code]</td></tr>
<tr><td class="panel" 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="1246797095" username="ksatec.com.sa" version="3.8.4"><![CDATA[<table class="tborder" cellpadding="4" cellspacing="2" border="0">
<tr><td class="thead" align="center">$vbphrase[php_code]</td></tr>
<tr><td class="panel" 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="1246797114" username="ksatec.com.sa" version="3.8.4"><![CDATA[<table class="tborder" cellpadding="4" cellspacing="2" border="0" width="95%">
<tr><td class="thead" 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="panel" align="center">
$message
</td></tr></table><br />
]]></template>
	</templategroup>
	<templategroup name="المحرر">
		<template name="editor_smilie" templatetype="template" date="1246797138" username="ksatec.com.sa" version="3.8.4"><![CDATA[<td class="alt2" align="center" valign="center">$smiliehtml</td>]]></template>
		<template name="editor_smiliebox" templatetype="template" date="1246797152" username="ksatec.com.sa" version="3.8.4"><![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_toolbar_on" templatetype="template" date="1246797169" username="ksatec.com.sa" version="3.8.4"><![CDATA[$vBeditTemplate[clientscript]

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
	<td id="$editorid" class="vBulletin_editor" align="center" 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>

			<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>

		<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="1312973547" username="علي الموسوي" version="3.8.7"><![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']">

<!-- up -->

<!-- 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>

<!-- dw -->

<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>

<!-- up -->

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

<!-- dw -->

<!-- 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" />

<!-- up -->

<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" nowrap="nowrap">$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>
<!-- dw -->

</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 class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" 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 class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" 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>

<!-- icon key -->
<if condition="$show['threadslist']">
<table cellpadding="2" cellspacing="0" border="0">
<tr>
	<td><img src="$stylevar[imgdir_statusicon]/thread_new.gif" alt="$vbphrase[new_posts]" border="0" /></td>
	<td class="smallfont">$vbphrase[new_posts]</td>
	<if condition="$vboptions['usehotthreads']">
		<td><img src="$stylevar[imgdir_statusicon]/thread_hot_new.gif" alt="<phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase>" border="0" /></td>
		<td class="smallfont">$vbphrase[hot_thread_with_new_posts]</td>
	<else />
		<td colspan="2">&nbsp;</td>
	</if>
</tr>
<tr>
	<td><img src="$stylevar[imgdir_statusicon]/thread.gif" alt="$vbphrase[no_new_posts]" border="0" /></td>
	<td class="smallfont">$vbphrase[no_new_posts]</td>
	<if condition="$vboptions['usehotthreads']">
		<td><img src="$stylevar[imgdir_statusicon]/thread_hot.gif" alt="<phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase>" border="0" /></td>
		<td class="smallfont">$vbphrase[hot_thread_with_no_new_posts]</td>
	<else />
		<td colspan="2">&nbsp;</td>
	</if>
</tr>
<tr>
	<td><img src="$stylevar[imgdir_statusicon]/thread_lock.gif" alt="$vbphrase[closed_thread]" border="0" /></td>
	<td class="smallfont">$vbphrase[thread_is_closed]</td>
	<if condition="$show['dotthreads']">
		<td><img src="$stylevar[imgdir_statusicon]/thread_dot.gif" alt="$vbphrase[thread_contains_a_message_written_by_you]" border="0" /></td>
		<td class="smallfont">$vbphrase[you_have_posted_in_this_thread]</td>
	<else />
		<td colspan="2">&nbsp;</td>
	</if>
</tr>
</table>
<else />
<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>
</if>
<!-- / icon key -->

<br>

<!-- forum rules & forum jump -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
	<td width="100%">
		<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="1312973549" username="علي الموسوي" version="3.8.7"><![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']">
<!-- up -->
<!-- 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 -->
<!-- dw -->
</if>

<!-- main -->
$forumbits

$forumhome_markread_script
<!-- /main -->

$ad_location[ad_forumhome_afterforums]

<!-- up -->

<!-- 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 width="100%" class="alt1Active"  
onmouseover="this.className='alt2';" 
onmouseout="this.className='alt1';" 
onmousedown="this.className='alt1';">			<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 width="100%" class="alt1Active"  
onmouseover="this.className='alt2';" 
onmouseout="this.className='alt1';" 
onmousedown="this.className='alt1';">		<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 width="100%" class="alt1Active"  
onmouseover="this.className='alt2';" 
onmouseout="this.className='alt1';" 
onmousedown="this.className='alt1';">		
		<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 width="100%" class="alt1Active"  
onmouseover="this.className='alt2';" 
onmouseout="this.className='alt1';" 
onmousedown="this.className='alt1';">		
		<div class="smallfont">$upcomingevents</div></td>
	</tr>
</tbody>
</if>

<tr><td class="tfoot" width="100%" align="center" colspan="9">
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;&nbsp; &nbsp;
<a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a>&nbsp; &nbsp;&nbsp; &nbsp;</if>

	<if condition="!$show['guest']">
		<!-- member logout -->
<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a>
		<!-- end member logout -->
	</if>
	</td></tr>

$template_hook[forumhome_wgo_pos5]
</table>

<!-- dw -->

<!-- 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="1246801876" username="ksatec.com.sa" version="3.8.4"><![CDATA[<!-- up -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<if condition="!$show['collapsable_forums']">
<tbody>
</if>

	<tr>
		<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>" align="center">
			<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 id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">

	<tr align="center">
	  <td class="thead">&nbsp;</td>
	  <td class="thead" width="60%" align="$stylevar[left]">$vbphrase[forum]</td>
	  <td class="thead" width="40%">$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>

<if condition="$childforumbits">
$childforumbits
</if>

</tbody>

</table>

<!-- dw -->

<br />]]></template>
		<template name="forumhome_forumbit_level1_post" templatetype="template" date="1250454616" username="ksatec.com.sa" version="3.8.4"><![CDATA[<if condition="!$show['collapsable_forums']">
<tbody>
</if>
	<tr align="center">
		<td width="50%" class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">

<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية 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 -->

		<table cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
			<td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
			<td>
			<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>
		</tr>
		</table>

		</td>
		<td class="alt1Active"  width="50%"
onmouseover="this.className='alt2';" 
onmouseout="this.className='alt1';" 
onmousedown="this.className='alt1';">
		$forum[lastpostinfo]</td>
				<td class="alt1Active" 
onmouseover="this.className='alt1';" 
onmouseout="this.className='alt2';" 
onmousedown="this.className='alt2';">$forum[threadcount]</td>
				<td class="alt1Active"  width="50%"
onmouseover="this.className='alt2';" 
onmouseout="this.className='alt1';" 
onmousedown="this.className='alt1';">$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>

<if condition="!$show['collapsable_forums']">
</tbody>
</if>

<if condition="$childforumbits">
<if condition="!$show['collapsable_forums']">
<tbody>
</if>
	$childforumbits
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
</if>]]></template>
		<template name="forumhome_forumbit_level2_post" templatetype="template" date="1250455656" username="ksatec.com.sa" version="3.8.4"><![CDATA[<tr align="center">
	<td class="alt1Active" 
onmouseover="this.className='alt2';" 
onmouseout="this.className='alt1';" 
onmousedown="this.className='alt1';"><a href="external.php?$session[sessionurl]f=$forum[forumid]">
<img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></a></td>
<td class="alt1Active" align="right" id="f$forum[forumid]" 
onmouseover="this.className='alt2';" 
onmouseout="this.className='alt1';" 
onmousedown="this.className='alt1';">

<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية 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="alt1Active" width="50%"
onmouseover="this.className='alt2';" 
onmouseout="this.className='alt1';" 
onmousedown="this.className='alt1';">$forum[lastpostinfo]</td>
	<td class="alt1Active" 
onmouseover="this.className='alt1';" 
onmouseout="this.className='alt2';" 
onmousedown="this.className='alt2';">$forum[threadcount]</td>
		<td class="alt1Active" width="50%"
onmouseover="this.className='alt2';" 
onmouseout="this.className='alt1';" 
onmousedown="this.className='alt1';">$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="1246797628" username="ksatec.com.sa" version="3.8.4"><![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><if condition="is_browser('safari')"><!--bug#24775-->&nbsp;</if>
			<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>"><strong>$lastpostinfo[trimthread]</strong></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_visitormessaging" templatetype="template" date="1312973551" username="علي الموسوي" version="3.8.7"><![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>

<if condition="$show['edit'] AND $show['popups']">
<!-- 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_Watcher.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_Watcher.close_all(); return false;">$vbphrase[cancel_changes]</a></td>
	</tr>
	</table>
<!-- / ajax errors table -->
</if>]]></template>
		<template name="memberinfo_quickedit" templatetype="template" date="1247134195" username="ksatec.com.sa" version="3.8.4"><![CDATA[<if condition="$show['quick_edit_form_tag']"><form></if>

<table cellpadding="0" cellspacing="0" border="1" align="center" width="95%" id="{$editorid}_editor">
<tr>
	<td class="vBulletin_editor">
	<if condition="$show['editor_toolbar']">
	<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['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>
		<if condition="!is_browser('opera')">
			<td width="100%">&nbsp;</td>
		</if>
		<if condition="is_browser('ie')">
			<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
			<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="" /></div>
				<div class="imagebutton" id="{$editorid}_cmd_resize_1_99"><img src="$stylevar[imgdir_editor]/resize_1.gif" width="21" height="9" alt="" /></div>
			</td>
		<if condition="$show['wysiwyg_compatible']">
			<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
			<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>
	</if>

	<div class="controlbar">
		<div><textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:500px; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea></div>
		<div class="fieldset" style="margin-top:$stylevar[formspacer]px; display: none;">
			<div>$vbphrase[reason_for_editing]:</div>
			<div><input type="text" class="bginput" name="reason" id="{$editorid}_edit_reason" value="" size="50" maxlength="125" tabindex="1" title="$vbphrase[optional]" /></div>
		</div>
	</div>

	<div align="$stylevar[right]">
		<img style="vertical-align:middle; display: none" id="{$editorid}_posting_msg" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[posting_message_please_wait]" />
		<input type="button" class="button" tabindex="1" accesskey="s" value="$vbphrase[save]" id="{$editorid}_save" />
		<input type="button" class="button" tabindex="1" accesskey="r" value="$vbphrase[go_advanced]" id="{$editorid}_adv" />
		<if condition="$show['deletepostoption']">
		<input type="button" class="button" tabindex="1" value="$vbphrase[delete]" id="{$editorid}_delete" />
		</if>
		<input type="button" class="button" tabindex="1" accesskey="r" value="$vbphrase[cancel]" id="{$editorid}_abort" />
	</div>

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

	<if condition="$show['deletepostoption']">
	<div id="quickedit_delete" style="display:none">

		<hr />

		<div class="fieldset">
			<div>$vbphrase[delete_message_check_appropriate_option]</div>
			<if condition="$show['firstpostnote']">
				<div>$vbphrase[deleting_message_deletion_of_thread]</div>
			</if>
		</div>

		<fieldset class="fieldset">
			<legend>$vbphrase[deletion_options]</legend>
			<div style="padding:$stylevar[formspacer]px">
				<div>
					<label for="rb_del_leave"><input type="radio" name="deletepost" value="" id="rb_del_leave" tabindex="1" checked="checked" />$vbphrase[do_not_delete_message]</label>
				</div>
				<if condition="$show['softdeleteoption']">
				<div>
					<label for="rb_del_soft"><input type="radio" name="deletepost" value="delete" id="rb_del_soft" tabindex="1" />$vbphrase[delete_message]</label>
					<if condition="$show['physicaldeleteoption'] AND $show['keepattachmentsoption']">(<label for="cb_keepattachments"><input type="checkbox" name="keepattachments" value="1" id="cb_keepattachments" tabindex="1" />$vbphrase[keep_attachments]</label>)</if>
				</div>
				</if>
				<if condition="$show['physicaldeleteoption']">
				<div>
					<label for="rb_del_hard"><input type="radio" name="deletepost" value="remove" id="rb_del_hard" tabindex="1" />$vbphrase[physically_remove_message]</label>
				</div>
				</if>
			</div>
		</fieldset>

		<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr valign="bottom">
			<td class="smallfont">
				<div>$vbphrase[reason_for_deletion]:</div>
				<input type="text" class="bginput" name="reason" id="del_reason" size="50" tabindex="1" title="$vbphrase[optional]" />
			</td>
			<td align="$stylevar[right]"><input type="button" class="button" value="$vbphrase[delete_this_message]" tabindex="1" id="quickedit_dodelete" /></td>
		</tr>
		</table>

	</div>
	</if>

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

<if condition="$show['quick_edit_form_tag']"></form></if>]]></template>
		<template name="memberinfo_visitormessage" templatetype="template" date="1247134251" username="ksatec.com.sa" version="3.8.4"><![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" id="vmessage_text_$message[vmid]">$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']">
		<if condition="$show['edit']">
			<img style="display: none" id="progress_$message[vmid]" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
		</if>
		<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]" id="vmessage_edit_$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>
<script type="text/javascript"> 
<!-- 
vBulletin.register_control("vB_QuickEdit", "$message[vmid]", 'VisitorMessage'); 
//--> 
</script> 
</li>]]></template>
	</templategroup>
	<templategroup name="تعديل خيارات العضو">
		<template name="modifyattachments" templatetype="template" date="1247332968" username="ksatec.com.sa" version="3.8.4"><![CDATA[<form action="profile.php?do=deleteattachments&amp;userid=$userid" method="post">
		<!-- up -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
	<td class="tcat" colspan="4">
		<if condition="$show['attachquota']">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('attachinfo')"><img id="collapseimg_attachinfo" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_attachinfo].gif" alt="$vbphrase[attachment_statistics]" border="0" /></a>
		</if>
		<phrase 1="$username">$vbphrase[attachments_posted_by_x]</phrase>
	</td>
</tr>
</thead>
<if condition="$show['attachquota']">
<tbody id="collapseobj_attachinfo" style="$vbcollapse[collapseobj_attachinfo]">
	<tr>
		<td class="panelsurround" align="center" colspan="4">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
				<fieldset class="fieldset">
					<legend>$vbphrase[attachment_statistics]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td><phrase 1="$attachsum" 2="$totalattachments">$vbphrase[currently_using_x_to_store_y_attachments]</phrase></td>
					</tr>
					<if condition="$show['attachlimit']">
					<tr>
						<td>
							<table style="border:2px groove" cellpadding="0" cellspacing="1" border="0" width="100%">
							<tr>
								<if condition="$show['currentattachsize']"><td width="$attachsize" style="background-color:red; font-size:10px" title="<phrase 1="$attachsum">$vbphrase[current_attachment_total_x]</phrase>">&nbsp;</td></if>
								<if condition="$show['totalattachsize']"><td width="$totalsize" style="background-color:green; font-size:10px" title="<phrase 1="$attachlimit">$vbphrase[maximum_attachment_storage_x]</phrase>">&nbsp;</td></if>
							</tr>
							</table>
						</td>
					</tr>
					</if>
					</table>
				</fieldset>
			</div>
		</div>
		</td>
	</tr>
</tbody>
</if>
<if condition="$show['attachment_list']">
<tbody>
<tr align="center">
	<td class="thead">$vbphrase[attachment]</td>
	<td class="thead">$vbphrase[title]</td>
	<if condition="$show['deleteoption']">
		<td class="thead">$vbphrase[date]</td>
		<td class="thead" style="padding:0px"><input name="allbox" type="checkbox" value="Check All" title="$vbphrase[check_uncheck_all]" onclick="checkall(this.form);"  /></td>
	<else />
		<td class="thead" colspan="2">$vbphrase[date]</td>
	</if>

</tr>

$template[attachmentlistbits]

<tr>
	<td class="tfoot" colspan="4" align="$stylevar[right]">
		<span class="smallfont" style="float:$stylevar[left]">
			<if condition="$show['thumbnails']">
				<a href="profile.php?$session[sessionurl]do=editattachments&amp;pp=$perpage&amp;page=$pagenumber<if condition="$show['otheruserid']">&amp;u=$userid</if>"><strong>$vbphrase[hide_thumbnails]</strong></a>
			<else />
				<a href="profile.php?$session[sessionurl]do=editattachments&amp;pp=$perpage&amp;page=$pagenumber&amp;showthumbs=1<if condition="$show['otheruserid']">&amp;u=$userid</if>"><strong>$vbphrase[show_thumbnails]</strong></a>
			</if>
		</span>
		<if condition="$show['deleteoption']">
			<input type="hidden" name="perpage" value="$perpage" />
			<input type="hidden" name="pagenumber" value="$pagenumber" />
			<input type="hidden" name="showthumbs" value="$showthumbs" />
			<input type="hidden" name="do" value="deleteattachments" />
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="userid" value="$userid" />
			<input type="submit" class="button" value="$vbphrase[delete_selected]" />
		</if>
	</td>
</tr>
</tbody>
<else />
<tbody>
<tr>
	<td class="alt1" colspan="4" align="center">
		<p>$vbphrase[you_have_no_attachments]</p>
	</td>
</tr>
</tbody>
</if>
</table>
		<!-- dw -->

</form>

<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", "attachmentlist", $vboptions[lightboxenabled]);
	//-->
	</script>
<!-- / lightbox scripts -->
</if>

<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
	<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>]]></template>
		<template name="modifyavatar" templatetype="template" date="1247333006" username="ksatec.com.sa" version="3.8.4"><![CDATA[<script type="text/javascript">
<!--
function check_yes(objid)
{
	yes = fetch_object(objid);
	if (yes)
	{
		yes.checked = true;
	}
}

<if condition="$show['categories']">
function switch_avatar_category()
{
	selobj = fetch_object("avatar_category_select");
	window.location = "profile.php?$session[sessionurl_js]do=editavatar&categoryid=" + selobj.options[selobj.selectedIndex].value;
}
</if>
//-->
</script>

<form enctype="multipart/form-data" action="profile.php?do=updateavatar" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="updateavatar" />
		<!-- up -->

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

			<fieldset class="fieldset">
				<legend>$vbphrase[your_current_avatar]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr valign="top">
					$currentavatar
					<td class="smallfont">
						<div style="margin-bottom:$stylevar[formspacer]px">$vbphrase[avatars_small_graphics_short]</div>
						<div style="margin-bottom:$stylevar[formspacer]px"><label for="rb_avatarid_no"><input type="radio" name="avatarid" value="-1" id="rb_avatarid_no" $nouseavatarchecked />$vbphrase[do_not_use_an_avatar]</label></div>
						<div>$vbphrase[note_have_custom_avatar_delete]</div>
					</td>
				</tr>
				</table>
			</fieldset>

			<if condition="$show['forumavatars']">
			<fieldset class="fieldset">
				<legend><phrase 1="$categoryname">$vbphrase[predefined_x]</phrase></legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td colspan="$cols">
						<if condition="$show['categories']">
						$vbphrase[avatar_category]:<br />
						<select name="categoryid" id="avatar_category_select" onchange="switch_avatar_category()">$categorybits</select>
						<input type="button" value="$vbphrase[go]" class="button" onclick="switch_avatar_category()" />
						</if>
					</td>
				</tr>
				<tr>
					<td colspan="$cols">$vbphrase[may_select_predefined_as_avatar]</td>
				</tr>
				$avatarlist
				<if condition="$show['pagenav']">
				<tr valign="bottom">
					<td colspan="$cols">
						$pagenav
					</td>
				</tr>
				</if>
				</table>
			</fieldset>
			</if>

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

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

				$vbphrase[have_custom_avatar_want_as_is]<br /><br />

				<label for="avatar_yes"><input type="radio" name="avatarid" value="0" id="avatar_yes" $avatarchecked[0] />$vbphrase[use_custom_avatar]</label><br /><br />

				$vbphrase[may_upload_custom_image_controls]<br /><br />

				<if condition="$show['customavatar_url']">
				$vbphrase[enter_url_to_image]

				<div style="padding:$stylevar[formspacer]px">
					<input type="text" class="bginput" name="avatarurl" value="http://www." onchange="check_yes('avatar_yes')" size="45" dir="ltr" />
					<input type="hidden" name="MAX_FILE_SIZE" value="$inimaxattach" />
				</div>
				</if>

				<if condition="$show['customavatar_url']">$vbphrase[option_2_upload_image_from_computer]<else />$vbphrase[upload_image_from_computer]</if>
				<div style="padding:$stylevar[formspacer]px">
					<input type="file" class="bginput" name="upload" onchange="check_yes('avatar_yes')" size="45" />
				</div>

				<if condition="$show['maxnote']">
					$maxnote
				</if>

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

		</div>
	</div>

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

</form>]]></template>
		<template name="modifybuddylist" templatetype="template" date="1247333086" username="ksatec.com.sa" version="3.8.4"><![CDATA[		<!-- up -->


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<span style="float:$stylevar[right]" class="smallfont">$vbphrase[total]: <span id="buddycount">$buddycount</span></span>
		<if condition="$show['friend_controls']">$vbphrase[contacts_and_friends]<else />$vbphrase[contacts]</if>
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]">

			<fieldset class="fieldset">
				<legend><if condition="$show['friend_controls']">$vbphrase[contacts_and_friends]<else />$vbphrase[contacts]</if></legend>								
				<form action="profile.php?do=updatelist&amp;userlist=buddy" method="post" id="buddylist_change_form" class="floatcontainer"  <if condition="!$show['buddylist']">style="display: none"</if>>
					<input type="hidden" name="s" value="$session[sessionhash]" />
					<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
					<input type="hidden" name="do" value="updatelist" />
					<input type="hidden" name="userlist" value="buddy" />
					<div class="checkbox_ctrls floatcontainer">
						<input type="text" id="userlist_filter" class="filterbox_inactive bginput smallfont" size="15" value="$vbphrase[find_people_on_your_list]" title="$vbphrase[userlist_filter_tooltip]" />
						<label class="show_avatars_ctrl shade"><input type="checkbox" id="buddylist_showavatars"$showavatarchecked />$vbphrase[show_avatars]</label>
						<!--<label class="check_all_ctrl shade"><input type="checkbox" id="buddylist_checkall" checked="checked" />$vbphrase[check_uncheck_all]</label>-->
					</div>
					<if condition="$show['avatars']">
						<ul class="userlist userlist_showavatars floatcontainer" id="buddylist">
					<else />
						<ul class="userlist userlist_hideavatars floatcontainer" id="buddylist">
					</if>
						$buddylist
						<li style="display:none">&nbsp;</li>
					</ul>
					<div class="submitrow smallfont">
						<img src="$stylevar[imgdir_misc]/progress.gif" id="buddylist_change_progress" class="inlineimg" style="display:none" alt="" />
						<input type="submit" class="button" id="submit_save" value="$vbphrase[save_changes]" />
					</div>
					<hr />
				</form>
				<form action="profile.php?do=updatelist&amp;userlist=buddy" method="post" id="buddylist_add_form" class="floatcontainer">
					<input type="hidden" name="s" value="$session[sessionhash]" />
					<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
					<input type="hidden" name="do" value="updatelist" />
					<input type="hidden" name="userlist" value="buddy" />
					<div id="buddylist_error" class="userlist_error floatcontainer"><img src="$stylevar[imgdir_statusicon]/wol_error.gif" id="buddylist_error_image" class="userlist_error_image" alt="" /> <span id="buddylist_error_message"></span></div>
					<div class="userlist_form_controls">
						<label for="buddylist_add_txt">$vbphrase[add_member_to_your_list]</label>
						<div>
							<span id="buddylist_add"><input type="text" class="bginput" name="username" id="buddylist_add_txt" size="35" value="$buddy_username" /></span>
							<div id="buddylist_add_menu" class="vbmenu_popup" style="display:none"></div>
							<input type="submit" class="button" id="buddylist_submit" value="$vbphrase[add_contact]" />
							<if condition="$show['friend_controls']"><input type="submit" class="button" name="makefriends" id="friend_submit" value="$vbphrase[add_friend]" /></if>
							<img src="$stylevar[imgdir_misc]/progress.gif" id="buddylist_add_progress" class="inlineimg" style="display:none" alt="" />
						</div>
					</div>
					<hr />
				</form>
				<div class="fieldsetpad">
					<div class="userlist_form_controls"><if condition="$show['friend_controls']">$vbphrase[friends_instructions]<else />$vbphrase[contacts_instructions]</if></div>
				</div>
			</fieldset>

			<fieldset class="fieldset" id="incomingreqs_container" <if condition="!$show['incominglist']">style="display: none"</if>>
				<legend id="irc">$vbphrase[incoming_friend_requests]</legend>
				<form action="profile.php?do=updatelist&amp;userlist=approval" method="post" id="incomingreqs_change_form" class="floatcontainer">
					<input type="hidden" name="s" value="$session[sessionhash]" />
					<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
					<input type="hidden" name="do" value="updatelist" />
					<input type="hidden" name="userlist" value="incoming" />
					<div class="checkbox_ctrls floatcontainer">
						<label class="check_all_ctrl shade"><input type="checkbox" id="incomingreqs_checkall" />$vbphrase[check_uncheck_all]</label>
						<label class="show_avatars_ctrl shade"><input type="checkbox" id="incomingreqs_showavatars" checked="checked" />$vbphrase[show_avatars]</label>
					</div>
					<div class="userlist_title">$vbphrase[incoming_friend_requests]</div>
					<div class="userlist_description">$vbphrase[incoming_friend_requests_description]</div>
					<ul class="userlist userlist_showavatars floatcontainer" id="incomingreqs">
						$incominglist
						<li style="display:none">&nbsp;</li>
					</ul>
					<div class="submitrow smallfont">
						<div id="incomingreqs_action">
							<div><label for="incomingaction_accept"><input type="radio" name="incomingaction" value="accept" id="incomingaction_accept" checked="checked" />$vbphrase[accept_selected_friend_requests]</label></div>
							<div><label for="incomingaction_reject"><input type="radio" name="incomingaction" value="reject" id="incomingaction_reject" />$vbphrase[reject_selected_friend_requests]</label></div>
						</div>
						<img src="$stylevar[imgdir_misc]/progress.gif" id="incomingreqs_change_progress" class="inlineimg" style="display:none" alt="" />
						<input type="submit" class="button" id="incoming_submit" value="$vbphrase[save_changes]" />
					</div>
				</form>
			</fieldset>

		</div>
	</div>
	</td>
</tr>
</table>
		<!-- dw -->


<if condition="$show['popups']">
<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=$vboptions[simpleversion]"></script>
</if>
<script type="text/javascript" src="clientscript/vbulletin_ajax_userlist.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
<!--
<if condition="$show['popups']">
vBmenu.register("buddylist_add", true);
snc_buddylist = new vB_AJAX_NameSuggest("snc_buddylist", "buddylist_add_txt", "buddylist_add");
</if>
// ajax saver
vBulletin.register_control("vB_UserList_Saver", "buddylist");
vBulletin.register_control("vB_UserList_Saver", "incomingreqs");
// img-label handler
vBulletin.register_control("vB_UserList_Highlighter", "buddylist");
vBulletin.register_control("vB_UserList_Highlighter", "incomingreqs");
vBulletin.register_control("vB_UserList_Filter", "userlist_filter", Array("buddylist", "incomingreqs"), {
	$js_userlist_array
});
var vbphrase = {
	"remove_from_userlist_confirm" : "$vbphrase[remove_from_userlist_confirm]"
};
//-->
</script>]]></template>
	</templategroup>
	<templategroup name="المتصفح/المستكشف Navigation / Breadcrumb">
		<template name="navbar" templatetype="template" date="1312973553" username="علي الموسوي" version="3.8.7"><![CDATA[<!-- up -->

<div class="tborder" style="padding:$stylevar[cellspacing]px">
	<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
	<tr align="center">
<!-- هاك خاص ـ الرئيسية والمنتدى في الناف بار -->
		<if condition="$show['member']">
			<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
		</if>
		<if condition="$show['registerbutton']">
			<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
		</if>
		<td class="vbmenu_control"><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
		<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
		<if condition="$show['member']">
			<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]">$vbphrase[log_out]</a></td>
		</if>
		</tr>
	</table>
</div>

<!-- 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="alt1Active" 
onmouseover="this.className='alt2';" 
onmouseout="this.className='alt1';" 
onmousedown="this.className='alt1';"
 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']">
			<div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
			<if condition="$show['popups']">
				<script type="text/javascript"> vBmenu.register("notifications"); </script>
			<else />
				<script type="text/javascript" src="clientscript/vbulletin_notifications_nopopups.js?v=$vboptions[simpleversion]"></script>
				<script type="text/javascript"> vBulletin.register_control("vB_Notifications_NoPopups", "notifications");  </script>
			</if>
		<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="alt1Active" 
onmouseover="this.className='alt1';" 
onmouseout="this.className='alt2';" 
onmousedown="this.className='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" style="white-space: nowrap;" nowrap><label for="navbar_username">$vbphrase[username]</label></td>
			<td><input type="text" class="logname" 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" checked tabindex="103" id="cb_cookieuser_navbar" 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="logpass" 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>

<if condition="$show['forumdesc']">
	<tr>
		<td class="alt1" width="100%" colspan="15"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
	</tr>
</if>

</table>
<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px">
	<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
	<tr align="center">
		$template_hook[navbar_buttons_left]
<!-- هاك عام ـ قائمة منوعات -->
<!-- قائمة منوعات المنسدلة -->
<td class="vbmenu_control" 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['communitylink'] AND $show['popups']">
			<td class="vbmenu_control"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></td>
		<else />
			<if condition="$vboptions['enablememberlist']">
				<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
			</if>
			<if condition="$show['quick_links_groups']">
				<td class="vbmenu_control"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td>
			</if>
		</if>
		<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 class="vbmenu_control"><a id="navbar_search" 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 class="vbmenu_control"><a id="usercptools" 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 -->

<!-- dw -->

<br />

<if condition="$show['notices']">
<form action="profile.php?do=dismissnotice" method="post" id="notices">
<input type="hidden" name="do" value="dismissnotice" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
<input type="hidden" name="url" value="$return_link" />

<!-- up -->

	<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>

<!-- dw -->
<br />
</form>
</if>

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

	<if condition="$show['communitylink']">
	<!-- community link menu -->
	<div class="vbmenu_popup" id="community_menu" style="display:none;margin-top:3px" align="$stylevar[left]">
		<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
		<tr><td class="thead">$vbphrase[community_links]</td></tr>
        $template_hook[navbar_community_menu_start]
		<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_q]">$vbphrase[pictures_and_albums]</a></td></tr>
		</if>
		<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>
		<tr><td class="vbmenu_option"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></tr>
        $template_hook[navbar_community_menu_end]
		</table>
	</div>
	<!-- / community link menu -->
	</if>
	
	<if condition="$show['searchbuttons']">
	<!-- header quick search form -->
	<div class="vbmenu_popup" id="navbar_search_menu" style="display:none;margin-top:3px" align="$stylevar[left]">
		<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" 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>
				<tr>
   <form action="http://www.google.com.eg/custom" type="hidden" method=GET target="google_window" name="search"><td class="thead">
    <font face="Tahoma" style="font-size: 8pt; font-weight: 700">
    <span lang="ar-eg">ابحث عن مواضيعك فيGoogle</span></font></td>
  </tr>
  <tr>
   <td class="vbmenu_option" title="nohilite">
                 <input type="hidden" name="client" value="">
                 <input type="hidden" name="forid" value="1">
                 <input type="hidden" name="ie" value="windows-1256">
                 <input type="hidden" name="oe" value="windows-1256">
                 <input name="cof" type="hidden" value="http://www.google.com.eg">
                 <input name="domains" type="hidden" value="http://www.ksatec.com.sa">
                 <input type="hidden" name="hl" value="ar">
                 <input type="text" class="bginput" name="q" size="25" maxlength="255" />$gobutton<br />
                 <input name="sitesearch" type="radio" value="http://www.ksatec.com.sa" checked>
     <font face="Tahoma" style="font-size: 8pt; font-weight: 700">
     ابحث عن مواضيع المنتدى في قوغل</font><br />
                 <input name="sitesearch" type="radio" value=""><a href="http://www.google.com.eg"><img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></A>
                 </td></form>
         </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="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;margin-top:3px" align="$stylevar[left]">
		<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" 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]
		$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>
<!-- / NAVBAR POPUP MENUS -->

<!-- PAGENAV POPUP -->
	<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
		<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" 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>

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

$ad_location[ad_navbar_below]]]></template>
		<template name="navbar_link" templatetype="template" date="1246798564" username="ksatec.com.sa" version="3.8.4"><![CDATA[<if condition="$show['breadcrumb']">
	<span class="navbar"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" align="absmiddle" /> <a href="$nav_url">$nav_title</a></span>
<else />
	$nav_title
</if>]]></template>
	</templategroup>
	<templategroup name="المشاركات الجديدة/New Posting">
		<template name="newreply" templatetype="template" date="1246798749" username="ksatec.com.sa" version="3.8.4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[reply_to_topic]</title>
</head>
<body$onload>
$header
$navbar

$postpreview

<form action="newreply.php?do=postreply&amp;t=$threadid" name="vbform" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>
<!-- up -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[thread]</strong>: $threadinfo[prefix_plain_html] <a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]">$threadinfo[title]</a></span>
		$vbphrase[reply_to_thread]
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">

		$usernamecode

		$human_verify

		<!-- subject field -->
		<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
		<tr>
			<td class="smallfont" colspan="3">$vbphrase[title]:</td>
		</tr>
		<tr>
			<td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="$vboptions[titlemaxchars]" tabindex="1" title="$vbphrase[optional]" /></td>
			<td>&nbsp;&nbsp;</td>
			<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
		</tr>
		</table>
		<!-- / subject field -->

		<!-- message area -->
		<div class="smallfont">$vbphrase[message]:</div>
		$messagearea
		<!-- / message area -->
	<div style="margin-top:$stylevar[cellpadding]px" align="center">
		<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" />
		<input type="hidden" name="p" value="$postid" />
		<input type="hidden" name="specifiedpost" value="$specifiedpost" />
		<input type="hidden" name="posthash" value="$posthash" />
		<input type="hidden" name="poststarttime" value="$poststarttime" />
		<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
		<input type="hidden" name="multiquoteempty" id="multiquote_empty_input" value="$multiquote_empty" />
		<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_reply]" accesskey="s" tabindex="1" />
		<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />
	</div>
		<if condition="$unquoted_post_count > 0">
			<div id="unquoted_posts" class="smallfont" style="display: none">
			<if condition="$unquoted_post_count == 1">
				$vbphrase[selected_1_post_not_part_thread]
			<else />
				<phrase 1="$unquoted_post_count">$vbphrase[selected_x_posts_not_part_thread]</phrase>
			</if>
			</div>
			<script type="text/javascript" src="clientscript/vbulletin_ajax_quote.js?v=$vboptions[simpleversion]"></script>
			<script type="text/javascript">
			<!--
				if (AJAX_Compatible)
				{
					fetch_object('unquoted_posts').style.display = '';
				}
				init_unquoted_posts('$editorid', $threadinfo[threadid]);
			// -->
			</script>
		</if>
		$posticons

		</div>
	</div>
	</td>
</tr>
</table>
<!-- dw -->
<if condition="$show['additional_options']">
<br />
<!-- up -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>
			$vbphrase[additional_options]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]">
	<tr valign="top">
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth]" align="$stylevar[left]">

				<if condition="$show['misc_options']">
				<fieldset class="fieldset">
					<legend>$vbphrase[miscellaneous_options]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<if condition="$bbuserinfo['signature'] != ''"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if>
						<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
						$disablesmiliesoption
					</div>
				</fieldset>
				</if>

				$attachmentoption

				<if condition="$show['member']">
				<fieldset class="fieldset">
					<legend>$vbphrase[thread_subscription]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					<tr>
						<td>$vbphrase[notification_type]:<br /><select name="emailupdate" tabindex="1">
							<option value="9999" $emailchecked[9999]>$vbphrase[do_not_subscribe]</option>
							<option value="0" $emailchecked[0]>$vbphrase[no_email_notification]</option>
							<option value="1" $emailchecked[1]>$vbphrase[instant_email_notification]</option>
							<option value="2" $emailchecked[2]>$vbphrase[daily_email_notification]</option>
							<option value="3" $emailchecked[3]>$vbphrase[weekly_email_notification]</option>
						</select></td>
						<if condition="$show['subscribefolders']"><td>$vbphrase[folder]:<br /><select name="folderid" tabindex="1">$folderbits</select></td></if>
					</tr>
					</table>
				</fieldset>
				</if>

				<if condition="$show['threadrating']">
				<fieldset class="fieldset">
					<legend>$vbphrase[rate_thread]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<div>$vbphrase[can_add_a_score_for_thread]</div>
						<div>
							<select name="rating" tabindex="1">
								<option value="0"$rate[0]>$vbphrase[choose_a_rating]</option>
								<optgroup label="&nbsp;">
									<option value="5"$rate[5]>5 : $vbphrase[excellent]</option>
									<option value="4"$rate[4]>4 : $vbphrase[good]</option>
									<option value="3"$rate[3]>3 : $vbphrase[average]</option>
									<option value="2"$rate[2]>2 : $vbphrase[bad]</option>
									<option value="1"$rate[1]>1 : $vbphrase[terrible]</option>
								</optgroup>
							</select>
						</div>
					</div>
				</fieldset>
				</if>

				$threadmanagement

				</div>
			</div>

			<div style="margin-top:$stylevar[cellpadding]px">
				<input type="submit" class="button" name="sbutton" value="$vbphrase[submit_reply]" accesskey="s" tabindex="1" />
				<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />
			</div>
		</td>
	</tr>
</tbody>
</table>
<!-- dw -->
</if>

</form>

<br />

<!-- up -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('threadreview')"><img id="collapseimg_threadreview" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_threadreview].gif" alt="" border="" /></a>
		$vbphrase[topic_review_newest_first]
	</td>
</tr>
</table>
<div id="collapseobj_threadreview" style="$vbcollapse[collapseobj_threadreview]">
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top-width:0px">

	$threadreviewbits

	<if condition="$show['reviewmore']">
	<tr>
		<td class="tfoot" align="center" colspan="2"><span class="smallfont">
			<phrase 1="$vboptions[maxposts]" 2="showthread.php?$session[sessionurl]t=$threadid">$vbphrase[thread_has_more_than_x_review]</phrase>
		</span></td>
	</tr>
	</if>

	</table>

</div>
<!-- dw -->

$spacer_close
$spacer_open

<br />

$forumrules

$footer

</body>
</html>]]></template>
		<template name="newthread" templatetype="template" date="1246798808" username="ksatec.com.sa" version="3.8.4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[post_new_thread]</title>
</head>
<body$onload>
$header
$navbar

$postpreview

<form action="newthread.php?do=postthread&amp;f=$forumid" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.subject.value, $vboptions[postminchars])"</if>>

<!-- up -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[forum]</strong>: <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]">$foruminfo[title]</a></span>
		$vbphrase[post_new_thread]
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">

		$usernamecode

		$human_verify

		<!-- subject field -->
		<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
		<tr>
			<if condition="$prefix_options">
				<td class="smallfont">$vbphrase[prefix]:</td>
				<td class="smallfont" colspan="3">$vbphrase[title]:</td>
			<else />
				<td class="smallfont" colspan="4">$vbphrase[title]:</td>
			</if>
		</tr>
		<tr>
			<if condition="$prefix_options">
				<td style="padding-right: 1px">
					<select name="prefixid" class="bginput">
						<option value="">$vbphrase[no_prefix_meta]</option>
						$prefix_options
					</select>
				</td>
			</if>
			<td>
				<input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="$vboptions[titlemaxchars]" tabindex="1" />
			</td>
			<td>&nbsp;&nbsp;</td>
			<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
		</tr>
		</table>
		<!-- / subject field -->

		<!-- message area -->
		<div class="smallfont">$vbphrase[message]:</div>
		$messagearea
		<!-- / message area -->
	<div style="margin-top:$stylevar[cellpadding]px" 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="hidden" name="do" value="postthread" />
		<input type="hidden" name="posthash" value="$posthash" />
		<input type="hidden" name="poststarttime" value="$poststarttime" />
		<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
		<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" />
		<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />
	</div>
		<if condition="$show['tag_option']">
		<fieldset class="fieldset" style="margin-top: $stylevar[cellpadding]px">
			<legend>$vbphrase[tags]</legend>
			<div style="padding:$stylevar[formspacer]px">
				<div>$vbphrase[separate_tags_using_comma]</div>
				<span id="tag_add"><input type="text" class="bginput" name="taglist" id="tag_add_input" value="$newpost[taglist]" size="40" tabindex="1" /></span>
				<if condition="$show['tags_remain']"><div><phrase 1="$tags_remain">$vbphrase[you_may_add_x_tags_to_thread]</phrase></div></if>
		</div>

			<if condition="$show['popups']">
				<div id="tag_add_menu" class="vbmenu_popup" style="display:none"></div>
				<script type="text/javascript" src="clientscript/vbulletin_ajax_tagsugg.js?v=$vboptions[simpleversion]"></script>
				<script type="text/javascript">
				<!--
				vbmenu_register('tag_add', true);
				tag_add_comp = new vB_AJAX_TagSuggest('tag_add_comp', 'tag_add_input', 'tag_add');
				tag_add_comp.allow_multiple = true;
				tag_add_comp.set_delimiters('$tag_delimiters');
				//-->
				</script>
			</if>
		</fieldset>
		</if>

		$posticons
	</div>
	</div>
	</td>
</tr>
</table>
<!-- dw -->
<if condition="$show['additional_options']">
<br />
<!-- up -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>
			$vbphrase[additional_options]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]">
	<tr valign="top">
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth]" align="$stylevar[left]">

				<if condition="$show['podcasturl']">
				<!-- podcast stuff -->
				<fieldset class="fieldset">
					<legend>$vbphrase[podcast_options]</legend>

					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					<tr>
						<td class="smallfont">$vbphrase[podcast_url]:</td>
						<td class="smallfont">&nbsp;$vbphrase[filesize_bytes]:</td>
					</tr>
					<tr>
						<td><input type="text" class="bginput" name="podcasturl" value="$podcasturl" size="50" maxlength="255" tabindex="1" title="$vbphrase[podcast_url]" /></td>
						<td>&nbsp;<input type="text" class="bginput" name="podcastsize" value="$podcastsize" size="10" tabindex="1" title="$vbphrase[podcast_size]" /></td>
					</tr>
					<tr>
						<td class="smallfont">$vbphrase[subtitle]:</td>
						<td class="smallfont">&nbsp;$vbphrase[explicit]:</td>
					</tr>
					<tr>
						<td><input type="text" class="bginput" name="podcastsubtitle" value="$podcastsubtitle" size="50" maxlength="255" tabindex="1" title="$vbphrase[subtitle]" /></td>
						<td><input type="checkbox" name="podcastexplicit" value="1" tabindex="1" $explicitchecked title="$vbphrase[explicit]" /></td>
					</tr>
					<tr>
						<td class="smallfont">$vbphrase[keywords]:</td>
						<td class="smallfont">$vbphrase[author]:</td>
					</tr>
					<tr>
						<td><input type="text" class="bginput" name="podcastkeywords" value="$podcastkeywords" size="50" maxlength="255" tabindex="1" title="$vbphrase[keywords]" /></td>
						<td><input type="text" class="bginput" name="podcastauthor" value="$podcastauthor" size="25" maxlength="255" tabindex="1" title="$vbphrase[author]" /></td>
					</tr>
					</table>
				</fieldset>
				<!-- / podcast stuff -->
				</if>

				<if condition="$show['misc_options']">
				<fieldset class="fieldset">
					<legend>$vbphrase[miscellaneous_options]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<if condition="$bbuserinfo['signature'] != ''"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if>
						<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
						$disablesmiliesoption
					</div>
				</fieldset>
				</if>

				$attachmentoption

				<if condition="$show['member']">
				<fieldset class="fieldset">
					<legend>$vbphrase[thread_subscription]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					<tr>
						<td>$vbphrase[notification_type]:<br /><select name="emailupdate" tabindex="1">
							<option value="9999" $emailchecked[9999]>$vbphrase[do_not_subscribe]</option>
							<option value="0" $emailchecked[0]>$vbphrase[no_email_notification]</option>
							<option value="1" $emailchecked[1]>$vbphrase[instant_email_notification]</option>
							<option value="2" $emailchecked[2]>$vbphrase[daily_email_notification]</option>
							<option value="3" $emailchecked[3]>$vbphrase[weekly_email_notification]</option>
						</select></td>
						<if condition="$show['subscribefolders']"><td>$vbphrase[folder]:<br /><select name="folderid" tabindex="1">$folderbits</select></td></if>
					</tr>
					</table>
				</fieldset>
				</if>

				<if condition="$show['poll']">
				<fieldset class="fieldset">
					<legend>$vbphrase[post_a_poll]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<div><label for="cb_postpoll"><input type="checkbox" name="postpoll" value="yes" id="cb_postpoll" tabindex="1" $checked[postpoll] />$vbphrase[yes_post_a_poll_thread]</label></div>
						<div><label for="polloptnum">$vbphrase[number_of_poll_options]: <input type="text" class="bginput" size="5" name="polloptions" value="$polloptions" id="polloptnum" tabindex="1" /></label> <if condition="$vboptions['maxpolloptions']">($vbphrase[maximum]: $vboptions[maxpolloptions])</if></div>
					</div>
				</fieldset>
				</if>

				$threadmanagement

				</div>
			</div>

			<div style="margin-top:$stylevar[cellpadding]px">
				<input type="submit" class="button" name="sbutton" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" />
				<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />
			</div>
		</td>
	</tr>
</tbody>
</table>
<!-- dw -->
</if>

</form>

<br />

$forumrules

$footer

</body>
</html>]]></template>
	</templategroup>
	<templategroup name="رسالة خاصة">
		<template name="pm_filter" templatetype="template" date="1247134521" username="ksatec.com.sa" version="3.8.4"><![CDATA[<form action="private.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="do" value="messagelist" />
<input type="hidden" name="order" value="$order" />
<input type="hidden" name="sort" value="$sortfield" />

<script type="text/javascript" src="clientscript/vbulletin_date_picker.js?v=$vboptions[simpleversion]"></script>
<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_date_picker.css?v=$vboptions[simpleversion]" />

<script type="text/javascript">
<!--
vbphrase['sunday']    = '$vbphrase[sunday]';
vbphrase['monday']    = '$vbphrase[monday]';
vbphrase['tuesday']   = '$vbphrase[tuesday]';
vbphrase['wednesday'] = '$vbphrase[wednesday]';
vbphrase['thursday']  = '$vbphrase[thursday]';
vbphrase['friday']    = '$vbphrase[friday]';
vbphrase['saturday']  = '$vbphrase[saturday]';
-->
</script>
<!-- up -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
	<td class="tcat">
		<span class="smallfont" style="float:$stylevar[right]">
			<a href="#top" onclick="return toggle_collapse('usercp_pmfilter')"><img id="collapseimg_usercp_pmfilter" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_pmfilter].gif" alt="" border="0" /></a>
		</span>
		$vbphrase[display_options]
	</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_pmfilter" style="$vbcollapse[collapseobj_usercp_pmfilter]">
<tr valign="top">
	<td class="alt1" style="text-align:center" nowrap="nowrap">
		<if condition="$show['popups']">
		<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=$vboptions[simpleversion]"></script>
		</if>
		<div>
		<div class="smallfont">
			<label for="searchuser">$vbphrase[sender]</label>
			<span id="searchuser"><input type="text" name="searchuser" id="searchuser_txt" value="$search[searchuser]" class="bginput smallfont" /></span>
							
			<if condition="$show['popups']">
			<div class="vbmenu_popup" id="searchuser_menu" style="display:none; z-index:50"></div>
			<script type="text/javascript">
			<!--
			vbmenu_register('searchuser', true);
			searchuser_sugg = new vB_AJAX_NameSuggest('searchuser_sugg', 'searchuser_txt', 'searchuser');
			//-->
			</script>
			</if>
			<label for="searchtitle">$vbphrase[title]</label>
			<input type="text" name="searchtitle" id="searchtitle" value="$search[searchtitle]" class="bginput smallfont" />
			<label for="search_read">$vbphrase[read]</label>
			<select name="searchread" id="search_read">
				<option value="0" $readselection[0]>$vbphrase[all_messages]</option>
				<option value="1" $readselection[1]>$vbphrase[unread_messages]</option>
				<option value="2" $readselection[2]>$vbphrase[read_messages]</option>
				<option value="3" $readselection[2]>$vbphrase[not_replied_to]</option>
				<option value="4" $readselection[2]>$vbphrase[replied_to]</option>
			</select>
		</div>

		<div class="floatcontainer smallfont" style="padding-top:$stylevar[cellpadding]px;width:100%;white-space:nowrap;">
			<div>
				<label for="startdate_month">$vbphrase[from]</label>
				<select name="startdate[month]" id="startdate_month">
					<option value="1" $startmonth[1]>$vbphrase[january]</option>
					<option value="2" $startmonth[2]>$vbphrase[february]</option>
					<option value="3" $startmonth[3]>$vbphrase[march]</option>
					<option value="4" $startmonth[4]>$vbphrase[april]</option>
					<option value="5" $startmonth[5]>$vbphrase[may]</option>
					<option value="6" $startmonth[6]>$vbphrase[june]</option>
					<option value="7" $startmonth[7]>$vbphrase[july]</option>
					<option value="8" $startmonth[8]>$vbphrase[august]</option>
					<option value="9" $startmonth[9]>$vbphrase[september]</option>
					<option value="10" $startmonth[10]>$vbphrase[october]</option>
					<option value="11" $startmonth[11]>$vbphrase[november]</option>
					<option value="12" $startmonth[12]>$vbphrase[december]</option>
				</select>
				<input type="text" name="startdate[day]" id="startdate_date" value="$startdate[day]" size="2" maxlength="2" class="bginput smallfont" />
				<input type="text" name="startdate[year]" id="startdate_year" value="$startdate[year]" size="4" maxlength="4" class="bginput smallfont" />

				<script type="text/javascript">
					<!--
					vBulletin.register_control("vB_DatePicker", "startdate_year", "startdate_", "$bbuserinfo[startofweek]");
					vBulletin.register_control("vB_DatePicker", "enddate_year", "enddate_", "$bbuserinfo[startofweek]");
					//-->
				</script>
			<!-- </div>

			<div style="padding-$stylevar[left]:$stylevar[cellpadding]px"> -->
				<label for="enddate_month">$vbphrase[to]</label>
				<select name="enddate[month]" id="enddate_month">
					<option value="1" $endmonth[1]>$vbphrase[january]</option>
					<option value="2" $endmonth[2]>$vbphrase[february]</option>
					<option value="3" $endmonth[3]>$vbphrase[march]</option>
					<option value="4" $endmonth[4]>$vbphrase[april]</option>
					<option value="5" $endmonth[5]>$vbphrase[may]</option>
					<option value="6" $endmonth[6]>$vbphrase[june]</option>
					<option value="7" $endmonth[7]>$vbphrase[july]</option>
					<option value="8" $endmonth[8]>$vbphrase[august]</option>
					<option value="9" $endmonth[9]>$vbphrase[september]</option>
					<option value="10" $endmonth[10]>$vbphrase[october]</option>
					<option value="11" $endmonth[11]>$vbphrase[november]</option>
					<option value="12" $endmonth[12]>$vbphrase[december]</option>
				</select>
				<input type="text" name="enddate[day]" id="enddate_date" value="$enddate[day]" size="2" maxlength="2" class="bginput smallfont" />
				<input type="text" name="enddate[year]" id="enddate_year" value="$enddate[year]" size="4" maxlength="4" class="bginput smallfont" />
				<input type="submit" name="filter" value="$vbphrase[filter]" class="button" />
			</div>
		</div>
		</div>

	</td>
</tr>
</tbody>
</table>
<!-- dw -->

</form>

<if condition="$show[openfilter]">
	<script type="text/javascript">
		<!--
		toggle_collapse('usercp_pmfilter', 'open');
		//-->
	</script>
</if>]]></template>
		<template name="pm_messagelist" templatetype="template" date="1247134714" username="ksatec.com.sa" version="3.8.4"><![CDATA[<script type="text/javascript">
<!--
function check_all_group(checkobj, value)
{
	formobj = checkobj.form;
	for (var i = 0; i < formobj.elements.length; i++)
	{
		elm = formobj.elements[i];
		if (elm.type == "checkbox" && elm.value == value)
		{
			elm.checked = checkobj.checked;
		}
	}
}
//-->
</script>

<form action="private.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="pp" value="$perpage" />
<!-- up -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('pmlistinfo')"><img id="collapseimg_pmlistinfo" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_pmlistinfo].gif" alt="" border="0" /></a>
			$vbphrase[private_messages_in_folder]<span class="normal">: <span id="nav_pmfolders.listinfo">$foldername<script type="text/javascript"> vbmenu_register("nav_pmfolders.listinfo"); </script></span></span>
		</td>
	</tr>
</thead>
<tbody id="collapseobj_pmlistinfo" style="$vbcollapse[collapseobj_pmlistinfo]">
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
				<fieldset class="fieldset">
					<legend>$vbphrase[folder_controls]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td><phrase 1="$foldername" 2="$totalmessages" 3="$pmtotal" 4="$pmquota">$vbphrase[x_contains_y_z_messages_of_xx]</phrase> (<a href="private.php?do=emptyfolder&amp;folderid=$folderid"><em>$vbphrase[empty_folder]</em></a>)</td>
					</tr>
					<tr>
						<td>
							<table style="border:2px groove" cellpadding="0" cellspacing="1" border="0" width="100%">
							<tr>
								<if condition="$show['thisfoldertotal']"><td width="$tdwidth[folder]" style="background-color:red; font-size:10px" title="<phrase 1="$totalmessages">$vbphrase[messages_stored_in_folder_x]</phrase>">&nbsp;</td></if>
								<if condition="$show['allfolderstotal']"><td width="$tdwidth[total]" style="background-color:orange; font-size:10px" title="<phrase 1="$bbuserinfo[pmtotal]">$vbphrase[total_messages_in_all_folders_x]</phrase>">&nbsp;</td></if>
								<if condition="$tdwidth[quota] > 0"><td width="$tdwidth[quota]" style="background-color:green; font-size:10px" title="<phrase 1="$permissions[pmquota]">$vbphrase[maximum_allowed_messages_x]</phrase>">&nbsp;</td></if>
							</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							$vbphrase[jump_to_folder]:<br />
							<select name="folderid" onchange="this.form.submit();">
							$folderjump
							</select>$gobutton
						</td>
					</tr>
					<if condition="$receipts['unconfirmed'] OR $receipts['confirmed']"><tr>
						<td><a href="private.php?$session[sessionurl]do=trackpm"><phrase 1="$receipts[confirmed]" 2="$receipts[unconfirmed]">$vbphrase[you_have_x_and_y_receipts]</phrase></a></td>
					</tr></if>
					</table>
				</fieldset>
			</div>
		</div>
		</td>
	</tr>
</tbody>
</table>
<!-- dw -->
</form>

<br />

<if condition="$show['messagelist']">

<form id="pmform" action="private.php?do=managepm&amp;folderid=$folderid" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="managepm" />
<input type="hidden" name="folderid" value="$folderid" />

<if condition="$show['pagenav']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
</if>

<!-- up -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="4" style="padding:$stylevar[cellpadding]px; padding-$stylevar[right]:0px">
			<span class="smallfont" style="float:$stylevar[right]">
				<label for="checkall_all">
				$vbphrase[messages]: <strong>$totalmessages</strong>
				<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod_pms.check_all(this.checked)" />
				</label>
			</span>
			$vbphrase[private_messages_in_folder]<span class="normal">: <span id="nav_pmfolders.messagelist">$foldername<script type="text/javascript"> vbmenu_register("nav_pmfolders.messagelist"); </script></span></span>
		</td>
	</tr>
</thead>
<if condition="$totalmessages">
<tbody>
<tr class="block_title">
	<td class="thead" <if condition="$show['pmicons']">colspan="2"</if>></td>
	<td class="thead">
		<div style="float:$stylevar[right]">
			<a href="$orderlinks[date]&amp;pp=$perpage&amp;page=$pagenumber">$vbphrase[date]</a> $sortarrow[date]
		</div>
		<div>
			<a href="$orderlinks[title]&amp;pp=$perpage&amp;page=$pagenumber">$vbphrase[title]</a> $sortarrow[title] / 
			<a href="$orderlinks[sender]&amp;pp=$perpage&amp;page=$pagenumber">$vbphrase[sender]</a> $sortarrow[sender]
		</div>
	</td>
	<if condition="$show['pmcheckbox']">
	<td class="thead"></td>
	</if>
</tr>
</tbody>
$messagelist_periodgroups
<else />
<tbody>
	<tr>
		<td class="alt1" colspan="4" style="text-align:center">
			$vbphrase[no_messages_to_display]
		</td>
	</tr>
</tbody>
</if>
<tbody>
	<tr>
		<td class="tfoot" align="$stylevar[right]" colspan="4">
			<div class="smallfont">
				$vbphrase[selected_messages]:
				<select name="dowhat">
					<if condition="$show['movetofolder']"><option value="move">$vbphrase[move_to_folder]...</option></if>
					<option value="delete">$vbphrase[delete]</option>
					<option value="read">$vbphrase[mark_as_read]</option>
					<option value="unread">$vbphrase[mark_as_unread]</option>
					<option value="xml">$vbphrase[download_as_xml]</option>
					<option value="csv">$vbphrase[download_as_csv]</option>
					<option value="txt">$vbphrase[download_as_text]</option>
					<optgroup label="____________________">
						<option value="clear">$vbphrase[deselect_all_messages]</option>
					</optgroup>
				</select>
				<input type="submit" class="button" value="$vbphrase[go]" id="pm_inlinego" />
			</div>
		</td>
	</tr>
</tbody>
</table>
<!-- dw -->

<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
	<!--
	inlineMod_pms = new vB_Inline_Mod('inlineMod_pms', 'pm', 'pmform', '$vbphrase[go_x]', 'vbulletin_inline', 'thread');
	//-->
</script>
</form>

<if condition="$show['pagenav']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
	<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
</if>

</if>

<br />

$sortfilter

<br />

<!-- forumjump -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
	<td width="100%" rowspan="2">
		<table cellpadding="2" cellspacing="0" border="0">
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/pm_new.gif" alt="$vbphrase[unread_message]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[unread_message]</td>
		</tr>
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/pm_old.gif" alt="$vbphrase[read_message]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[read_message]</td>
		</tr>
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/pm_replied.gif" alt="$vbphrase[repliedto_message]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[repliedto_message]</td>
		</tr>
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/pm_forwarded.gif" alt="$vbphrase[forwarded_message]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forwarded_message]</td>
		</tr>
		</table>
	</td>
	<td class="smallfont" nowrap="nowrap">
		<strong>$vbphrase[download_all_private_messages_as]</strong>:<br />
		<a href="private.php?$session[sessionurl]do=downloadpm&amp;dowhat=xml">$vbphrase[xml]</a> |
		<a href="private.php?$session[sessionurl]do=downloadpm&amp;dowhat=csv">$vbphrase[csv]</a> |
		<a href="private.php?$session[sessionurl]do=downloadpm&amp;dowhat=txt">$vbphrase[text]</a>
	</td>
</tr>
<tr>
	<td valign="bottom">$forumjump</td>
</tr>
</table>
<!-- / forumjump -->]]></template>
		<template name="pm_newpm" templatetype="template" date="1247135363" username="ksatec.com.sa" version="3.8.4"><![CDATA[<form action="private.php?do=insertpm&amp;pmid=$pm[pmid]" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 0)"</if>>

$postpreview
<!-- up -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[post_new_private_message]</td>
</tr>

<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">

		<!-- recipients field -->
		<fieldset class="fieldset">
			<legend>$vbphrase[recipients]</legend>
			<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
			<tr>
				<td>
					<if condition="$show['popups']">
					<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=$vboptions[simpleversion]"></script>
					</if>
					<div>$vbphrase[recipient_usernames]</div>
					<div id="pmrecips"><textarea id="pmrecips_txt" name="recipients" rows="<if condition="is_browser('mozilla')">1<else />2</if>" cols="50" tabindex="1">$pm[recipients]</textarea></div>
					<if condition="$show['popups']">
						<div class="vbmenu_popup" id="pmrecips_menu" style="display:none; z-index:50"></div>
						<script type="text/javascript">
						<!--
						vbmenu_register('pmrecips', true);
						recip_sugg = new vB_AJAX_NameSuggest('recip_sugg', 'pmrecips_txt', 'pmrecips');
						<if condition="$show['sendmultiple']">recip_sugg.allow_multiple = true;</if>
						//-->
						</script>
					</if>
					<if condition="$show['sendmultiple']">
						<span style="display:none" onclick="return swapbcc(this);" id="bccspan1">[<a href="#">$vbphrase[bcc]</a>]</span>
						<span id="bccspan2">$vbphrase[bcc] $vbphrase[recipient_usernames]<br /></span>
						<div id="bccpmrecips"><textarea id="bccpmrecips_txt" name="bccrecipients" rows="<if condition="is_browser('mozilla')">1<else />2</if>" cols="50" tabindex="1">$pm[bccrecipients]</textarea></div>
						<if condition="$show['popups']">
							<div class="vbmenu_popup" id="bccpmrecips_menu" style="display:none; z-index:50"></div>
							<script type="text/javascript">
							<!--
							vbmenu_register('bccpmrecips', true);
							bccrecip_sugg = new vB_AJAX_NameSuggest('bccrecip_sugg', 'bccpmrecips_txt', 'bccpmrecips');
							bccrecip_sugg.allow_multiple = true;
							<if condition="$show['bcclink']">
							fetch_object('bccpmrecips').style.display = 'none';
							fetch_object('bccspan2').style.display = 'none';
							fetch_object('bccspan1').style.display = '';
							function swapbcc(obj)
							{
								obj.style.display = 'none';
								fetch_object('bccpmrecips').style.display = '';
								fetch_object('bccspan2').style.display = '';
								return false;
							}
							</if>
							//-->
							</script>
						</if>
					</if>
				</td>
			</tr>
			<tr>
				<td>
					<if condition="$show['sendmax']"><div><phrase 1="$permissions[pmsendmax]">$vbphrase[may_send_to_x_people]</phrase></div></if>
					<if condition="$show['sendmultiple']"><div>$vbphrase[separate_multiple_names]</div></if>
				</td>
			</tr>
			</table>
		</fieldset>
		<!-- / recipients field -->

		<!-- subject field -->
		<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
		<tr>
			<td class="smallfont" colspan="3">$vbphrase[title]:</td>
		</tr>
		<tr>
			<td><input type="text" class="bginput" name="title" value="$pm[title]" size="50" maxlength="85" tabindex="1" /></td>
			<td>&nbsp;&nbsp;</td>
			<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
		</tr>
		</table>
		<!-- / subject field -->

		<!-- message area -->
		<div class="smallfont">$vbphrase[message]:</div>
		$messagearea
		<!-- / message area -->

		$posticons

		</div>
	</div>

	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="insertpm" />
		<input type="hidden" name="pmid" value="$pm[pmid]" />
		<input type="hidden" name="forward" value="$pm[forward]" />
		<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_message]" accesskey="s" tabindex="1" />
		<input type="submit" class="button" value="$vbphrase[preview_message]" accesskey="r" name="preview" tabindex="1" />
	</div>
	</td>
</tr>
</table>
<!-- dw -->

<br />
<!-- up -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
 			<a name="options" style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>
 			$vbphrase[additional_options]
 		</td>
	</tr>
</thead>
<tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]">
	<tr valign="top">
		<td class="panelsurround" align="center">
		<div class="panel">
			<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">

				<if condition="$show['receivepmbuddies']">
				<fieldset class="fieldset">
					<legend>$vbphrase[pm_non_contacts_heading]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td><phrase 1="$session[sessionurl]">$vbphrase[pm_non_contact_option_description]</phrase></td>
					</tr>
					<tr>
						<td><label for="cb_anyway"><input type="checkbox" name="sendanyway" id="cb_anyway" value="1" $anywaychecked />$vbphrase[pm_non_contact_option]</label></td>
					</tr>
					</table>
				</fieldset>
				</if>

				<fieldset class="fieldset">
					<legend>$vbphrase[miscellaneous_options]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<if condition="$show['trackpm']"><div><label for="cb_receipt"><input type="checkbox" name="receipt" value="1" id="cb_receipt" $checked[receipt] />$vbphrase[request_receipt_for_message]</label></div></if>
						<div><label for="cb_savecopy"><input type="checkbox" name="savecopy" value="1" id="cb_savecopy" tabindex="1" $checked[savecopy] /><phrase 1="private.php?$session[sessionurl]folderid=-1">$vbphrase[save_copy_in_sent_items_folder]</phrase></label></div>
						<if condition="$bbuserinfo['signature']"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if>
						<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
						$disablesmiliesoption
					</div>
				</fieldset>

			</div>
		</div>
		</td>
	</tr>
</tbody>
</table>
<!-- dw -->

</form>

<br />

$forumrules]]></template>
		<template name="pm_popup_script" templatetype="template" date="1247136273" username="ksatec.com.sa" version="3.8.4"><![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>
		<template name="pm_quickreply" templatetype="template" date="1247136322" username="ksatec.com.sa" version="3.8.4"><![CDATA[<if condition="$show['editor_toolbar']">
<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['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>
	<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>
</if>
<div class="controlbar" style="padding-$stylevar[right]:8px">
	<fieldset style="border:0px; padding:0px; margin:0px">
	<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea>
	</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>
		<template name="pm_showpm" templatetype="template" date="1250158062" username="ksatec.com.sa" version="3.8.4"><![CDATA[<if condition="$show['receiptprompt']">
<script type="text/javascript">
<!--
<if condition="$show['receiptpopup']">
if (window.attachEvent)
{
	window.attachEvent('onload', askReceipt);
}
else if(window.addEventListener)
{
	window.addEventListener('load', askReceipt, false);
}
function askReceipt()
{
	doReceipt(confirm("$receipt_question_js"));
}
</if>
function doReceipt(yesno)
{
	// do image method too to get around popup blockers
	var img_obj = new Image();
	img_obj.src = "private.php?$session[sessionurl]do=dopmreceipt&type=img&pmid=$pm[pmid]&confirm=" + (yesno ? 1 : 0);
	if (yesno)
	{
		fetch_object('receipt').style.display = 'none';
	}
}
// -->
</script>
</if>

<!-- up -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
	<td class="tcat" colspan="2">
		<div class="normal" style="float:$stylevar[right]">
		<if condition="$show['reportlink']"><a href="private.php?$session[sessionurl]do=report&amp;pmid=$pm[pmid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_private_message]" border="0" /></a> &nbsp;</if>
		</div>
		$vbphrase[private_message]<span class="normal">: $pm[original_title]</span>
	</td>
</tr>
<if condition="$show['recipients']">
<tr>
	<td class="alt1"><if condition="$ccrecipients"><strong>$vbphrase[recipients]</strong>: $ccrecipients<br /></if><if condition="$bccrecipients"><strong>$vbphrase[recipients] <span class="smallfont">($vbphrase[bcc])</span></strong>: $bccrecipients</if></td>
</tr>
</if>
</table>
<!-- dw -->

$postbit

<br />

<if condition="$show['receiptprompt']">
	<form action="private.php?do=managepm&amp;dowhat=delete&amp;pmid=$pm[pmid]" method="post">
<!-- up -->
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="receipt">
	<tr>
		<td class="thead"><strong>$vbphrase[confirm_outstanding_receipt]</strong></td>
	</tr>
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">

				<table class="fieldset" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td><phrase 1="$pm[fromusername]">$vbphrase[x_requested_read_receipt]</phrase></td>
					<td>
						<input type="hidden" name="s" value="$session[sessionhash]" />
						<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
						<input type="hidden" name="do" value="managepm" />
						<input type="hidden" name="dowhat" value="delete" />
						<input type="hidden" name="folderid" value="$pm[folderid]" />
						<input type="button" class="button" style="font-weight:normal" value="$vbphrase[okay]" onclick="doReceipt(1);this.disabled=true;" />
					</td>
				</tr>
				</table>

			</div>
		</div>
		</td>
	</tr>
	</table>
<!-- dw -->

	<br />
	</form>
</if>

<if condition="$show['quickreply']">
<!-- up -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('pm_quickreply')"><img id="collapseimg_pm_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_pm_quickreply].gif" alt="" border="0" /></a>
			$vbphrase[quick_reply]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_pm_quickreply" style="$vbcollapse[collapseobj_pm_quickreply]">
	<tr>
		<td class="panelsurround" align="center">
			$vBeditTemplate[clientscript]

			<form action="private.php?do=insertpm&amp;pmid=$pm[pmid]" method="post" id="message_form"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, 0)"</if>>
				<div class="panel">
					<div align="center">
						<div style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">

							<div class="smallfont messagetext" style="text-align:$stylevar[left]">$vbphrase[message]: </div>
                            <div id="$editorid" class="vBulletin_editor">$messagearea</div>
							<if condition="$allowed_bbcode"><div class="allowed_bbcode">$allowed_bbcode</div></if>
							<div class="submit_button">
								<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="insertpm" />
								<input type="hidden" name="pmid" value="$pm[pmid]" />
								<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
								<input type="hidden" name="parseurl" value="1" />
                                                                <input type="hidden" name="signature" value="1" />
								<input type="hidden" name="title" value="$pm[title]" />
								<input type="hidden" name="recipients" value="$pm[recipients]" />
								<input type="hidden" name="forward" value="0" />
								<input type="hidden" name="savecopy" value="$pm[savecopy]" />
							</div>
						</div>
					</div>
				</div>

				<div class="floatcontainer quick_reply_controls" style="padding-top:$stylevar[cellpadding]px">
					<input type="submit" value="$vbphrase[submit_message]" name="sbutton" id="qr_submit" class="button" accesskey="s" tabindex="1" />
					<input type="submit" value="$vbphrase[go_advanced]" name="preview" class="button" accesskey="x" tabindex="1"  />
				</div>
			</form>
		</td>
	</tr>
</tbody>
</table>
<!-- dw -->
</if>

<br />

<if condition="$pm['parentpmid']">
<script type="text/javascript" src="clientscript/vbulletin_ajax_htmlloader.js?v=$vboptions[simpleversion]"></script>
<!-- up -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat" colspan="2">
		<div class="normal" style="float:$stylevar[right]">
		<a id="pm_historylink" href="private.php?$session[sessionurl]do=showpm&amp;pmid=$pm[pmid]&amp;showhistory=1" onclick="return pmhistory_loader.load()"><span class="smallfont">$vbphrase[view_history]</span></a>
		</div>
		$vbphrase[message_history]
		<img src="$stylevar[imgdir_misc]/11x11progress.gif" style="display:none" id="pmhistory_progress" />
	</td>
</tr>
</table>
<!-- dw -->
<div id="threadpms" style="margin-top:-1px">
$threadpms
</div>

<script type="text/javascript">
<!--
var pmhistory_loader = new vB_AJAX_HtmlLoader('threadpms', 'private.php?$session[sessionurl]do=showhistory&pmid=$pm[pmid]', false, 'pmhistory_progress', function(){fetch_object('pm_historylink').style.display = 'none';});
//-->
</script>

<br />
</if>

<form action="private.php?do=managepm&amp;dowhat=delete&amp;pmid=$pm[pmid]" method="post">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('pm_delete')"><img id="collapseimg_pm_delete" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_pm_delete].gif" alt="" border="0" /></a>
            $vbphrase[delete_this_message]
        </td>
    </tr>
</thead>
<tbody id="collapseobj_pm_delete" style="$vbcollapse[collapseobj_pm_delete]">
    <tr>
        <td class="panelsurround" align="center">
        <div class="panel">
            <div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
 
            <fieldset class="fieldset">
                <legend>$vbphrase[delete_message]</legend>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                <tr>
                    <td>$vbphrase[delete_message_click_button]</td>
                </tr>
                <tr>
                    <td><label for="deletepm"><input type="checkbox" name="pm[$pm[pmid]]" id="deletepm" value="true" />$vbphrase[delete_this_message]</label></td>
                </tr>
                </table>
            </fieldset>
 
            </div>
        </div>
 
        <div style="margin-top:$stylevar[cellpadding]px">
            <input type="hidden" name="s" value="$session[sessionhash]" />
            <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
            <input type="hidden" name="do" value="managepm" />
            <input type="hidden" name="dowhat" value="delete" />
            <input type="hidden" name="folderid" value="$pm[folderid]" />
            <input type="submit" class="button" value="$vbphrase[delete_this_message]" />
        </div>
        </td>
    </tr>
</tbody>
</table>

</form>
]]></template>
	</templategroup>
	<templategroup name="المشاركة/Postbit">
		<template name="postbit_attachment" templatetype="template" date="1247136467" username="ksatec.com.sa" version="3.8.4"><![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="1246798850" username="ksatec.com.sa" version="3.8.4"><![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="1312973555" username="علي الموسوي" version="3.8.7"><![CDATA[$template_hook[postbit_start]
<!-- up -->
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
	<if condition="$show['announcement']">
		<td class="thead" style="font-weight:normal" colspan="2">
			<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
			<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
		</td>
	<else />
		<td class="thead" style="font-weight:normal" $post[scrolltothis]>		
			<!-- 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>
			$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
			$post[firstnewinsert]
			<!-- / status icon and date -->
		</td>
		<td class="thead" style="font-weight:normal" align="$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]"><strong>$post[postcount]</strong></a></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>
		</td>
	</if>
</tr>
<tr valign="top">
	<td class="alt2" width="175">

			<div align="center" 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="$post['usertitle']"><div align="center" class="smallfont">$post[usertitle]</div></if>
			<if condition="$post['rank']"><div align="center" class="smallfont">$post[rank]</div></if>
			$template_hook[postbit_userinfo_left]



<if condition="$show['avatar']">
                <div class="smallfont" align="center">
                    &nbsp;<br /><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>
                <else /><div class="smallfont" align="center"><img alt="لاتوجد صورة رمزية" border="0" src="$stylevar[imgdir_misc]/noavatar.gif" /></div>
            </if> 




			<div align="center" class="smallfont">
				&nbsp;<br />
<if condition="$post['joindate']">
<input type="text" name="Date" size="24" dir="rtl" value="الانتساب : $post[joindate]" class="alt1Active" 
onmouseover="this.className='alt2';" 
onmouseout="this.className='alt1';" 
onmousedown="this.className='alt1';" style="border-style:solid; border-width:1px; font-family:MS Sans Serif; font-size:10px; vertical-align:middle; letter-spacing:0;; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px"><br></if>
<input type="text" name="Number" size="24" dir="rtl" value="رقم العضوية : $post[userid]" class="alt1Active" 
onmouseover="this.className='alt2';" 
onmouseout="this.className='alt1';" 
onmousedown="this.className='alt1';" style="border-style:solid; border-width:1px; font-family:MS Sans Serif; font-size:10px; vertical-align:middle; letter-spacing:0;; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px"><br><if condition="$post[field2]">
<input type="text" name="City" size="24" dir="rtl" value="الإقامة : $post[field2]" class="alt1Active" 
onmouseover="this.className='alt2';" 
onmouseout="this.className='alt1';" 
onmousedown="this.className='alt1';" style="border-style:solid; border-width:1px; font-family:MS Sans Serif; font-size:10px; vertical-align:middle; letter-spacing:0;; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px"><br></if>
<input type="text" name="Cuantity" size="24" dir="rtl" value="المشاركات : $post[posts]" class="alt1Active" 
onmouseover="this.className='alt2';" 
onmouseout="this.className='alt1';" 
onmousedown="this.className='alt1';" style="border-style:solid; border-width:1px; font-family:MS Sans Serif; font-size:10px; vertical-align:middle; letter-spacing:0;; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px"><br>
<input type="text" name="Number" size="24" dir="rtl" value="عدد النقاط : $post[reputation]" class="alt1Active" 
onmouseover="this.className='alt2';" 
onmouseout="this.className='alt1';" 
onmousedown="this.className='alt1';" style="border-style:solid; border-width:1px; font-family:MS Sans Serif; font-size:10px; vertical-align:middle; letter-spacing:0;; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px"><br>


				$template_hook[postbit_userinfo_right_after_posts]
				<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
				<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
				$template_hook[postbit_userinfo_right]
				<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
			</div>
			<!-- AddThis Button BEGIN --><div align="center">
<script type="text/javascript">addthis_pub  = 'bilal aldaqamseh';</script>
<a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, '', '[url]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s9.addthis.com/button0-bm.gif" width="83" height="16" border="0" alt="" /></a><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script>
</div><!-- AddThis Button END --> <br /> 
	</td>
	<if condition="$show['moderated']">
	<td class="alt2" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
	<else />
	<td class="alt1" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
	</if>
		$template_hook[postbit_messagearea_start]
		<if condition="$show['messageicon'] OR $post['title']">
			<!-- icon and title -->
			<div class="smallfont">
				<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
				<if condition="$post['title']"><strong>$post[title]</strong></if>
			</div>
			<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
			<!-- / icon and title -->
		</if>

		<!-- message -->
		<div id="post_message_$post[postid]">
			$ad_location[ad_showthread_firstpost_start]
			$post[message]
		</div>
		<!-- / message -->

		<if condition="$show['attachments']">
		<!-- attachments -->
			<div style="padding:$stylevar[cellpadding]px">

			<if condition="$show['thumbnailattachment']">
				<fieldset class="fieldset">
					<legend>$vbphrase[attached_thumbnails]</legend>
					<div style="padding:$stylevar[formspacer]px">
					$post[thumbnailattachments]
					</div>
				</fieldset>
			</if>

			<if condition="$show['imageattachment']">
				<fieldset class="fieldset">
					<legend>$vbphrase[attached_images]</legend>
					<div style="padding:$stylevar[formspacer]px">
					$post[imageattachments]
					</div>
				</fieldset>
			</if>

			<if condition="$show['imageattachmentlink']">
				<fieldset class="fieldset">
					<legend>$vbphrase[attached_images]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					$post[imageattachmentlinks]
					</table>
					</fieldset>
			</if>

			<if condition="$show['otherattachment']">
				<fieldset class="fieldset">
					<legend>$vbphrase[attached_files]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					$post[otherattachments]
					</table>
				</fieldset>
			</if>

			<if condition="$show['moderatedattachment']">
				<fieldset class="fieldset">
					<legend>$vbphrase[attachments_pending_approval]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					$post[moderatedattachments]
					</table>
				</fieldset>
			</if>

			</div>					<!-- تحذير المرفقات -->

<div ><fieldset class="fieldset">
	<legend><b><font color="#ff0000">نصائح مهمة:</font></b><font color="#FF0000">
	</font> </legend>
	1- أفحص الملف المرفق بأي برنامج مضاد للفيروسات<br>
	2-<span lang="en-us"> </span>قم بمراسلة مشرف القسم بخصوص أي مرفق يوجد به فيروس<br>
	3-<span lang="en-us"> $vboptions[bbtitle]</span> غير مسئولة عن ما يحتويه المرفق من بيانات</fieldset></div>

<!-- تحذير المرفقات -->
		<!-- / attachments -->
		</if>

		$template_hook[postbit_signature_start]
		$ad_location[ad_showthread_firstpost_sig]

		<if condition="$post['signature']">
		<!-- sig -->
<fieldset class="fieldset"> 
                <legend>التوقيع</legend> 
                <div style="padding: 3px;"> 
                     <div align="center"><img alt="سبح الله وأجعل لسانك رطب بذكرة" border="0" src="$stylevar[imgdir_misc]/SER.gif" loop="0" /></div>
 <div align="center">$post[signature] </div>

                        </div> 
                     
                </div> 
            </fieldset>
		<!-- / sig -->
		</if>

		$template_hook[postbit_signature_end]

		<if condition="$show['postedited']">
		<!-- edit note -->
			<div class="smallfont">
				<hr size="1" style="border-style:dotted; border-width:1px; font-family:MS Sans Serif; font-size:10px; vertical-align:middle; letter-spacing:0;; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px; color:#FF0000" />
				<em>
					<if condition="$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>
				</em>
			</div>
		<!-- / edit note -->
		</if>

	</td>
</tr>
<tr>
	<td class="alt2">
		$post[onlinestatus]
		<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>
		</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></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></if>
		$post[iplogged]
		&nbsp;
	</td>
	<if condition="$show['moderated']">
	<td class="alt2" align="$stylevar[right]">
	<else />
	<td class="alt1" align="$stylevar[right]">
	</if>
		<!-- 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['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']">
			<if condition="$show['managepost']">
				<a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
			<else />
				<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
			</if>
		</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 -->
	</td>
</tr>
</table>
<!-- dw -->
$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_more_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>
	<if condition="$post[usergroupid]!=6 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])">
	<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/user.php?$session[sessionurl]do=editsig&amp;userid=$post[userid]','editsig','width=500,height=375,scrollbars=yes')">تعديل توقيع $post[username]</span></td></tr>
	<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=500,height=375,scrollbars=yes')">حظر دائم / مؤقت لعضوية $post[username]</span></td></tr>
	<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=liftban&userid=$post[userid]','liftban','width=500,height=375,scrollbars=yes')">إلغاء الحظر عن $post[username]</span></td></tr>
</if>
	<if condition="$show['pmlink']"><tr><td class="vbmenu_option"><a target="blank" href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow">إرسال رسالة خاصة</a></td></tr></if>
<if condition="$show['search']"><tr><td class="vbmenu_option"><a target="blank" href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$post[username]" rel="nofollow">عرض مواضيعي</a></td></tr></if>

<if condition="$show['profile']"><tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">ملفي الشخصي</a></td></tr></if>
<if condition="$show['admincplink']"><tr><td class="vbmenu_option"><a target="blank" href="admincp/user.php?$session[sessionurl]do=edit&amp;userid=$post[userid]"><font color="#FF0000">تعديل خياراتي</font></a></td></tr></if>

	$template_hook[postbit_user_popup]
	</table>
</div>
<!-- / post $post[postid] popup menu -->]]></template>
		<template name="postbit_quickedit" templatetype="template" date="1246798916" username="ksatec.com.sa" version="3.8.4"><![CDATA[<if condition="$show['quick_edit_form_tag']"><form></if>

<table cellpadding="0" cellspacing="0" border="0" align="center" id="{$editorid}_editor" width="100%">
<tr>
	<td class="vBulletin_editor" align="center">
	<if condition="$show['editor_toolbar']">
	<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['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>
		<if condition="is_browser('ie')">
			<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
			<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><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
			<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>
	</if>

	<div class="controlbar">
		<div><textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:500px; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea></div>
		<div class="fieldset" style="margin-top:$stylevar[formspacer]px">
			<div>$vbphrase[reason_for_editing]:</div>
			<div><input type="text" class="bginput" name="reason" id="{$editorid}_edit_reason" value="" size="50" maxlength="125" tabindex="1" title="$vbphrase[optional]" /></div>
		</div>
	</div>

	<div align="$stylevar[right]">
		<img style="vertical-align:middle; display: none" id="{$editorid}_posting_msg" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[posting_message_please_wait]" />
		<input type="button" class="button" tabindex="1" accesskey="s" value="$vbphrase[save]" id="{$editorid}_save" />
		<input type="button" class="button" tabindex="1" accesskey="r" value="$vbphrase[go_advanced]" id="{$editorid}_adv" />
		<if condition="$show['deletepostoption']">
		<input type="button" class="button" tabindex="1" value="$vbphrase[delete]" id="{$editorid}_delete" />
		</if>
		<input type="button" class="button" tabindex="1" accesskey="r" value="$vbphrase[cancel]" id="{$editorid}_abort" />
	</div>

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

	<if condition="$show['deletepostoption']">
	<div id="quickedit_delete" style="display:none">

		<hr />

		<div class="fieldset">
			<div>$vbphrase[delete_message_check_appropriate_option]</div>
			<if condition="$show['firstpostnote']">
				<div>$vbphrase[deleting_message_deletion_of_thread]</div>
			</if>
		</div>

		<fieldset class="fieldset">
			<legend>$vbphrase[deletion_options]</legend>
			<div align="right" style="padding:$stylevar[formspacer]px">
				<div>
					<label for="rb_del_leave"><input type="radio" name="deletepost" value="" id="rb_del_leave" tabindex="1" checked="checked" />$vbphrase[do_not_delete_message]</label>
				</div>
				<if condition="$show['softdeleteoption']">
				<div>
					<label for="rb_del_soft"><input type="radio" name="deletepost" value="delete" id="rb_del_soft" tabindex="1" />$vbphrase[delete_message]</label>
					<if condition="$show['physicaldeleteoption'] AND $show['keepattachmentsoption']">(<label for="cb_keepattachments"><input type="checkbox" name="keepattachments" value="1" id="cb_keepattachments" tabindex="1" />$vbphrase[keep_attachments]</label>)</if>
				</div>
				</if>
				<if condition="$show['physicaldeleteoption']">
				<div>
					<label for="rb_del_hard"><input type="radio" name="deletepost" value="remove" id="rb_del_hard" tabindex="1" />$vbphrase[physically_remove_message]</label>
				</div>
				</if>
			</div>
		</fieldset>

		<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr valign="bottom">
			<td class="smallfont">
				<div>$vbphrase[reason_for_deletion]:</div>
				<input type="text" class="bginput" name="reason" id="del_reason" size="50" tabindex="1" title="$vbphrase[optional]" />
			</td>
			<td align="$stylevar[right]"><input type="button" class="button" value="$vbphrase[delete_this_message]" tabindex="1" id="quickedit_dodelete" /></td>
		</tr>
		</table>

	</div>
	</if>

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

<if condition="$show['quick_edit_form_tag']"></form></if>]]></template>
		<template name="postbit_wrapper" templatetype="template" date="1250265256" username="ksatec.com.sa" version="3.8.4"><![CDATA[<!-- post #$post[postid] -->
<if condition="$show['spacer']">
	$spacer_open
	<div id="edit$post[postid]" style="padding:0px 0px 0px 0px">
	<if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>
</if>

$postbit

<if condition="$show['spacer']">
	</div>
	$spacer_close
</if>
<!-- / post #$post[postid] -->]]></template>
	</templategroup>
	<templategroup name="أيقونة المشاركة">
		<template name="posticonbit" templatetype="template" date="1246798936" username="ksatec.com.sa" version="3.8.4"><![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="1246798953" username="ksatec.com.sa" version="3.8.4"><![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="التسجيل">
		<template name="register" templatetype="template" date="1247331947" username="ksatec.com.sa" version="3.8.4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<style type="text/css">
/* ***** red and green boxes for username verification used during registration ***** */
.greenbox { border: 1px solid #337733; background: #bbffbb; color: #337733; padding: 3px; }
.redbox { border:1px solid #773333; background: #ffbbbb; color: #773333; padding: 3px; }
</style>
<title>$vboptions[bbtitle] - <if condition="$show['coppa']">$vbphrase[coppa] </if>$vbphrase[registration]</title>
</head>
<body>

$header

<br />

<if condition="$show['coppa']">
	<div>$vbphrase[until_receive_signed_form]</div>
</if>

<if condition="$show['errors']">
<!-- up -->

	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="tcat">$vbphrase[errors_occurred_during_registration]</td>
	</tr>
	<tr>
		<td class="alt1"><ul>$errorlist</ul></td>
	</tr>
	</table>
<!-- dw -->

</if>

<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
function verify_passwords(password1, password2)
{
	// do various checks, this will save people noticing mistakes on next page
	if (password1.value == '' || password2.value == '')
	{
		alert('$vbphrase[fill_out_both_password_fields]');
		return false;
	}
	else if (password1.value != password2.value)
	{
		alert('$vbphrase[entered_passwords_do_not_match]');
		return false;
	}
	else
	{
		<if condition="$show['coppa']">
		pass_copy = password1.value;
		passconfirm_copy = password2.value;
		</if>

		var junk_output;

		md5hash(password1, document.forms.register.password_md5, junk_output, $show[nopasswordempty]);
		md5hash(password2, document.forms.register.passwordconfirm_md5, junk_output, $show[nopasswordempty]);

		<if condition="$show['coppa']">
		document.forms.register.password.value = pass_copy;
		document.forms.register.passwordconfirm.value = passconfirm_copy;
		</if>

		return true;
	}
	return false;
}
</script>

<form action="register.php?do=addmember" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="addmember" />
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="agree" value="$agree" />
<input type="hidden" name="password_md5" />
<input type="hidden" name="passwordconfirm_md5" />
<if condition="!$show['birthday']">
	<input type="hidden" name="day" value="$day" />
	<input type="hidden" name="month" value="$month" />
	<input type="hidden" name="year" value="$year" />
</if>
<if condition="$show['coppa']">
	<input type="hidden" name="coppauser" value="1" />
</if>
<!-- up -->

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

			<div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
				<phrase 1="$vboptions[bbtitle]">$vbphrase[to_post_must_first_register]</phrase>
			</div>

			<div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
				<strong>$vbphrase[username]</strong>:<br />
				<input class="bginput" id="regusername" type="text" name="username" size="50" maxlength="$vboptions[maxuserlength]" value="$username" /><img src="$vboptions[cleargifurl]" id="reg_verif_image" onclick="return toggle_collapse('dialog_box')" style="display:none;" alt="" />
				<div id="collapseobj_dialog_box"><div id="reg_verif_div" style="display:none;"></div></div>
				<script type="text/javascript" src="clientscript/vbulletin_ajax_nameverif.js?v=$vboptions[simpleversion]"></script>
				<script type="text/javascript">
				<!--
				regname_verif = new vB_AJAX_NameVerify('regname_verif', 'regusername');
				//-->
				</script>
			</div>

			<fieldset class="fieldset">
				<legend>$vbphrase[password]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="400">
				<tr>
					<td colspan="2">$vbphrase[enter_password_for_account]</td>
				</tr>
				<tr>
					<td>
						$vbphrase[password]:<br />
						<input type="password" class="bginput" name="password" size="25" maxlength="50" value="$password" />
					</td>
					<td>
						$vbphrase[confirm_password]:<br />
						<input type="password" class="bginput" name="passwordconfirm" size="25" maxlength="50" value="$passwordconfirm" />
					</td>
				</tr>
				</table>
			</fieldset>

			<fieldset class="fieldset">
				<legend>$vbphrase[email_address]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="400">
				<tr>
					<td colspan="2">$vbphrase[enter_valid_email_address]</td>
				</tr>
				<tr>
					<td>
						$vbphrase[email_address]:<br />
						<input type="text" class="bginput" name="email" size="25" maxlength="50" value="$email" dir="ltr" />
					</td>
					<td>
						$vbphrase[confirm_email_address]:<br />
						<input type="text" class="bginput" name="emailconfirm" size="25" maxlength="50" value="$emailconfirm" dir="ltr" />
					</td>
				</tr>
				<if condition="$show['coppa']">
				<tr>
					<td>$vbphrase[if_under_13_provide_parent]</td>
				</tr>
				<tr>
					<td>
						$vbphrase[parent_guardian_email]:<br />
						<input type="text" class="bginput" name="parentemail" size="25" maxlength="50" value="$parentemail" dir="ltr" />
					</td>
				</tr>
				</if>
				</table>
			</fieldset>

			$human_verify

		</div>
	</div>
	</td>
</tr>
</table>
<!-- dw -->

<if condition="$show['customfields_profile']">
<!-- up -->

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

			$customfields_profile

			<if condition="$show['birthday']">$birthdayfields</if>

		</div>
	</div>
	</td>
</tr>
</table>
<!-- dw -->

</if>

<if condition="$show['customfields_option']">
<!-- up -->

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

			$customfields_option

		</div>
	</div>
	</td>
</tr>
</table>
<!-- dw -->

</if>
<!-- up -->

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

			<if condition="$show['referrer']">
			<fieldset class="fieldset">
				<legend>$vbphrase[referrer]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td><phrase 1="$vboptions[bbtitle]">$vbphrase[if_referred_enter_name]</phrase></td>
				</tr>
				<tr>
					<td>
						$vbphrase[referrer]:<br />
						<div id="referrerfield"><input id="referrerfield_txt" type="text" class="bginput" name="referrername" value="$referrername" size="50" maxlength="$vboptions[maxuserlength]" /></div>
						<if condition="$show['popups']">
							<div id="referrerfield_menu" class="vbmenu_popup" style="display:none; z-index:50"></div>
							<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=$vboptions[simpleversion]"></script>
							<script type="text/javascript">
							<!--
								vbmenu_register('referrerfield', true);
								rnc = new vB_AJAX_NameSuggest('rnc', 'referrerfield_txt', 'referrerfield');
								rnc.allow_multiple = false;
							//-->
							</script>
						</if>
					</td>
				</tr>
				</table>
			</fieldset>
			</if>

			$timezoneoptions

			<fieldset class="fieldset">
				<legend>$vbphrase[receive_email]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td>
						$vbphrase[administrators_may_send_email]
					</td>
				</tr>
				<tr>
					<td><label for="cb_adminemail"><input type="checkbox" name="options[adminemail]" value="1" id="cb_adminemail" $checkedoff[adminemail] />$vbphrase[receive_email_from_bulletin_board_staff]</label></td>
				</tr>
				<if condition="$show['email']">
				<tr>
					<td>$vbphrase[allow_members_send_you_email]</td>
				</tr>
				<tr>
					<td><label for="cb_showemail"><input type="checkbox" name="options[showemail]" value="1" id="cb_showemail" $checkedoff[showemail] />$vbphrase[receive_email_from_other_members]</label></td>
				</tr>
				</if>
				</table>
			</fieldset>


			$customfields_other

		</div>
	</div>

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

</form>

$footer

</body>
</html>]]></template>
		<template name="register_rules" templatetype="template" date="1247332158" username="ksatec.com.sa" version="3.8.4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - <if condition="$show['coppa']">$vbphrase[coppa_rules]<else />$vbphrase[forum_rules]</if></title>
</head>
<body>
$header

<br />
<br />

<form action="register.php?do=register" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="register" />
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="month" value="$month" />
<input type="hidden" name="day" value="$day" />
<input type="hidden" name="year" value="$year" />
<if condition="$show['coppa']">
<input type="hidden" name="who" value="coppa" />
<else />
<input type="hidden" name="who" value="adult" />
</if>
<!-- up -->

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

			<fieldset class="fieldset">
				<legend>$vbphrase[forum_rules]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td>$vbphrase[to_proceed_must_agree]</td>
				</tr>
				<tr>
					<td>
						<div class="page" style="border:thin inset; padding:$stylevar[cellpadding]px;<if condition="!is_browser('konqueror')"> height:175px; overflow:auto</if>">

							<if condition="$show['coppa']">
							<!-- coppa regulations -->
							<p><strong>$vbphrase[coppa_policy]</strong></p>

							<phrase 1="$vboptions[bbtitle]" 2="$vboptions[forumhome].php$session[sessionurl_q]" 3="register.php?$session[sessionurl]do=coppaform" 4="$vboptions[webmasteremail]">$vbphrase[coppa_rules_description]</phrase>
							<!-- / coppa regulations -->
							</if>

							<!-- regular forum rules -->
							<phrase 1="$vboptions[forumhome].php$session[sessionurl_q]" 2="$vboptions[bbtitle]">$vbphrase[forum_rules_registration]</phrase>
							<phrase 1="$vboptions[forumhome].php$session[sessionurl_q]" 2="$vboptions[bbtitle]">$vbphrase[forum_rules_description]</phrase>
							<!-- regular forum rules -->

						</div>
						<div><label for="cb_rules_agree"><input type="checkbox" name="agree" id="cb_rules_agree" value="1" /><strong><phrase 1="$vboptions[bbtitle]">$vbphrase[read_agree_abide_by_rules]</phrase></strong></label></div>
					</td>
				</tr>
				</table>
			</fieldset>
		</div>
	</div>

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

</form>

<br />
<br />

$footer

</body>
</html>]]></template>
	</templategroup>
	<templategroup name="البحث">
		<template name="search_forums" templatetype="template" date="1247332273" username="ksatec.com.sa" version="3.8.4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - <if condition="$show['searchthread']">$vbphrase[search_thread]<else />$vbphrase[search_forums]</if></title>
$tag_cloud_headinclude
</head>

<body>
$header
$navbar

<if condition="$show['errors']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
			$vbphrase[errors_occured_with_search]:
	</td>
</tr>
<tr>
	<td class="alt1">
			<ol>$errorlist</ol>
	</td>
</tr>
</table>

<br />
</if>

<form action="search.php?do=process" method="post" name="vbform" id="searchform" style="display:block; margin:0px">
<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="$searchthreadid" />
<!-- up -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<if condition="$show['searchthread']">$vbphrase[search_thread] - <a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]">$threadinfo[title]</a><else />$vbphrase[search_forums]</if>
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">

	<table class="panel" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
	<tr>
		<td align="$stylevar[left]" valign="top" width="50%">
			<fieldset class="fieldset" style="margin:0px">
				<legend>$vbphrase[search_by_key_word]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td colspan="2">
						<div>$vbphrase[key_words]:</div>
						<div><input type="text" class="bginput" name="query" size="35" value="$query" style="width:250px" /></div>
					</td>
				</tr>
				<if condition="!$show['searchthread']">
				<tr>
					<td>
						<select name="titleonly">
							<option value="0" $titleonlyselected[0]>$vbphrase[search_entire_posts]</option>
							<option value="1" $titleonlyselected[1]>$vbphrase[search_titles_only]</option>
						</select><if condition="$show['nocache']"> <label for="cb_nocache"><input type="checkbox" name="nocache" value="1" id="cb_nocache" />$vbphrase[do_not_use_cached_results]</label></if>
					</td>
				</tr>
				</if>
				</table>
			</fieldset>
		</td>
		<td align="$stylevar[left]" valign="top" width="50%">
			<fieldset class="fieldset" style="margin:0px">
				<legend>$vbphrase[search_by_user_name]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td colspan="2">
						<div>$vbphrase[username]:</div>
						<div id="userfield">
							<input type="text" class="bginput" name="searchuser" id="userfield_txt" size="35"  value="$searchuser" style="width:250px" />
						</div>
						<if condition="$show['searchthread']">
							<div>
								<label for="cb_exactname"><input type="checkbox" name="exactname" value="1" id="cb_exactname" $exactnamechecked[1] />$vbphrase[exact_name]</label>
							</div>
						</if>
						<if condition="$show['popups']">
							<div id="userfield_menu" class="vbmenu_popup" style="display:none"></div>
							<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=$vboptions[simpleversion]"></script>
							<script type="text/javascript">
							<!--
							vbmenu_register('userfield', true);
							snc = new vB_AJAX_NameSuggest('snc', 'userfield_txt', 'userfield');
							//-->
							</script>
						</if>
					</td>
				</tr>
				<if condition="!$show['searchthread']">
				<tr>
					<td>
						<select name="starteronly">
							<option value="0" $starteronlyselected[0]>$vbphrase[find_posts_by_user]</option>
							<option value="1" $starteronlyselected[1]>$vbphrase[find_threads_started_by_user]</option>
						</select>
					</td>
					<td><label for="cb_exactname"><input type="checkbox" name="exactname" value="1" id="cb_exactname" $exactnamechecked[1] />$vbphrase[exact_name]</label></td>
				</tr>
				</if>
				</table>
			</fieldset>

		</td>
	</tr>
	<if condition="$human_verify">
	<tr>
		<td align="$stylevar[left]" valign="top" colspan="2">$human_verify</td>
	</tr>
	</if>
	</table>

	<div align="$stylevar[left]">

	<div class="thead" style="padding:$stylevar[cellpadding]px">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('search_adv')"><img id="collapseimg_search_adv" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_search_adv].gif" alt="" border="0" /></a>
		$vbphrase[search_options]
	</div>

	<div id="collapseobj_search_adv" style="$vbcollapse[collapseobj_search_adv]">
	<table class="panel" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
	<tr valign="top">
		<td width="50%">
			<if condition="!$show['searchthread']">
			<if condition="$prefix_options">
			<fieldset class="fieldset">
				<legend>$vbphrase[find_threads_with_prefix]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<div>
						<select style="<if condition="is_browser('mozilla')">min-width:250px<else />width:100%</if>" name="prefixchoice[]" size="5" multiple="multiple">
							<option value=""$prefix_selected[any]>$vbphrase[any_prefix_meta]</option>
							<option value="-1"$prefix_selected[none]>$vbphrase[no_prefix_meta]</option>
							$prefix_options
						</select>
					</div>
				</div>
			</fieldset>
			</if>

			<fieldset class="fieldset">
				<legend>$vbphrase[find_threads_with]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<select name="replyless" style="width:150px">
						<option value="0" $replylessselected[0]>$vbphrase[at_least]</option>
						<option value="1" $replylessselected[1]>$vbphrase[at_most]</option>
					</select>
					<input type="text" class="bginput" style="font-size:11px" name="replylimit" size="3" value="$replylimit" /> $vbphrase[replies]
				</div>
			</fieldset>
			</if>

			<fieldset class="fieldset">
				<legend>$vbphrase[find_posts_from]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<select name="searchdate" style="width:150px">
						<option value="0" $searchdateselected[0]>$vbphrase[any_date]</option>
						<option value="lastvisit" $searchdateselected[lastvisit]>$vbphrase[your_last_visit]</option>
						<option value="1" $searchdateselected[1]>$vbphrase[yesterday]</option>
						<option value="7" $searchdateselected[7]>$vbphrase[a_week_ago]</option>
						<option value="14" $searchdateselected[14]><phrase 1="2">$vbphrase[x_weeks_ago]</phrase></option>
						<option value="30" $searchdateselected[30]>$vbphrase[a_month_ago]</option>
						<option value="90" $searchdateselected[90]><phrase 1="3">$vbphrase[x_months_ago]</phrase></option>
						<option value="180" $searchdateselected[180]><phrase 1="6">$vbphrase[x_months_ago]</phrase></option>
						<option value="365" $searchdateselected[365]>$vbphrase[a_year_ago]</option>
					</select>
					<select name="beforeafter">
						<option value="after" $beforeafterselected[after]>$vbphrase[and_newer]</option>
						<option value="before" $beforeafterselected[before]>$vbphrase[and_older]</option>
					</select>
				</div>
			</fieldset>

			<if condition="!$show['searchthread']">
			<fieldset class="fieldset">
				<legend>$vbphrase[sort_results_by]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<select name="sortby" style="width:150px">
						<option value="rank" $sortbyselected[rank]>$vbphrase[relevancy]</option>
						<option value="title" $sortbyselected[title]>$vbphrase[title]</option>
						<option value="replycount" $sortbyselected[replycount]>$vbphrase[number_of_replies]</option>
						<option value="views" $sortbyselected[views]>$vbphrase[number_of_views]</option>
						<option value="threadstart" $sortbyselected[threadstart]>$vbphrase[thread_start_date]</option>
						<option value="lastpost" $sortbyselected[lastpost]>$vbphrase[last_posting_date]</option>
						<option value="postusername" $sortbyselected[postusername]>$vbphrase[username]</option>
						<option value="forum" $sortbyselected[forum]>$vbphrase[forum]</option>
					</select>
					<select name="order">
						<option value="descending" $sortorderselected[descending]>$vbphrase[in_descending_order]</option>
						<option value="ascending" $sortorderselected[ascending]>$vbphrase[in_ascending_order]</option>
					</select>
				</div>
			</fieldset>

			<fieldset class="fieldset">
				<legend>$vbphrase[show_results_as]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<label for="rb_showposts_0"><input type="radio" name="showposts" value="0" id="rb_showposts_0" $showpostschecked[0] />$vbphrase[threads]</label>
					<label for="rb_showposts_1"><input type="radio" name="showposts" value="1" id="rb_showposts_1" $showpostschecked[1] />$vbphrase[posts]</label>
				</div>
			</fieldset>
			</if>
		</td>
		<if condition="!$show['searchthread']">
		<td width="50%">
			<if condition="$show['tag_option']">
			<fieldset class="fieldset">
				<legend>$vbphrase[search_by_tag]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<div>$vbphrase[tag]:</div>
					<div id="tag_add"><input type="text" class="bginput" name="tag" id="tag_add_input" size="35" value="$formdata[tag]" style="width:250px" /></div>

					<if condition="$show['popups']">
						<div id="tag_add_menu" class="vbmenu_popup" style="display:none"></div>
						<script type="text/javascript" src="clientscript/vbulletin_ajax_tagsugg.js?v=$vboptions[simpleversion]"></script>
						<script type="text/javascript">
						<!--
						vbmenu_register('tag_add', true);
						tag_add_comp = new vB_AJAX_TagSuggest('tag_add_comp', 'tag_add_input', 'tag_add');
						//-->
						</script>
					</if>
				</div>
			</fieldset>
			</if>

			<fieldset class="fieldset" style="margin:0px">
				<legend>$vbphrase[search_in_forums]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<div>
						<select style="width:100%" name="forumchoice[]" size="13" multiple="multiple">
							<option value="0" $noforumselected>$vbphrase[search_all_open_forums]</option>
							<option value="subscribed">$vbphrase[search_subscribed_forums]</option>
							$searchforumbits
						</select>
					</div>
					<div><label for="cb_childforums"><input type="checkbox" name="childforums" value="1" id="cb_childforums" $childforumschecked[1] />$vbphrase[also_search_in_child_forums]</label></div>
					<if condition="$show['cantsearchposts']">$vbphrase[you_can_only_search_thread_titles]</if>
				</div>
			</fieldset>
		</td>
		</if>
	</tr>
	</table>
	</div>

	</div>

	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" name="dosearch" value="$vbphrase[search_now]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" onclick="window.location='search.php?$session[sessionurl]type=advanced';" />
	</div>
	</td>
</tr>
</table>
<!-- dw -->
<if condition="$show['member']">
	<div align="center" style="margin-top:20px">
		<select name="saveprefs">
			<option value="1" selected="selected">$vbphrase[save_search_preferences]</option>
			<option value="0">$vbphrase[clear_search_preferences]</option>
		</select>
		<input type="submit" class="button" name="doprefs" value="$vbphrase[go]" id="save_searchprefs" />
		<input type="image" src="$vboptions[cleargifurl]" style="width: 1px; height: 1px;" />
		<script type="text/javascript" src="clientscript/vbulletin_ajax_search.js?v=$vboptions[simpleversion]"></script>
		<script type="text/javascript">

		<!--
		vB_AJAX_SearchPrefs_Init('save_searchprefs');
		//-->

		</script>
	</div>
</if>

</form>

<if condition="$tag_cloud">
	<div style="margin-top:20px">$tag_cloud</div>
</if>

$footer

</body>
</html>]]></template>
		<template name="search_results" templatetype="template" date="1247332373" username="ksatec.com.sa" version="3.8.4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[search_results]</title>
<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if>
</head>
<body>
$header
$navbar

$template_hook[search_results_top]

<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>

<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" />
<!-- up -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
<tr>
	<td class="tcat" colspan="$threadcolspan" style="font-weight:normal">

		<if condition="$show['inlinemod'] AND $search['showposts']"><input name="allbox" style="margin: 0px 0px 0px 5px; padding: 0px; float: $stylevar[right]; vertical-align: middle;" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all();" type="checkbox" /></if>
		<span class="smallfont" style="float:$stylevar[right]">
			<if condition="$show['results']">
			<phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase>
			<br />
			</if>
			<if condition="$show['generated']">
			<phrase 1="$searchtime" 2="$searchminutes">$vbphrase[search_took_x_seconds_gen_y_mins]</phrase>
			<else />
			<phrase 1="$searchtime">$vbphrase[search_took_x_seconds]</phrase>
			</if>
		</span>

		<a href="search.php?$session[sessionurl]$searchquery"><strong>$vbphrase[search]:</strong></a>
		<span class="smallfont">
		<if condition="$action == 'process'">
			<if condition="$displayWords">$vbphrase[key_words]: $displayWords</if>

			<if condition="$displayUsers">
				<if condition="$displayWords">; </if>
				<if condition="$starteronly">$vbphrase[threads_started_by]<else />$vbphrase[posts_made_by]</if>: $displayUsers
			</if>

			<if condition="$display_tag">
				<if condition="$displayWords OR $displayUsers">; </if>
				$vbphrase[tag]: $display_tag
			</if>

			<if condition="$display_prefixes">
				<if condition="$displayWords OR $displayUsers OR $display_tag">; </if>
				$vbphrase[prefix]: $display_prefixes <if condition="$show['no_prefix']">$vbphrase[or_no_prefix]</if>
			</if>
		<else /><if condition="$action == 'getnew'">
			$vbphrase[new_posts_nav]
		<else /><if condition="$action == 'getdaily'">
			$vbphrase[posts_from_last_day]
		</if></if></if>

		<if condition="$displayForums">
			; $vbphrase[forum]: $displayForums <if condition="$childforums">$vbphrase[and_child_forums]</if>
		</if>
		<if condition="$show['titleonlysearch']">
			<br /><strong><phrase 1="$titlesearchurl">$vbphrase[thread_titles_only_search]</phrase></strong>
		</if>
		</span>
	</td>
</tr>

<if condition="$displayCommon">
<tr>
	<td class="thead" style="font-weight: normal" colspan="$threadcolspan">$vbphrase[words_very_common]: $displayCommon</td>
</tr>
</if>

<if condition="$search['showposts']">

</table>
<!-- dw -->

$searchbits
<!-- up -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<else />
$announcebits
<tr>
	<if condition="$show['threadicons']">
		<td class="thead" colspan="2">&nbsp;</td>
	<else />
		<td class="thead">&nbsp;</td>
	</if>
	<td class="thead" width="75%">$vbphrase[thread] / $vbphrase[thread_starter]</td>
	<td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
	<td class="thead" align="center" nowrap="nowrap">$vbphrase[replies]</td>
	<td class="thead" align="center" nowrap="nowrap">$vbphrase[views]</td>
	<td class="thead" width="25%">$vbphrase[forum]</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>

</tr>

<if condition="!$show['results']">
	<!-- show no threads message -->
	<tr>
		<td class="alt1" colspan="$threadcolspan" align="center">
			<div style="padding: 16px">
				<strong>$vbphrase[no_unread_threads]</strong>
			</div>
		</td>
	</tr>
	<!-- end show no threads message -->
<else />
$searchbits
</if>

</if>

<tr>
	<td class="tfoot" colspan="$threadcolspan" align="$stylevar[right]">
		<if condition="$show['results']">
		<span class="smallfont"><phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase></span>
		<else />
		&nbsp;
		</if>
	</td>
</tr>
</table>
<!-- dw -->

<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
	<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
</if>

<if condition="$show['ajax_js'] AND $show['results'] AND !$search['showposts']">
	<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>

<if condition="$show['inlinemod']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
	<td align="$stylevar[right]">
		<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
		<strong>$vbphrase[moderation]</strong><br />
		<if condition="!$search['showposts']">
			<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]" />
			<script type="text/javascript">
			<!--
			inlineMod = new vB_Inline_Mod('inlineMod', 'thread', 'inlinemodform', '$vbphrase[go_x]');
			//-->
			</script>
		<else />
			<select name="do">
				<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>
				<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]" />
			<script type="text/javascript">
			<!--
			inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
			//-->
			</script>
		</if>
		</div>
	</td>
</tr>
</table>
</if>

</form>

<br />

$template_hook[search_results_bottom]

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
	<td width="100%">&nbsp;</td>
	<td>$forumjump</td>
</tr>
</table>

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

$footer

</body>
</html>]]></template>
	</templategroup>
	<templategroup name="مشاهدة الموضوع/Show Thread">
		<template name="SHOWTHREAD" templatetype="template" date="1249750601" username="ksatec.com.sa" version="3.8.4"><![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="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>&nbsp;

<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 -->

<!-- up -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<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 -->
<!-- dw -->
<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="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>&nbsp;

<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'] 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>

$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">
<!-- up -->
	<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 id="$editorid">$messagearea</div>

			<div style="margin-top:$stylevar[cellpadding]px" align="center">
				<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>

			


					<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>

		</td>
	</tr>
	</tbody>
	</table>
<!-- dw -->
	</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="$bookmarksites">
<!-- social bookmarking links -->
<!-- up -->
	<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>
<!-- dw -->
<br>
<!-- / social bookmarking links -->
</if>

<if condition="$show['tag_box']">
<!-- thread tags -->
<!-- up -->
	<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>
<!-- dw -->
<br>
	<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>

$similarthreads
<br>

<if condition="$show['activeusers']">
<!-- currently active users -->
<!-- up -->
	<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>
<!-- dw -->
<br>
<!-- end currently active users -->
</if>

$template_hook[showthread_after_activeusers]

<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 class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" 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>
	<if condition="$show['sendtofriend']">
	<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>
	<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['moderatethread']"><div><label for="ao_apr"><input type="radio" name="do" id="ao_apr" value="moderatethread" /><if condition="$show['approvethread']">$vbphrase[approve_thread]<else />$vbphrase[unapprove_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 class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" 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 class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" 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 class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" 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="top">
	<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['moderatethread']"><option value="moderatethread"><if condition="$show['approvethread']">$vbphrase[approve_thread]<else />$vbphrase[unapprove_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 -->

$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="1246799072" username="ksatec.com.sa" version="3.8.4"><![CDATA[<if condition="$show['editor_toolbar']">
<center>
<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['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>
	<if condition="is_browser('ie')">
        <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
		<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>
		<template name="showthread_similarthreads" templatetype="template" date="1246799119" username="ksatec.com.sa" version="3.8.4"><![CDATA[<!-- up -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" width="100%" colspan="5">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('similarthreads')"><img id="collapseimg_similarthreads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_similarthreads].gif" alt="" border="0" /></a>
			$vbphrase[similar_threads]<a name="similarthreads"></a>
		</td>
	</tr>
</thead>
<tbody id="collapseobj_similarthreads" style="$vbcollapse[collapseobj_similarthreads]">
<tr class="thead" align="center">
	<td class="thead" width="40%">$vbphrase[thread]</td>
	<td class="thead" width="15%" nowrap="nowrap">$vbphrase[thread_starter]</td>
	<td class="thead" width="20%">$vbphrase[forum]</td>
	<td class="thead" width="5%">$vbphrase[replies]</td>
	<td class="thead" width="20%">$vbphrase[last_post]</td>
</tr>
$similarthreadbits
</tbody>
</table>
<!-- dw -->]]></template>
	</templategroup>
	<templategroup name="التحكم بالموضوع/Thread Administration">
		<template name="threadadmin_mergethreads" templatetype="template" date="1247136821" username="ksatec.com.sa" version="3.8.4"><![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>
<!-- up -->

<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>
<!-- dw -->

</form>]]></template>
		<template name="threadadmin_moveposts" templatetype="template" date="1247136868" username="ksatec.com.sa" version="3.8.4"><![CDATA[<form action="inlinemod.php?do=domoveposts&amp;t=$threadid&amp;postids=$postids" method="post" name="vbform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="postids" value="$postids" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="do" value="domoveposts" />
<!-- up -->

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

			<fieldset class="fieldset">
				<legend>$vbphrase[move_posts_to_new_thread]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr valign="top">
					<td><input type="radio" name="type" value="0" checked="checked" /></td>
					<td class="fieldset">
						<div><label for="destforumid">$vbphrase[destination_forum]
							<select name="destforumid" id="destforumid" style="display:block">
								$moveforumbits
							</select>
						</label></div>
						<div style="margin-top:$stylevar[formspacer]px"><label for="title_textbox">$vbphrase[title]
							<input type="text" class="bginput" name="title" id="title_textbox" value="$post[title]" size="50" maxlength="$vboptions[titlemaxchars]" style="display:block" />
						</label></div>
					</td>
				</tr>
				</table>
			</fieldset>

			<fieldset class="fieldset">
				<legend>$vbphrase[move_posts_to_existing_thread]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr valign="top">
					<td><input type="radio" name="type" value="1" /></td>
					<td class="fieldset">
						<div>$vbphrase[move_posts_note]</div>
						<div style="margin-top:$stylevar[formspacer]px"><label for="mergethreadurl">$vbphrase[url_of_thread_to_be_merged]
							<input type="text" class="bginput" name="mergethreadurl" id="mergethreadurl" value="" size="50" style="display:block" />
						</label></div>
					</td>
				</tr>
				</table>
			</fieldset>

			<fieldset class="fieldset">
				<legend>$vbphrase[notes]</legend>
				<div class="fieldset" style="padding:$stylevar[formspacer]px">
					<div><phrase 1="$postcount" 2="$threadcount" 3="$forumcount">$vbphrase[moving_x_posts_from_y_threads_in_z_forums]</phrase></div>
					<div style="margin-top:$stylevar[formspacer]px">$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_posts]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>
<!-- dw -->

</form>]]></template>
		<template name="threadadmin_movethread" templatetype="template" date="1247136913" username="ksatec.com.sa" version="3.8.4"><![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" />
<!-- up -->

<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" />$vbphrase[leave_no_redirect]</label><br />
					<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" checked="checked" />$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>
<!-- dw -->

</form>]]></template>
		<template name="threadadmin_movethreads" templatetype="template" date="1247136947" username="ksatec.com.sa" version="3.8.4"><![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" />
<!-- up -->

<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" />$vbphrase[leave_no_redirect]</label><br />
			<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" checked="checked" />$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>
<!-- dw -->

</form>]]></template>
	</templategroup>
	<templategroup name="لوحة تحكم العضو">
		<template name="USERCP" templatetype="template" date="1247137350" username="ksatec.com.sa" version="3.8.4"><![CDATA[$template_hook[usercp_main_pos1]

<if condition="$show['pendingfriendrequests'] OR $show['privatemessages'] OR $show['newvisitormessages'] OR $show['groupattention'] OR $show['invitedgroups'] OR $show['picture_comment_block']">

<!-- up -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<thead>
<tr>
	<td colspan="2" class="tcat">$vbphrase[user_notifications]</td>
</tr>
</thead>

<if condition="$show['privatemessages']">
	<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_pms')"><img id="collapseimg_usercp_pms" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_usercp_pms].gif" alt="" border="0" /></a>
			<a href="private.php$session[sessionurl_q]">$vbphrase[new_private_messages]</a><span class="normal">: ($numpms)</span>
		</td>
	</tr>
	</tbody>
	<tbody id="collapseobj_usercp_pms" style="$vbcollapse[collapseobj_usercp_pms]">
		$messagelistbits
		<if condition="$show['more_pms_link']">
		<tr>
			<td class="alt2 smallfont" align="$stylevar[right]" colspan="2"><a href="private.php$session[sessionurl_q]">$vbphrase[view_all_unread_private_messages]</a></td>
		</tr>
		</if>
	</tbody>
</if>
<if condition="$show['newvisitormessages']">
	<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_visitormessages')"><img id="collapseimg_usercp_visitormessages" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_usercp_visitormessages].gif" alt="" border="0" /></a>
			<a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]&amp;tab=visitor_messaging#visitor_messaging">$vbphrase[new_visitor_messages]</a><span class="normal">: ($newvisitormessages)</span>
		</td>
	</tr>
	</tbody>
	<tbody id="collapseobj_usercp_visitormessages" style="$vbcollapse[collapseobj_usercp_visitormessages]">
		$newvisitormessagebits
	</tbody>
</if>
<if condition="$show['pendingfriendrequests']">
	<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_friends')"><img id="collapseimg_usercp_friends" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_usercp_friends].gif" alt="" border="0" /></a>
			<a href="profile.php?$session[sessionurl]do=buddylist">$vbphrase[pending_friend_requests]</a><span class="normal">: ($pendingfriendrequests)</span>
		</td>
	</tr>
	</tbody>
	<tbody id="collapseobj_usercp_friends" style="$vbcollapse[collapseobj_usercp_friends]">
	<tr>
		<td class="alt1" colspan="2">$pendingfriendstext</td>
	</tr>
	<tr>
		<td class="alt2 smallfont" align="$stylevar[right]" colspan="2"><a href="profile.php?$session[sessionurl]do=buddylist">$vbphrase[manage_your_friend_requests]</a></td>
	</tr>
	</tbody>
</if>
<if condition="$show['groupattention']">
	<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_groups')"><img id="collapseimg_usercp_groups" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_usercp_groups].gif" alt="" border="0" /></a>
			$vbphrase[the_following_groups_need_attention]<span class="normal">: ($groupsneedattention)</span>
		</td>
	</tr>
	</tbody>
	<tbody id="collapseobj_usercp_groups" style="$vbcollapse[collapseobj_usercp_groups]">
	<tr>
		<td class="alt1" colspan="2">$groupsawaitingtext</td>
	</tr>
	<tr>
		<td class="alt2 smallfont" align="$stylevar[right]" colspan="2"><a href="group.php?$session[sessionurl]do=requests">$vbphrase[view_group_requests]</a></td>
	</tr>
	</tbody>
</if>
<if condition="$show['invitedgroups']">
	<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_groupsinvited')"><img id="collapseimg_usercp_groupsinvited" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_usercp_groupsinvited].gif" alt="" border="0" /></a>
			$vbphrase[you_have_been_invited_to_the_following_groups]<span class="normal">: ($bbuserinfo[socgroupinvitecount])</span>
		</td>
	</tr>
	</tbody>
	<tbody id="collapseobj_usercp_groupsinvited" style="$vbcollapse[collapseobj_usercp_groupsinvited]">
	<tr>
		<td class="alt1" colspan="2">$invitetext</td>
	</tr>
	<tr>
		<td class="alt2 smallfont" align="$stylevar[right]" colspan="2"><a href="group.php?$session[sessionurl]do=invitations">$vbphrase[view_group_invitations]</a></td>
	</tr>
	</tbody>
</if>
<if condition="$show['picture_comment_block']">
	<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_picturecomments')"><img id="collapseimg_usercp_picturecomments" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_usercp_picturecomments].gif" alt="" border="0" /></a>
			$vbphrase[pending_picture_comments]
		</td>
	</tr>
	</tbody>
	<tbody id="collapseobj_usercp_picturecomments" style="$vbcollapse[collapseobj_usercp_picturecomments]">
	<if condition="$show['picture_comment_unread']">
	<tr>
		<td class="alt1" colspan="2">
			<a style="float:$stylevar[right]" class="smallfont" href="album.php?$session[sessionurl]do=unread">$vbphrase[view_unread_comments]</a>
			<phrase 1="$bbuserinfo[pcunreadcount]">$vbphrase[you_have_x_unread_picture_comments]</phrase>
		</td>
	</tr>
	</if>

	<if condition="$show['picture_comment_moderated']">
	<tr>
		<td class="alt2" colspan="2">
			<a style="float:$stylevar[right]" class="smallfont" href="album.php?$session[sessionurl]do=moderated">$vbphrase[view_comments_awaiting_approval]</a>
			<phrase 1="$bbuserinfo[pcmoderatedcount]">$vbphrase[you_have_x_picture_comments_awaiting_approval]</phrase>
		</td>
	</tr>
	</if>
	</tbody>
</if>
</table>
<!-- dw -->
<br />
</if>

<!-- up -->
$template_hook[usercp_main_pos2]

<!-- ############## SUBSCRIBED THREADS ##############  -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="$subscribedthreadscolspan">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_subthreads')"><img id="collapseimg_usercp_subthreads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_subthreads].gif" alt="" border="0" /></a>
			$vbphrase[new_subscribed_threads]<span class="normal">: ($numthreads)</span>
		</td>
	</tr>
</thead>
<tbody id="collapseobj_usercp_subthreads" style="$vbcollapse[collapseobj_usercp_subthreads]">
	<if condition="$show['threads']">
		<tr class="thead">

			<if condition="$show['threadicons']">
				<td class="thead" colspan="2">&nbsp;</td>
			<else />
				<td class="thead">&nbsp;</td>
			</if>

			<td class="thead" width="100%">$vbphrase[thread] / $vbphrase[thread_starter]</td>
			<td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
			<td class="thead" align="center">$vbphrase[replies]</td>
			<td class="thead" align="center">$vbphrase[views]</td>
		</tr>
		$threadbits
	<else />
		<tr>
			<td class="alt1" align="center" colspan="$subscribedthreadscolspan"><strong>$vbphrase[no_subscribed_threads_to_display]</strong></td>
		</tr>
	</if>
	<tr>
		<td align="$stylevar[right]" colspan="$subscribedthreadscolspan" class="tfoot">
		<span class="smallfont"><a href="subscription.php?$session[sessionurl]do=viewsubscription&amp;folderid=all">$vbphrase[view_all_subscribed_threads]</a></span>
		</td>
	</tr>
</tbody>
</table>
<!-- dw -->
<br />
<!-- ############## END SUBSCRIBED THREADS ##############  -->

$template_hook[usercp_main_pos3]

<if condition="$show['forums']">
<!-- up -->
<!-- ############## SUBSCRIBED FORUMS ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_forums')"><img id="collapseimg_usercp_forums" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_forums].gif" alt="" border="0" /></a>
			$vbphrase[subscribed_forums]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_usercp_forums" style="$vbcollapse[collapseobj_usercp_forums]">
	<tr align="center" valign="bottom">
		<td class="thead" width="2%">&nbsp;</td>
		<td class="thead" align="$stylevar[left]" width="80%">$vbphrase[forum]</td>
		<td class="thead">$vbphrase[last_post]</td>
		<td class="thead">$vbphrase[threads]</td>
		<td class="thead">$vbphrase[posts]</td>
		<if condition="$vboptions['showmoderatorcolumn']">
		<td class="thead" width="20%">$vbphrase[moderator]</td>
		</if>
	</tr>
	$forumbits
</tbody>
</table>
<!-- dw -->
<br />
<!-- ############## END SUBSCRIBED FORUMS ##############  -->
</if>

<if condition="$show['socialgroups']">
<!-- up -->
<!-- ############# SUBSCRIBED SOCIAL GROUPS ###############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<thead>
	<tr>
		<td class="tcat" colspan="<if condition="$show[pictureinfo]">6<else />5</if>">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_socialgroups')"><img id="collapseimg_usercp_socialgroups" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_socialgroups].gif" alt="" border="0" /></a>
			$vbphrase[subscribed_social_groups] <span class="normal">: ($numsocialgroups)</span>
		</td>
	</tr>
</thead>
<tbody id="collapseobj_usercp_socialgroups" style="$vbcollapse[collapseobj_usercp_socialgroups]">
	<tr>
		<td class="thead" width="100%">
			$vbphrase[group_name]
		</td>
		<td class="thead" align="center" colspan="2" nowrap="nowrap">
			$vbphrase[group_content]
		</td>
		<td class="thead" align="center" nowrap="nowrap">
			$vbphrase[last_post]
		</td>
	</tr>
		$grouplist
</tbody>
</table>
<!-- dw -->
<br />

<!-- ########### END SUBSCRIBED SOCIAL GROUPS #############  -->
</if>

<if condition="$show['discussions']">
<!-- up -->
<!-- ############## SUBSCRIBED DISCUSSIONS #############  -->
<table class="tborder discussion_list" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<thead>
	<tr>
		<td class="tcat" colspan="3">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_discussions')"><img id="collapseimg_usercp_discussions" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_discussions].gif" alt="" border="0" /></a>
			$vbphrase[new_subscribed_discussions] <span class="normal">: ($numdiscussions)</span>
		</td>
	</tr>
</thead>
<tbody id="collapseobj_usercp_discussions" style="$vbcollapse[collapseobj_usercp_discussions]">
<if condition="!$numdiscussions">
	<tr>
		<td class="alt1" align="center" colspan="3">
			<strong>$vbphrase[no_subscribed_discussions_to_display]</strong>
		</td>
	</tr>
<else />
	<tr class="block_title">
		<td class="thead" width="100%">
			<span style="float: $stylevar[left]">$vbphrase[discussion]</span>
			<span style="float:$stylevar[right]">$vbphrase[group_created]</span>
		</td>
		<td class="thead" align="center" nowrap="nowrap">
			$vbphrase[messages]
		</td>
		<td class="thead" align="center" nowrap="nowrap">
			$vbphrase[last_post]
		</td>
	</tr>
	$messagebits
</if>
	<tfoot>
		<tr>
			<td align="$stylevar[right]" colspan="3" class="tfoot">
				<span class="smallfont"><a href="groupsubscription.php?$session[sessionurl]">$vbphrase[view_all_subscribed_discussions]</a></span>
			</td>
		</tr>
	</tfoot>
</tbody>
</table>
<!-- dw -->
<br />
<!-- ############ END SUBSCRIBED DISCUSSIONS #############  -->
</if>

$template_hook[usercp_main_pos4]

<if condition="$show['infractions']">
<!-- up -->
<!-- ############## NEW INFRACTIONS ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="7">
			<span class="smallfont" style="float:$stylevar[right]">
				<phrase 1="$bbuserinfo[ipoints]">$vbphrase[x_points_total]</phrase>
				&nbsp; &nbsp;
				<a href="#top" onclick="return toggle_collapse('usercp_infraction')"><img id="collapseimg_usercp_infraction" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_infraction].gif" alt="" border="0" /></a>
			</span>
			$vbphrase[latest_infractions_received]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_usercp_infraction" style="$vbcollapse[collapseobj_usercp_infraction]">
	<tr>
		<td class="thead">&nbsp;</td>
		<td class="thead">$vbphrase[post]</td>
		<td class="thead">$vbphrase[date]</td>
		<td class="thead">$vbphrase[expires]</td>
		<td class="thead" nowrap="nowrap">$vbphrase[points]</td>
		<td class="thead">$vbphrase[reason]</td>
		<td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
	</tr>
	$infractionbits
</tbody>
</table>
<!-- dw -->
<br />
<!-- ############## END NEW INFRACTIONS ##############  -->
</if>

$template_hook[usercp_main_pos5]

<if condition="$show['reputation']">
<!-- up -->
<!-- ############## NEW REPUTATION ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="$reputationcolspan">
			<span class="smallfont" style="float:$stylevar[right]">
				<phrase 1="$bbuserinfo[reputation]">$vbphrase[x_points_total]</phrase>
				&nbsp; &nbsp;
				<a href="#top" onclick="return toggle_collapse('usercp_reputation')"><img id="collapseimg_usercp_reputation" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reputation].gif" alt="" border="0" /></a>
			</span>
			$vbphrase[latest_reputation_received]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_usercp_reputation" style="$vbcollapse[collapseobj_usercp_reputation]">
	<tr>
		<td class="thead">&nbsp;</td>
		<td class="thead">$vbphrase[thread]</td>
		<td class="thead">$vbphrase[date]</td>
		<if condition="$vboptions['showuserraters']">
		<td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
		</if>
		<td class="thead">$vbphrase[comment]</td>
	</tr>
	$reputationcommentbits
</tbody>
</table>
<!-- dw -->
<br />
<!-- ############## END NEW REPUTATION ##############  -->
</if>

$template_hook[usercp_main_pos6]

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
	<td width="100%">&nbsp;</td>
	<td align="$stylevar[right]">$forumjump</td>
</tr>
</table>]]></template>
	</templategroup>
	<templategroup name="رسائل الزوار">
		<template name="visitormessage_editor" templatetype="template" date="1247332821" username="ksatec.com.sa" version="3.8.4"><![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>
$header

$navbar

<if condition="$show['delete']">
<form action="visitormessage.php?do=deletemessage&amp;vmid=$messageinfo[vmid]" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="vmid" value="$messageinfo[vmid]" />
<input type="hidden" name="do" value="deletemessage" />
<input type="hidden" name="u" value="$userinfo[userid]" />
		<!-- up -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
	<td class="tcat">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('editpost_delete')"><img id="collapseimg_editpost_delete" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_editpost_delete].gif" alt="" border="0" /></a>
		$vbphrase[delete_message]
	</td>
</tr>
</tbody>
<tbody id="collapseobj_editpost_delete" style="$vbcollapse[collapseobj_editpost_delete]">
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">

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

			<fieldset class="fieldset">
				<legend>$vbphrase[deletion_options]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<div>
						<label for="rb_del_leave"><input type="radio" name="deletemessage" value="" id="rb_del_leave" tabindex="1" checked="checked" />$vbphrase[do_not_delete_message]</label>
					</div>
					<div>
						<label for="rb_del_soft"><input type="radio" name="deletemessage" value="soft" id="rb_del_soft" tabindex="1" />$vbphrase[delete_message]</label>
					</div>
					<if condition="$show['physicaldeleteoption']">
					<div>
						<label for="rb_del_hard"><input type="radio" name="deletemessage" value="remove" id="rb_del_hard" tabindex="1" />$vbphrase[physically_remove_message]</label>
					</div>
					</if>
				</div>
			</fieldset>

			<div class="smallfont">
				<div>$vbphrase[reason_for_deletion]:</div>
				<input type="text" class="bginput" name="reason" size="50" tabindex="1" title="$vbphrase[optional]" />
			</div>

			</div>
		</div>

		<div style="margin-top:$stylevar[cellpadding]px">
			<input type="submit" class="button" value="$vbphrase[delete]" tabindex="1" accesskey="d" />
		</div>

		</td>
	</tr>
</tbody>
</table>
		<!-- dw -->

</form>
<br />
</if>

$postpreview

<form action="visitormessage.php?do=message" name="vbform" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>
		<!-- up -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<if condition="$show['edit']"><span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[user]</strong>: <a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[username]</a></span>
		$vbphrase[edit_message]$vbphrase[edit_visitor_message]
		<else />
		$vbphrase[post_a_message]$vbphrase[post_new_visitor_message]
		</if>
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">

		$usernamecode

		$human_verify

		<!-- message area -->
		<div class="smallfont">$vbphrase[message]:</div>
		$messagearea
		<!-- / message area -->

		</div>
	</div>

	<div style="margin-top:$stylevar[cellpadding]px">
		<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="vmid" value="$messageinfo[vmid]" />
		<input type="hidden" name="posthash" value="$posthash" />
		<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
		<input type="hidden" name="u" value="$userinfo[userid]" />
		<if condition="$show['edit']">
			<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[save_changes]" accesskey="s" tabindex="1" />
			<input type="submit" class="button" name="preview" value="$vbphrase[preview_message]" accesskey="r" tabindex="1" />
		<else />
			<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[post_message]" accesskey="s" tabindex="1" />
			<input type="submit" class="button" name="preview" value="$vbphrase[preview_message]" accesskey="r" tabindex="1" />
		</if>
	</div>
	</td>
</tr>
</table>
		<!-- dw -->

<if condition="$show['additional_options']">
		<!-- up -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>
			$vbphrase[additional_options]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]">
	<tr valign="top">
		<td class="panelsurround" align="center">
		<div class="panel">
			<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">

				<if condition="$show['misc_options']">
				<fieldset class="fieldset">
					<legend>$vbphrase[miscellaneous_options]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
						$disablesmiliesoption
					</div>
				</fieldset>
				</if>
			</div>
		</div>

		<div style="margin-top:$stylevar[cellpadding]px">
			<if condition="$show['edit']">
				<input type="submit" class="button" name="sbutton" id="{$editorid}_save_additional" value="$vbphrase[save_changes]" accesskey="s" tabindex="1" />
				<input type="submit" class="button" name="preview" value="$vbphrase[preview_message]" accesskey="r" tabindex="1" />
			<else />
				<input type="submit" class="button" name="sbutton" id="{$editorid}_save_additional" value="$vbphrase[post_message]" accesskey="s" tabindex="1" />
				<input type="submit" class="button" name="preview" value="$vbphrase[preview_message]" accesskey="r" tabindex="1" />
			</if>
		</div>
		</td>
	</tr>
</tbody>
</table>
		<!-- dw -->

</if>

</form>

<if condition="$messagebits">
<br />
		<!-- up -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newmessage_dialog')"><img id="collapseimg_newmessage_dialog" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_nemessage_dialog].gif" alt="" border="0" /></a>
					$vbphrase[message_dialog]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_newmessage_dialog" style="$vbcollapse[collapseobj_newmessage_dialog]">
	<tr valign="top">
		<td class="panelsurround">
		<div class="panel">

			$messagebits

		</div>
		</td>
	</tr>
</tbody>
</table>
		<!-- dw -->

</if>

<br />

$footer

</body>
</html>]]></template>
	</templategroup>
	<templategroup name="المتواجدون الآن">
		<template name="WHOSONLINE" templatetype="template" date="1247138169" username="ksatec.com.sa" version="3.8.4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<if condition="$show['refresh']">
	<if condition="is_browser('mozilla')">
		<script type="text/javascript">
		<!--
			var myvar = "";
			var timeout = $refreshtime;
	
			function exec_refresh()
			{
				var timerID = setTimeout("exec_refresh();", 100);
				if (timeout > 0)
				{
					timeout -= 1;
				}
				else
				{
					clearTimeout(timerID);
					window.location="online.php?$session[sessionurl_js]order=$sortorder&sort=$sortfield&pp=$perpage&page=$pagenumber$refreshargs_js";
				}
			}
			exec_refresh();
		//-->
		</script>
	<else />
		<meta http-equiv="refresh" content="$vboptions[WOLrefresh];url=online.php?$session[sessionurl]order=$sortorder&amp;sort=$sortfield&amp;pp=$perpage&amp;page=$pagenumber$refreshargs" />
	</if>
</if>
<title>$vboptions[bbtitle] - $vbphrase[whos_online]</title>
</head>
<body>
$header
$navbar

<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>

<!-- up -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="woltable">
<tr>
	<td class="tcat" colspan="$colspan"><div class="smallfont">
		<span style="float:$stylevar[right]">
			<a href="$reloadurl"><strong>$vbphrase[reload_this_page]</strong></a>
		</span>
		<strong><phrase 1="$numbervisible" 2="$numberguests">$vbphrase[x_members_and_y_guests]</phrase></strong><br /><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase>
	</div></td>
</tr>
<tr>
	<td class="thead">
		<span style="float:$stylevar[right]">
			<a href="$sorturl<if condition="!$show['sorturlnoargs']">&amp;</if>order=desc&amp;sort=time&amp;pp=$perpage&amp;page=$pagenumber">$vbphrase[last_activity]</a> $sortarrow[time]
		</span>
		<a href="$sorturl<if condition="!$show['sorturlnoargs']">&amp;</if>order=asc&amp;sort=username&amp;pp=$perpage&amp;page=$pagenumber">$vbphrase[username]</a> $sortarrow[username]
	</td>
	<td class="thead"><a href="$sorturl<if condition="!$show['sorturlnoargs']">&amp;</if>order=asc&amp;sort=location&amp;pp=$perpage&amp;page=$pagenumber">$vbphrase[location_temp]</a> $sortarrow[location]</td>
	<if condition="$show['ip']"><td class="thead">$vbphrase[ip_address]</td></if>
	<if condition="$vboptions['showimicons']"><td class="thead" align="center">$vbphrase[instant_messaging]</td></if>
</tr>
$onlinebits
</table>

<if condition="$show['ajax_resolve']">
	<script type="text/javascript" src="clientscript/vbulletin_ajax_wolresolve.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	vB_AJAX_WolResolve_Init('woltable');
	//-->
	</script>
</if>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="thead" align="center">

		<form action="online.php" method="get">
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="sortfield" value="$sortfield" />
		<input type="hidden" name="sortorder" value="$sortorder" />
		<div class="fieldset" style="margin:0px">

			<if condition="$vboptions['WOLguests']">
				$vbphrase[display]:
				<select name="who">
					<option value="all" $whoselected[0]>$vbphrase[all]</option>
					<option value="members" $whoselected[1]>$vbphrase[members]</option>
					<option value="guests" $whoselected[2]>$vbphrase[guests]</option>
					<if condition="$vboptions['enablespiders']">
						<option value="spiders" $whoselected[3]>$vbphrase[search_bots]</option>
					</if>
				</select>
				&nbsp; &nbsp;
			</if>

			<if condition="$show['ip']">
				$vbphrase[user_agent]:
				<select name="ua">
					<option value="1" $uaselected[1]>$vbphrase[yes]</option>
					<option value="0" $uaselected[0]>$vbphrase[no]</option>
				</select>
				&nbsp; &nbsp;
			</if>

			$vbphrase[per_page]:
			<input type="text" class="bginput" style="font-size:11px" name="pp" value="$perpage" size="2" />
			&nbsp; &nbsp;



			<input type="submit" class="button" value="$vbphrase[display]" accesskey="s" />

		</div>
		</form>

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

<!-- dw -->

<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
	<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>

<br />

<!-- icons and forum jump -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
	<td width="100%">
		<table cellpadding="2" cellspacing="0" border="0">
		<col align="center"></col>
		<tr>
			<td><strong>+</strong></td>
			<td class="smallfont">&nbsp; $vbphrase[user_is_on_your_contact_list]</td>
		</tr>
		<if condition="$show['hidden']">
		<tr>
			<td><strong>*</strong></td>
			<td class="smallfont">&nbsp; $vbphrase[user_is_invisible_to_others]</td>
		</tr>
		</if>
		<if condition="$show['badlocation']">
			<tr>
				<td><img src="$stylevar[imgdir_statusicon]/wol_lockedout.gif" alt="$vbphrase[viewing_forum_closed]" /></td>
				<td class="smallfont">&nbsp; $vbphrase[viewing_forum_closed]</td>
			</tr>
			<tr>
				<td><img src="$stylevar[imgdir_statusicon]/wol_nopermission.gif" alt="$vbphrase[viewing_no_permission_message]" /></td>
				<td class="smallfont">&nbsp; $vbphrase[viewing_no_permission_message]</td>
			</tr>
			<tr>
				<td><img src="$stylevar[imgdir_statusicon]/wol_error.gif" alt="$vbphrase[viewing_error_message]" /></td>
				<td class="smallfont">&nbsp; $vbphrase[viewing_error_message]</td>
			</tr>
		</if>
		</table>
	</td>
	<td>
		$forumjump
	</td>
</tr>
</table>
<!-- / icons and forum jump -->

$footer

</body>
</html>]]></template>
	</templategroup>
	<templategroup name="Ungrouped Templates">
		<template name="editpost" templatetype="template" date="1246797193" username="ksatec.com.sa" version="3.8.4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[edit_post]</title>
</head>
<body$onload>
$header
$navbar

<if condition="$show['deletepostoption']">
<form action="editpost.php?do=deletepost&amp;p=$postid" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="p" value="$postid" />
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="do" value="deletepost" />
<!-- border top -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('editpost_delete')"><img id="collapseimg_editpost_delete" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_editpost_delete].gif" alt="" border="0" /></a>
		$vbphrase[delete_this_message]
	</td>
</tr>
<tbody id="collapseobj_editpost_delete" style="$vbcollapse[collapseobj_editpost_delete]">
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth]" align="$stylevar[left]">

			<div class="fieldset">
				<div>$vbphrase[delete_message_check_appropriate_option]</div>
				<if condition="$show['firstpostnote']">
					<div>$vbphrase[deleting_message_deletion_of_thread]</div>
				</if>
			</div>

			<fieldset class="fieldset">
				<legend>$vbphrase[deletion_options]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<div>
						<label for="rb_del_leave"><input type="radio" name="deletepost" value="" id="rb_del_leave" tabindex="1" checked="checked" />$vbphrase[do_not_delete_message]</label>
					</div>
					<div>
						<label for="rb_del_soft"><input type="radio" name="deletepost" value="delete" id="rb_del_soft" tabindex="1" />$vbphrase[delete_message]</label>
						<if condition="$show['physicaldeleteoption'] AND $show['keepattachmentsoption']">(<label for="cb_keepattachments"><input type="checkbox" name="keepattachments" value="1" id="cb_keepattachments" tabindex="1" />$vbphrase[keep_attachments]</label>)</if>
					</div>
					<if condition="$show['physicaldeleteoption']">
					<div>
						<label for="rb_del_hard"><input type="radio" name="deletepost" value="remove" id="rb_del_hard" tabindex="1" />$vbphrase[physically_remove_message]</label>
					</div>
					</if>
				</div>
			</fieldset>

			<div class="smallfont">
				<div>$vbphrase[reason_for_deletion]:</div>
				<input type="text" class="bginput" name="reason" size="50" tabindex="1" title="$vbphrase[optional]" />
			</div>

			</div>
		</div>

		<div style="margin-top:$stylevar[cellpadding]px">
			<input type="submit" class="button" value="$vbphrase[delete_this_message]" tabindex="1" accesskey="d" />
		</div>

		</td>
	</tr>
</tbody>
</table>
<!-- border buttom -->
</form>
<br />
</if>

$postpreview

<form name="vbform" action="editpost.php?do=updatepost&amp;p=$postid" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>
<!-- border top -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[thread]</strong>: $threadinfo[prefix_plain_html] <a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]">$threadinfo[title]</a></span>
		$vbphrase[edit_post]
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">

		$usernamecode

		<!-- edit reason field -->
		<div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
			<div>$vbphrase[reason_for_editing]:</div>
			<div><input type="text" class="bginput" name="reason" value="$newpost[reason]" size="50" maxlength="200" tabindex="1" title="$vbphrase[optional]" /></div>
		</div>
		<!-- / edit reason field -->

		<!-- subject field -->
		<table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px">
		<tr>
			<td class="smallfont" colspan="3">$vbphrase[title]:</td>
		</tr>
		<tr>
			<td>
				<if condition="$prefix_options">
					<select name="prefixid" class="bginput">
						<if condition="$show['empty_prefix_option']"><option value="">$vbphrase[no_prefix_meta]</option></if>
						$prefix_options
					</select>
				</if>
				<input type="text" class="bginput" name="title" value="$title" size="50" maxlength="$vboptions[titlemaxchars]" tabindex="1" title="$vbphrase[optional]" />
			</td>
			<td>&nbsp;&nbsp;</td>
			<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
		</tr>
		</table>
		<!-- / subject field -->

		<!-- message area -->
		<div class="smallfont"><phrase 1="member.php?$session[sessionurl]u=$postinfo[userid]" 2="$postinfo[username]" 3="$postinfo[postdate]" 4="$postinfo[posttime]">$vbphrase[message_by_x_on_y_at_z]</phrase>:</div>
		$messagearea
		<!-- / message area -->

		$posticons

		</div>
	</div>

	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="updatepost" />
		<input type="hidden" name="p" value="$postid" />
		<input type="hidden" name="posthash" value="$posthash" />
		<input type="hidden" name="poststarttime" value="$poststarttime" />
		<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[save_changes]" accesskey="s" tabindex="1" />
		<input type="submit" class="button" name="preview" value="$vbphrase[preview_changes]" accesskey="r" tabindex="1" />
	</div>

	</td>
</tr>
</table>
<!-- border buttom -->
<br />
<!-- border top -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>
		$vbphrase[additional_options]
	</td>
</tr>
<tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]">
	<tr valign="top">
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth]" align="$stylevar[left]">

			<if condition="$show['podcasturl']">
				<!-- podcast stuff -->
				<fieldset class="fieldset">
					<legend>$vbphrase[podcast_options]</legend>

					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					<tr>
						<td class="smallfont">$vbphrase[podcast_url]:</td>
						<td class="smallfont">&nbsp;$vbphrase[filesize_bytes]:</td>
					</tr>
					<tr>
						<td><input type="text" class="bginput" name="podcasturl" value="$podcasturl" size="50" maxlength="255" tabindex="1" title="$vbphrase[podcast_url]" /></td>
						<td>&nbsp;<input type="text" class="bginput" name="podcastsize" value="$podcastsize" size="10" tabindex="1" title="$vbphrase[podcast_size]" /></td>
					</tr>
					<tr>
						<td class="smallfont">$vbphrase[subtitle]:</td>
						<td class="smallfont">&nbsp;$vbphrase[explicit]:</td>
					</tr>
					<tr>
						<td><input type="text" class="bginput" name="podcastsubtitle" value="$podcastsubtitle" size="50" maxlength="255" tabindex="1" title="$vbphrase[subtitle]" /></td>
						<td><input type="checkbox" name="podcastexplicit" value="1" tabindex="1" $explicitchecked title="$vbphrase[explicit]" /></td>
					</tr>
					<tr>
						<td class="smallfont">$vbphrase[keywords]:</td>
						<td class="smallfont">$vbphrase[author]:</td>
					</tr>
					<tr>
						<td><input type="text" class="bginput" name="podcastkeywords" value="$podcastkeywords" size="50" maxlength="255" tabindex="1" title="$vbphrase[keywords]" /></td>
						<td><input type="text" class="bginput" name="podcastauthor" value="$podcastauthor" size="25" maxlength="255" tabindex="1" title="$vbphrase[author]" /></td>
					</tr>
					</table>
				</fieldset>
				<!-- / podcast stuff -->
				</if>

				<if condition="$show['misc_options']">
				<fieldset class="fieldset">
					<legend>$vbphrase[miscellaneous_options]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<if condition="$bbuserinfo['signature'] != ''"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if>
						<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
						$disablesmiliesoption
					</div>
				</fieldset>
				</if>

				$attachmentoption

				<if condition="$show['member']">
				<fieldset class="fieldset">
					<legend>$vbphrase[thread_subscription]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					<tr>
						<td>$vbphrase[notification_type]:<br /><select name="emailupdate" tabindex="1">
							<option value="9999" $emailchecked[9999]>$vbphrase[do_not_subscribe]</option>
							<option value="0" $emailchecked[0]>$vbphrase[no_email_notification]</option>
							<option value="1" $emailchecked[1]>$vbphrase[instant_email_notification]</option>
							<option value="2" $emailchecked[2]>$vbphrase[daily_email_notification]</option>
							<option value="3" $emailchecked[3]>$vbphrase[weekly_email_notification]</option>
						</select></td>
						<if condition="$show['subscriptionfolders']"><td>$vbphrase[folder]:<br /><select name="folderid" tabindex="1">$folderbits</select></td></if>
					</tr>
					</table>
				</fieldset>
				</if>

				$threadmanagement

				</div>
			</div>

			<div style="margin-top:$stylevar[cellpadding]px">
				<input type="submit" class="button" name="sbutton" value="$vbphrase[save_changes]" accesskey="s" tabindex="1" />
				<input type="submit" class="button" name="preview" value="$vbphrase[preview_changes]" accesskey="r" tabindex="1" />
			</div>
		</td>
	</tr>
</tbody>
</table>
<!-- border buttom -->
</form>

<br />

$forumrules

$footer

</body>
</html>]]></template>
		<template name="footer" templatetype="template" date="1246796205" username="ksatec.com.sa" version="3.8.4"><![CDATA[$ad_location[ad_footer_start]

<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

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

<form action="$vboptions[forumhome].php" method="get" style="clear:$stylevar[left]">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
	<if condition="$show['quickchooser']">
		<td class="tfoot">
			<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="tfoot">
			<select name="langid" onchange="switch_id(this, 'lang')">
				<optgroup label="$vbphrase[quick_language_chooser]">
					$languagechooserbits
				</optgroup>
			</select>
		</td>
	</if>
	<td class="tfoot" align="$stylevar[right]" width="100%">
		<div class="smallfont">
			<strong>
				<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow" accesskey="9">$vbphrase[contact_us]</a> -</if>
				<if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
				<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
				<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
				<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
				$template_hook[footer_links]
				<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
				<if condition="$vboptions[tosurl]"><a href="$vboptions[tosurl]">$vbphrase[terms_of_service]</a> -</if>
				<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
			</strong>
		</div>
	</td>
</tr>
</table>

<br />

<div align="center">
	<div class="smallfont" align="center">
	<!-- Do not remove this copyright notice -->
	$vbphrase[powered_by_vbulletin]
	<!-- Do not remove this copyright notice -->
	</div>

	<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 -->

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

</form>

$ad_location[ad_footer_end]

<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>
<!-- footer -->
<script type="text/javascript">
<!--
	// Main vBulletin Javascript Initialization
	vBulletin_init();
//-->
</script>]]></template>
		<template name="forumjump" templatetype="template" date="1246797710" username="ksatec.com.sa" version="3.8.4"><![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="header" templatetype="template" date="1312973674" username="علي الموسوي" version="3.8.7"><![CDATA[<!-- logo -->
<!-- header -->
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
$ad_location[ad_header_end]]]></template>
		<template name="headinclude" templatetype="template" date="1250454096" username="ksatec.com.sa" version="3.8.4"><![CDATA[<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="ksatec.com.sa/rmddaan2/images/pngfix.js"></script>
<!-- هاك عام ـ تصحيح عرض الصور من نوع png الشفافة في المتصفحات القديمة -->

<!-- إيقاف رسائل خطأ جافا -->
<script language="JavaScript">
<!--
//منتديات لوشا التطويرية Www.ksatec.com.sa
function stopError() {
return true;
}
window.onerror = stopError;
// -->
</script>
<!-- نهاية إيقاف رسائل خطأ جافا -->]]></template>
		<template name="reportitem" templatetype="template" date="1247332216" username="ksatec.com.sa" version="3.8.4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $forminfo[reportphrase]</title>
</head>
<body>
$header
$navbar

<form action="$forminfo[file].php?do=$forminfo[action]" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<!-- up -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<span class="smallfont" style="float:$stylevar[right]"><strong>$forminfo[reporttype]</strong>: <a href="$forminfo[itemlink]">$forminfo[itemname]</a></span>
		$forminfo[reportphrase]
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">

		$usernamecode

		<!-- report field -->
		<div class="fieldset">
			<div class="smallfont">$vbphrase[message]:</div>
			<textarea name="reason" rows="6" cols="$textareacols"></textarea>
		</div>
		<!-- / report field -->

		<div class="fieldset">
			$forminfo[description]
		</div>

		</div>
	</div>

	<div style="margin-top:$stylevar[cellpadding]px">
		$forminfo[hiddenfields]
		<input type="hidden" name="do" value="$forminfo[action]" />
		<input type="hidden" name="url" value="$url" />
		<input type="submit" class="button" value="$vbphrase[send_report]" accesskey="s" />
	</div>
	</td>
</tr>
</table>
<!-- dw -->

</form>

$footer

</body>
</html>]]></template>
		<template name="STANDARD_ERROR" templatetype="template" date="1247332560" username="ksatec.com.sa" version="3.8.4"><![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
<if condition="$navbar">
$navbar
<else />
<br /><br /><br />
</if>
<table align="center" style="width: 70%" cellspacing="0" cellpadding="0">
	<tr>
		<td>
		<!-- up -->

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

		<if condition="$show['permission_error']">
			<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]" />

			<!-- permission error message - user not logged in -->


			<div class="smallfont">$vbphrase[not_logged_no_permission]</div>

			<ol>
				<li class="smallfont">$vbphrase[not_logged_in_fill_in_form]</li>
				<li class="smallfont">$vbphrase[may_not_have_sufficient_privileges]</li>
				<li class="smallfont">$vbphrase[administrator_may_disabled_account]</li>
			</ol>

			<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" tabindex="1" checked />$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>

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

			<!-- / permission error message - user not logged in -->
		<else />
			<!-- main error message -->


			<div style="margin: 10px">$errormessage</div>


			<!-- / main error message -->
		</if>

		</div>
	</div>
	<!--
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[go_back]" accesskey="s" onclick="history.back(1); return false" />
	</div>
	-->
	</td>
</tr>
</table>
<!-- dw -->

</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>
		<template name="STANDARD_ERROR_LITE" templatetype="template" date="1247332625" username="ksatec.com.sa" version="3.8.4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<meta name="robots" content="noindex,follow" />
$headinclude
<title>$pagetitle</title>
$headinsert
</head>
<body>

<table align="center" style="width: 70%" cellspacing="0" cellpadding="0">
	<tr>
		<td>
		<!-- up -->

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

		<if condition="$show['permission_error']">
			<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]" />

			<!-- permission error message - user not logged in -->


			<div class="smallfont">$vbphrase[not_logged_no_permission]</div>

			<ol>
				<li class="smallfont">$vbphrase[not_logged_in_fill_in_form]</li>
				<li class="smallfont">$vbphrase[may_not_have_sufficient_privileges]</li>
				<li class="smallfont">$vbphrase[administrator_may_disabled_account]</li>
			</ol>

			<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="35" accesskey="u" tabindex="1" /></td>
				</tr>
				<tr>
					<td>$vbphrase[password]:<br /><input type="password" class="bginput" name="vb_login_password" size="35" 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" tabindex="1" checked />$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>

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

			<!-- / permission error message - user not logged in -->
		<else />
			<!-- main error message -->


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


			<!-- / main error message -->
		</if>

		</div>
	</div>
	</td>
</tr>
</table>
<!-- dw -->

</td>
	</tr>

</table>
</body>
</html>]]></template>
		<template name="STANDARD_ERROR_LOGIN" templatetype="template" date="1247332667" username="ksatec.com.sa" version="3.8.4"><![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 align="center" style="width: 70%" cellspacing="0" cellpadding="0">
	<tr>
		<td>
		<!-- up -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" 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" tabindex="1" checked />$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>

<!-- dw -->

</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>
		<template name="STANDARD_REDIRECT" templatetype="template" date="1247136717" username="ksatec.com.sa" version="3.8.4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$pagetitle</title>
</head>
<body>

<br />
<br />
<br />
<br />

<table cellpadding="0" cellspacing="0" border="0" width="70%" align="center">
<tr><td>
<form action="$formfile" method="post" name="postvarform">
<!-- up -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[redirecting]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">

		<blockquote>
			<p>&nbsp;</p>
			<p><strong>$errormessage</strong></p>
			<if condition="$postvars">
				$postvars
				<p id="click_here_p" class="smallfont">$vbphrase[click_the_following_button]</p>
				<input type="submit" class="button" id="proceed_button" value="$vbphrase[proceed]" onclick="proceed_click()" accesskey="s" />
			<else />
				<p class="smallfont">
<img src="$stylevar[imgdir_misc]/wait.gif" border="0"><br><br>
<a href="$url">$vbphrase[click_if_browser_does_not_redirect]</a></p>
				<div>&nbsp;</div>
			</if>
		</blockquote>

	</div>
	</td>
</tr>
</table>
<!-- dw -->
</form>
</td></tr></table>
<if condition="$postvars">

<!-- redirect with POST -->

<script type="text/javascript">
<!--
fetch_object('click_here_p').style.display = 'none';

myvar = "";
timeout = 18;
timerID = 0;

function proceed_click()
{
	clearTimeout(timerID);
	return true;
}

function submit_form()
{
	window.status = "Redirecting" + myvar;
	myvar = myvar + " .";
	timerID = setTimeout("submit_form();", 100);
	if (timeout > 0)
	{
		timeout -= 1;
	}
	else
	{
		clearTimeout(timerID);
		window.status = "";
		document.forms.postvarform.submit();
		fetch_object('proceed_button').disabled = true;
	}
}

submit_form();
//-->
</script>

<!-- / redirect with POST -->

<else />

<noscript>
<meta http-equiv="Refresh" content="2; URL=$url" />
</noscript>

<script type="text/javascript">
<!--
function exec_refresh()
{
	window.status = "$vbphrase[redirecting]" + myvar;
	myvar = myvar + " .";
	var timerID = setTimeout("exec_refresh();", 100);
	if (timeout > 0)
	{
		timeout -= 1;
	}
	else
	{
		clearTimeout(timerID);
		window.status = "";
		window.location = "$js_url";
	}
}

var myvar = "";
var timeout = 20;
exec_refresh();
//-->
</script>

</if>

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