أخى انا لما حطيت كود التومبيلات ظهر تانى
هذا هو الكود
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl" lang="ar">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256" />
<meta name="generator" content="vBulletin 3.8.6" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<!-- CSS Stylesheet -->
<style type="text/css" id="vbulletin_css">
/**
* vBulletin 3.8.6 CSS
* Style: 'تصميم شباب مصر متعدد الالوان | تصميم شباب مصر'; Style ID: 104
*/
body
{
background: #e4f6fa;
color: #0f638d;
font: bold 9pt tahoma, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
margin: 0px 0px 0px 0px;
padding: 0px;
min-width:1024px;
}
a:link, body_alink
{
color: #0f638d;
text-decoration: none;
}
a:visited, body_avisited
{
color: #0f638d;
text-decoration: none;
}
a:hover, a:active, body_ahover
{
color: #b41d22;
text-decoration: none;
}
.page
{
background: #f0f0f0;
color: #0f638d;
}
td, th, p, li
{
font: 9pt tahoma, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.tborder
{
background: #ddd;
color: #000000;
border: 1px solid #ccc;
}
.tcat
{
background: #0f638d url(http://www.devnia.com/vb3/devnia-hams/td.png) repeat-x top;
color: #f0f0f0;
font: bold 9pt tahoma, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.tcat a:link, .tcat_alink
{
color: #f0f0f0;
text-decoration: none;
}
.tcat a:visited, .tcat_avisited
{
color: #f0f0f0;
text-decoration: none;
}
.tcat a:hover, .tcat a:active, .tcat_ahover
{
color: #fff;
text-decoration: none;
}
.thead
{
background: #0f638d url(http://www.devnia.com/vb3/devnia-hams/td2.png) repeat-x top;
color: #f0f0f0;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.thead a:link, .thead_alink
{
color: #f0f0f0;
}
.thead a:visited, .thead_avisited
{
color: #f0f0f0;
}
.thead a:hover, .thead a:active, .thead_ahover
{
color: #CC0000;
}
.tfoot
{
background: #0f638d url(http://www.devnia.com/vb3/devnia-hams/td.png) repeat-x top;
color: #f0f0f0;
}
.tfoot a:link, .tfoot_alink
{
color: #f0f0f0;
}
.tfoot a:visited, .tfoot_avisited
{
color: #f0f0f0;
}
.tfoot a:hover, .tfoot a:active, .tfoot_ahover
{
color: #b41d22;
}
.alt1, .alt1Active
{
background: #f0f0f0;
color: #0f638d;
font: bold 16px arial;
border-top: 1px solid #fff;
border-right: 1px solid #fff;
}
.alt1 a:link, .alt1_alink, .alt1Active a:link, .alt1Active_alink
{
color: #0f638d;
}
.alt1 a:visited, .alt1_avisited, .alt1Active a:visited, .alt1Active_avisited
{
color: #0f638d;
}
.alt1 a:hover, .alt1 a:active, .alt1_ahover, .alt1Active a:hover, .alt1Active a:active, .alt1Active_ahover
{
color: #b41d22;
}
.alt2, .alt2Active
{
background: #f0f0f0;
color: #0f638d;
font: bold 16px arial;
border-top: 1px solid #fff;
border-right: 1px solid #fff;
}
.alt2 a:link, .alt2_alink, .alt2Active a:link, .alt2Active_alink
{
color: #0f638d;
}
.alt2 a:visited, .alt2_avisited, .alt2Active a:visited, .alt2Active_avisited
{
color: #0f638d;
}
.alt2 a:hover, .alt2 a:active, .alt2_ahover, .alt2Active a:hover, .alt2Active a:active, .alt2Active_ahover
{
color: #b41d22;
}
.inlinemod
{
background: #FFFFCC;
color: #061700;
}
.wysiwyg
{
background: #f0f0f0;
color: #0f638d;
font: 8pt tahoma, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
margin: 5px 10px 10px 10px;
padding: 0px;
}
.wysiwyg a:link, .wysiwyg_alink
{
color: #0f638d;
}
.wysiwyg a:visited, .wysiwyg_avisited
{
color: #0f638d;
}
.wysiwyg a:hover, .wysiwyg a:active, .wysiwyg_ahover
{
color: #b41d22;
}
textarea, .bginput
{
color: #0f638d;
font: 9pt tahoma, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.bginput option, .bginput optgroup
{
font-size: 9pt;
font-family: tahoma, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.button
{
color: #0f638d;
font: 11px tahoma, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
select
{
color: #0f638d;
font: 11px tahoma, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
option, optgroup
{
font-size: 11px;
font-family: tahoma, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.smallfont
{
color: #0f638d;
font: 11px tahoma, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.time
{
color: #0f638d;
}
.navbar
{
font: 11px tahoma, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.highlight
{
color: #FF0000;
font-weight: bold;
}
.fjsel
{
background: #3E5C92;
color: #E0E0F6;
}
.fjdpth0
{
background: #F7F7F7;
color: #000000;
}
.panel
{
background: #f0f0f0;
color: #0f638d;
padding: 10px;
border: 0px outset;
}
.panel a:link, .panel_alink
{
color: #0f638d;
}
.panel a:visited, .panel_avisited
{
color: #0f638d;
}
.panel a:hover, .panel a:active, .panel_ahover
{
color: #CC0000;
}
.panelsurround
{
background: #ddd;
color: #0f638d;
}
legend
{
color: #0f638d;
font: 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.vbmenu_control
{
background: #f0f0f0 url(http://www.devnia.com/vb3/devnia-hams/td2.png) repeat-x top;
color: #0f638d;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
padding: 3px 6px 3px 6px;
white-space: nowrap;
}
.vbmenu_control a:link, .vbmenu_control_alink
{
color: #0f638d;
text-decoration: none;
}
.vbmenu_control a:visited, .vbmenu_control_avisited
{
color: #0f638d;
text-decoration: none;
}
.vbmenu_control a:hover, .vbmenu_control a:active, .vbmenu_control_ahover
{
color: #b41d22;
text-decoration: none;
}
.vbmenu_popup
{
background: #0f638d url(http://www.devnia.com/vb3/devnia-hams/td.png) repeat-x top;
color: #f0f0f0;
border: 1px solid #ddd;
}
.vbmenu_option
{
background: #f0f0f0;
color: #0f638d;
font: 11px tahoma, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
white-space: nowrap;
cursor: pointer;
}
.vbmenu_option a:link, .vbmenu_option_alink
{
color: #0f638d;
text-decoration: none;
}
.vbmenu_option a:visited, .vbmenu_option_avisited
{
color: #0f638d;
text-decoration: none;
}
.vbmenu_option a:hover, .vbmenu_option a:active, .vbmenu_option_ahover
{
color: #0f638d;
text-decoration: none;
}
.vbmenu_hilite
{
background: #0f638d url(http://www.devnia.com/vb3/devnia-hams/td.png) repeat-x top;
color: #f0f0f0;
font: 11px tahoma, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
white-space: nowrap;
cursor: pointer;
}
.vbmenu_hilite a:link, .vbmenu_hilite_alink
{
color: #f0f0f0;
text-decoration: none;
}
.vbmenu_hilite a:visited, .vbmenu_hilite_avisited
{
color: #f0f0f0;
text-decoration: none;
}
.vbmenu_hilite a:hover, .vbmenu_hilite a:active, .vbmenu_hilite_ahover
{
color: #FFFFFF;
text-decoration: none;
}
/* ***** styling for 'big' usernames on postbit etc. ***** */
.bigusername { font-size: 14pt; }
/* ***** 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: #777777; text-decoration: none; }
a.shade:active, a.shade:hover { color: #FF4400; text-decoration: underline; }
.tcat .shade, .thead .shade, .tfoot .shade { color: #DDDDDD; }
/* ***** define margin and font-size for elements inside panels ***** */
.fieldset { margin-bottom: 6px; }
.fieldset, .fieldset td, .fieldset p, .fieldset li { font-size: 11px; }
#hed{
background:url(http://www.devnia.com/vb3/devnia-hams/movy/images/hed-tcat.png);
height:315px;
}
#hed .right{
background:url(http://www.devnia.com/vb3/devnia-hams/movy/images/hed-right.png);
width:558px;
height:315px;
float:right;
}
#hed .left{
background:url(http://www.devnia.com/vb3/devnia-hams/movy/images/hed-left.png) no-repeat left;
width:450px;
height:315px;
float:left;
}
#footer{
background:url(http://www.devnia.com/vb3/devnia-hams/movy/images/footer-tcat.png);
height:215px;
}
#footer .right{
background:url(https://i.servimg.com/u/f46/17/26/70/11/75510.png);
width:543px;
height:215px;
float:right;
}
#footer .left{
background:url(http://www.devnia.com/vb3/devnia-hams/movy/images/footer-left.png) no-repeat left;
width:450px;
height:215px;
float:left;
}
#footer .left ul {
float: left;
list-style: none outside none;
margin: 0;
padding-left: 15px;
padding-right: 10px;
padding-top: 123px;
}
#footer .left ul li{
background:url(http://www.devnia.com/vb3/devnia-hams/movy/images/footer-link.png);
width:85px;
height:20px;
padding-top:7px;
padding-right:20px;
text-align:right;
font:bold 12px Tahoma;
color:#0f638d;
margin-top:3px;
}
#footer .left ul li:hover{
background:url(http://www.devnia.com/vb3/devnia-hams/movy/images/footer-link-hover.png);
}
#footer .left ul li a{
color:#0f638d;
text-shadow:1px 1px #fff;
}
#footer .left ul li a:hover{
color:#fff;
text-shadow:1px 1px #834e1c;
}
.hed-body {
background-image:url(http://www.devnia.com/vb3/devnia-hams/movy/images/etar-top-tcat.png);
background-repeat: repeat-x;
height:76px;
text-align:center
}
.hed-right {
background-image:url(http://www.devnia.com/vb3/devnia-hams/movy/images/etar-top-right.png);
background-repeat: no-repeat;
float: right;
height: 76px;
width: 76px;
}
.hed-left {
background-image:url(http://im27.gulfup.com/2012-03-11/1331414540621.png);
background-repeat: no-repeat;
float: left;
height:76px;
width:276px;
}
.hed-center {
}
.foot-body {
background-image:url(http://www.devnia.com/vb3/devnia-hams/movy/images/etar-bot-tcat.png);
background-repeat: repeat-x;
height:33px;
}
.foot-right {
background-image:url(http://www.devnia.com/vb3/devnia-hams/movy/images/etar-bot-right.png);
background-repeat: no-repeat;
float: right;
height: 33px;
width: 33px;
}
.foot-left {
background-image:url(http://www.devnia.com/vb3/devnia-hams/movy/images/etar-bot-left.png);
background-repeat: no-repeat;
float: left;
height: 33px;
width:33px;
}
.foot-center {
}
.cont-body {
background: ;
}
.cont-right {
background-image:url(http://www.devnia.com/vb3/devnia-hams/movy/images/R.png);
background-repeat: repeat-y;
background-position: right;
}
.cont-left {
background-image:url(http://www.devnia.com/vb3/devnia-hams/movy/images/L.png);
background-repeat: repeat-y;
background-position: left;
padding-left:24px;
padding-right:24px;
}
.cont-body2 {
background: ;
}
.cont-right2 {
background-image:url(http://www.devnia.com/vb3/devnia-hams/movy/images/R-page.png);
background-repeat: repeat-y;
background-position: right;
}
.cont-left2 {
background-image:url(http://www.devnia.com/vb3/devnia-hams/movy/images/L-page.png);
background-repeat: repeat-y;
background-position: left;
padding-left:30px;
padding-right:30px;
}
.devnia{
width:82px;
height:54px;
margin-top:140px;
margin-right:71px;
float:right;
}
.link{
width:360px;
height:24px;
float:right;
margin-top:15px;
margin-right:84px;
}
.link .hom{
width:90px;
height:24px;
float:right;
display:block;
}
.link .reg{
width:90px;
height:24px;
float:right;
display:block;
}
.link .usercp{
width:90px;
height:24px;
float:right;
display:block;
}
.link .send{
width:90px;
height:24px;
float:right;
display:block;
}
.link .hom:hover{
background:url(http://www.devnia.com/vb3/devnia-hams/hom.png);
}
.link .reg:hover{
background:url(http://www.devnia.com/vb3/devnia-hams/reg.png);
}
.link .usercp:hover{
background:url(http://www.devnia.com/vb3/devnia-hams/usercp.png);
}
.link .send:hover{
background:url(http://www.devnia.com/vb3/devnia-hams/send.png);
}
.colour{
background:url(http://www.devnia.com/vb3/devnia-hams/colour.png);
height:30px;
width:180px;
margin-top:216px;
margin-left:297px;
float:left
}
.colour a{
display:block;
width:30px;
height:30px;
float:right;
}
.social{
width:75px;
height:22px;
margin-top:17px;
margin-left:22px;
float:left;
}
.social .facebook{
width:25px;
height:22px;
float:right;
display:block;
}
.social .tweet{
width:25px;
height:22px;
float:right;
display:block;
}
.social .rss{
width:25px;
height:22px;
float:right;
display:block;
}
.social .facebook:hover{
background:url(http://www.devnia.com/vb3/devnia-hams/facebook.png);
}
.social .tweet:hover{
background:url(http://www.devnia.com/vb3/devnia-hams/tweet.png);
}
.social .rss:hover{
background:url(http://www.devnia.com/vb3/devnia-hams/rss.png);
}
.user-box{
background:url(http://www.devnia.com/vb3/devnia-hams/movy/images/user-box.png) no-repeat right top;
width:323px;
float:right;
margin-top:86px;
color:#fff;
}
.user-box .user{
padding-top:35px;
color:#fff;
}
.user-box .smallfont{
color:#fff;
}
.user-box .login-box{
margin-top:35px;
font:12px Tahoma;
color:#fff;
float:right
}
.user-box .login-box input{
background:url(http://www.devnia.com/vb3/devnia-hams/movy/images/input.png);
width:154px;
height:27px;
float:right;
margin-right:4px;
padding:0;
border:0;
font:italic 12px Tahoma;
text-align:center
}
.user-box .d5ol{
float: right;
margin-top: 11px;
width: 316px;
}
.user-box .inpu{
background:url(http://www.devnia.com/vb3/devnia-hams/movy/images/input-login.png);
width:44px;
height:14px;
padding:0;
border:0;
float:left;
}
.ser{
background:url(http://www.devnia.com/vb3/devnia-hams/movy/images/ser-tcat.png);
height:27px;
}
.ser .right{
background:url(http://www.devnia.com/vb3/devnia-hams/movy/images/ser-right.png);
width:54px;
height:27px;
padding:0;
border:0;
float:right
}
.ser .left{
background:url(dhttp://www.devnia.com/vb3/evnia-hams/movy/images/ser-left.png);
height:27px;
width:20px;
float:left;
}
.ser .input{
background:none;
border:0;
padding:10px;
width:200px;
font:11px Tahoma;
float:right
}
</style>
<link rel="stylesheet" type="text/css" href="http://www.devnia.com/vb3/?styleid=104clientscript/vbulletin_important.css?v=386" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="blue" href="http://www.devnia.com/vb3/devnia-hams/css/blue.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="default" href="http://www.devnia.com/vb3/devnia-hams/css/movy.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="grey" href="http://www.devnia.com/vb3/devnia-hams/css/grey.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="green" href="http://www.devnia.com/vb3/devnia-hams/css/green.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="gold" href="http://www.devnia.com/vb3/devnia-hams/css/gold.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="pink" href="http://www.devnia.com/vb3/devnia-hams/css/pink.css" />
<!-- / CSS Stylesheet -->
<script type="text/javascript" src="http://www.devnia.com/vb3/clientscript/yui/yahoo-dom-event/yahoo-dom-event.js?v=386"></script>
<script type="text/javascript" src="http://www.devnia.com/vb3/clientscript/yui/connection/connection-min.js?v=386"></script>
<script type="text/javascript">
<!--
var SESSIONURL = &amp;amp;quot;s=3b502363724e9233583a2ce19a046bd5&amp;amp;amp;&amp;amp;quot;;
var SECURITYTOKEN = &amp;amp;quot;guest&amp;amp;quot;;
var IMGDIR_MISC = &amp;amp;quot;devnia-hams/misc&amp;amp;quot;;
var vb_disable_ajax = parseInt(&amp;amp;quot;0&amp;amp;quot;, 10);
// -->
</script>
<script type="text/javascript" src="http://www.devnia.com/vb3/clientscript/vbulletin_global.js?v=386"></script>
<script type="text/javascript" src="http://www.devnia.com/vb3/clientscript/vbulletin_menu.js?v=386"></script>
<!-- سكربت تغيير الستايل -->
<script type='text/javascript' src="http://www.devnia.com/vb3/devnia-hams/styleswitch.js"></script>
<!-- سكربت تغيير الستايل -->
</head>
<body>
<div id="hed">
<div class="right">
<div class="link">
<a href="http://shabab-egypt.rigala.net" class="hom"></a>
<a href="register" class="reg"></a>
<a href="/profile?mode=editprofile" class="usercp"></a>
<a href="contact" class="send"></a>
</div>
<div class="colour">
<a href="javascript:chooseStyle('blue', 60)" title="ازرق"></a>
<a href="javascript:chooseStyle('default', 60)" title="بنفسجي"></a>
<a href="javascript:chooseStyle('grey', 60)" title="رمادي"></a>
<a href="javascript:chooseStyle('green', 60)" title="زيتي"></a>
<a href="javascript:chooseStyle('gold', 60)" title="بني"></a>
<a href="javascript:chooseStyle('pink', 60)" title="زهري"></a>
</div>
</div>
<div class="left">
<div class="social">
<a href="#facebbok" class="facebook"></a>
<a href="#tweet" class="tweet"></a>
<a href="#rss" class="rss"></a>
</div>
<div class="user-box">
<!-- BEGIN switch_user_logged_out -->
<!-- login form -->
<form action="/login.forum?redirect=h23-page" method="post" name="form_login">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=386"></script>
<div class="login-box">
<input type="text" name="username" id="Post" size="10" accesskey="u" tabindex="101" value="اسم العضو" onfocus="if (this.value == 'اسم العضو') this.value = '';" />
<input type="password" name="password" id="Post" size="10" tabindex="102" />
</div>
<div class="d5ol">
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />حفظ
البيانات؟</label>
<input type="submit" class="inpu" value="" tabindex="104" title="ادخل اسم العضو وكلمة المرور الخاصة بك في الحقول المجاورة لتسجيل الدخول, أو اضغط على رابط 'التسجيل' لإنشاء حساب خاص بك." accesskey="s" name="login"/>
</div>
<input type="hidden" name="s" value="3b502363724e9233583a2ce19a046bd5" />
<input type="hidden" name="securitytoken" value="guest" />
<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 -->
<!-- END switch_user_logged_out -->
</div>
</div>
</div>
<div class="cont-body2">
<div class="cont-right2">
<div class="cont-left2">
<!-- open content container -->
</div>
</div>
</div>
</body>
</html>
<div class="cont-body2">
<div class="cont-right2">
<div class="cont-left2">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
<title>{SITENAME_TITLE}{PAGE_TITLE}</title>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<!-- BEGIN switch_compat_meta -->
<meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
<!-- END switch_compat_meta -->
<!-- BEGIN switch_canonical_url -->
<link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
<!-- END switch_canonical_url -->
{META_FAVICO}
{META}
{META_FB_LIKE}
<meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
{T_HEAD_STYLESHEET}
{CSS}
<link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
<link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
<script src="{JQUERY_PATH}" type="text/javascript"></script>
<script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
<!-- BEGIN switch_fb_login -->
<script src="https://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
<script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
<!-- END switch_fb_login -->
<!-- BEGIN switch_ticker -->
<link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
<script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
<!-- END switch_ticker -->
<!-- BEGIN switch_ticker_new -->
<script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
/* Definir le sens de direction en fonction du panneau admin */
var tickerDirParam = "{switch_ticker.DIRECTION}";
var slid_vert = false;
var auto_dir = 'next';
var h_perso = parseInt({switch_ticker.HEIGHT});
switch( tickerDirParam )
{
case 'top' :
slid_vert = true;
break;
case 'left':
break;
case 'bottom':
slid_vert = true;
auto_dir = 'prev';
break;
case 'right':
auto_dir = 'prev';
break;
default:
slid_vert = true;
}
$(document).ready(function() {
var w_cont = $('#fa_ticker_container').width();
if (w_cont > 0)
{
$('#fa_ticker_container').width(w_cont);
/* Affichage de la liste */
$('#fa_ticker_content').css('display','block');
/* Calcul des dimensions du conteneur et des elements */
var width_max = $('ul#fa_ticker_content').width();
var width_item = Math.floor(width_max / {switch_ticker.SIZE});
var height_max = h_perso;
/* Calcul de la hauteur maximale du conteneur en fonction des elements et de la hauteur personnalisee dans l'admin */
$('ul#fa_ticker_content li').each( function () {
if ($(this).height() > height_max)
{
height_max = $(this).height();
}
} );
/* Redimensionnement des elements et des images trop larges */
$('ul#fa_ticker_content li').width(width_item).height(height_max).find('img').each(function () {
if ($(this).width() > width_item)
{
var ratio = $(this).width() / width_item;
var new_height = Math.round($(this).height() / ratio);
$(this).height(new_height).width(width_item);
}
});
/* Redimensionnement et centrage du conteneur en mode vertical */
if (slid_vert)
{
$('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
}
/* Initialisation du caroussel */
$('#fa_ticker_content').jcarousel({
vertical: slid_vert,
wrap: 'circular',
auto: {switch_ticker.STOP_TIME},
auto_direction: auto_dir,
scroll: 1,
size: {switch_ticker.SIZE},
height_max: height_max,
animation: {switch_ticker.SPEED}
});
}
else
{
$('ul#fa_ticker_content li:not(:first)').css('display','none');
$('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
}
});
//]]>
</script>
<!-- END switch_ticker_new -->
<script type="text/javascript">//<![CDATA[
$(document).ready(function(){
<!-- BEGIN switch_enable_pm_popup -->
pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
pm.focus();
<!-- END switch_enable_pm_popup -->
<!-- BEGIN switch_report_popup -->
report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
report.focus();
<!-- END switch_report_popup -->
<!-- BEGIN switch_ticker -->
ticker_start({switch_ticker.HEIGHT}, {switch_ticker.SPACING}, {switch_ticker.SPEED}, '{switch_ticker.DIRECTION}', {switch_ticker.STOP_TIME});
<!-- END switch_ticker -->
});
<!-- BEGIN switch_login_popup -->
var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = true, logInBackgroundClass = false;
<!-- END switch_login_popup -->
<!-- BEGIN switch_login_popup -->
$(document).ready( function() {
$(window).resize(function() {
var windowWidth = document.documentElement.clientWidth;
var popupWidth = $("#login_popup").width();
var mypopup = $("#login_popup");
$("#login_popup").css({
"left": windowWidth/2 - popupWidth/2
});
});
});
<!-- END switch_login_popup -->
//]]>
</script>
{GREETING_POPUP}
<!-- BEGIN switch_ticker_new -->
<style>
.jcarousel-skin-tango .jcarousel-item {
text-align:center;
width: 10px;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
margin-right: {switch_ticker.SPACING}px;
}
.jcarousel-skin-tango .jcarousel-item-vertical {
margin-bottom: {switch_ticker.SPACING}px;
}
</style>
<!-- END switch_ticker_new -->
{HOSTING_JS}
<!-- BEGIN google_analytics_code -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '{G_ANALYTICS_ID}']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
</script>
<!-- END google_analytics_code -->
</head>
<body background="{T_BODY_BACKGROUND}" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
<!-- BEGIN hitskin_preview -->
<div id="hitskin_preview" style="display: block;">
<h1><img src="https://2img.net/i/fa/hitskin/hitskin_logo.png" alt="" /> Hit<em>skin</em>.com</h1>
<div class="content">
<p>
{hitskin_preview.L_THEME_SITE_PREVIEW}
<br />
<span>{hitskin_preview.U_INSTALL_THEME}<a href="http://{hitskin_preview.U_RETURN_THEME}">{hitskin_preview.L_RETURN_THEME}</a></span>
</p>
</div>
</div>
<!-- END hitskin_preview -->
<!-- BEGIN switch_login_popup -->
<div id="login_popup">
<table class="forumline" width="{LOGIN_POPUP_WIDTH}" height="{LOGIN_POPUP_HEIGHT}" border="0" cellspacing="1" cellpadding="0">
<tr height="25">
<td class="catLeft">
<span class="genmed module-title">{SITENAME}</span>
</td>
</tr>
<tr height="{LOGIN_POPUP_MSG_HEIGHT}">
<td class="row1" align="left" valign="top">
<div id="login_popup_buttons">
<form action="{S_LOGIN_ACTION}" method="get">
<input type="submit" class="mainoption" value="{L_LOGIN}" />
<input type="button" class="mainoption" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
<input id="login_popup_close" type="button" class="button" value="{L_DONT_DISPLAY_AGAIN}" />
</form>
</div>
<span class="genmed">{LOGIN_POPUP_MSG}</span>
</td>
</tr>
</table>
</div>
<!-- END switch_login_popup -->
<a name="top"></a>
{JAVASCRIPT}
<table class="bodylinewidth" width="{T_BODY_TABLE_WIDTH}" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
<td class="bodyline">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<!-- BEGIN switch_logo_left -->
<td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
<!-- END switch_logo_left -->
<td align="center" width="100%" valign="middle">
<!-- BEGIN switch_logo_center -->
<a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a>
<br />
<!-- END switch_logo_center -->
<div class="maintitle">{MAIN_SITENAME}</div>
<br />
<span class="gen">{SITE_DESCRIPTION}<br /> </span>
</td>
<!-- BEGIN switch_logo_right -->
<td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
<!-- END switch_logo_right -->
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
<tr>
<td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
</tr>
</table>
<div style="clear: both;"></div>
<!-- BEGIN switch_ticker_new -->
<div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
<tr>
<td {CLASS_TABLE_TYPE} align="left" class="row1">
<div id="fa_ticker_container">
<ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display:none;">
<!-- BEGIN ticker_row -->
<li>{switch_ticker.ticker_row.ELEMENT}</li>
<!-- END ticker_row -->
</ul>
</div>
</td>
</tr>
</table>
</div>
<!-- END switch_ticker_new -->
<!-- BEGIN switch_ticker -->
<div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
<tr>
<td {CLASS_TABLE_TYPE} align="left" class="row1">
<div id="fa_ticker_container">
<div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
<div class="fa_ticker_content">
<!-- BEGIN ticker_row -->
<div>{switch_ticker.ticker_row.ELEMENT}</div>
<!-- END ticker_row -->
</div>
</div>
</div>
</td>
</tr>
</table>
</div>
<!-- END switch_ticker -->
<div id="page-body">
<div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
<table cellpadding="0" cellspacing="0" width="100%" class="three-col">
<tbody>
<tr>
<td valign="top" width="100%">
<div id="center">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
</td></tr><tr>
<td valign="top" width="100%">
<!-- BEGIN html_validation -->
</td>
</tr>
</tbody>
</table>
</div>
</div>
</td>
</tr>
</table>
</body>
</html>
<!-- END html_validation -->