کمک در قالب با بانر فلش و متغیر

arashsoft

Well-Known Member
سلام
یه قالب دارم که css اصلیش اینه:
کد:
/*  
www.DDL.ir
*/

body { margin:0; font-size:11px; line-height:16px; font-family: Arial, Tahoma;}
a { color:#fe5800;}
a:hover { text-decoration:none;}
#header { background: url(images/header_bckg.gif) repeat-x ; height:120px;  }
#logo { width:780px; margin:0 auto; padding:50px 0 0 20px; }
#logo a { color:#fe5800; text-decoration:none; font-weight:bold; height:12px; font-size:20px; text-transform:uppercase;}
#menu {color:#fff; text-align:center; margin-top:22px;}
#menu ul {width:780px; margin:0 auto;list-style:none; padding:0; text-align:left;}
#menu ul li{display:inline}
#menu ul a { display:block; float:left; font-weight:bold; font-size:13px; text-decoration:none; color:#fff; background:url(images/menu_enactive.gif) no-repeat bottom center; padding:8px 10px; width:118px; text-align:center; text-transform:uppercase;}
#menu ul a:hover { background:url(images/menu_over.gif) no-repeat bottom center; color:#232323;}
#menu ul li.current_page_item a { background:url(images/menu_active.gif) no-repeat bottom center; color:#232323;}
#menu ul li.current_page_item a:hover { background:url(images/menu_active.gif) no-repeat bottom center; color:#232323;}
#main { width:100%; margin:20px 0 20px 0; float:left;}
#head_image { height:130px; background:url(images/head_bckg.jpg) no-repeat #fe5d00; padding:50px 0 30px 50px; line-height:24px;}
#content { margin:0 auto; width:780px;}
#text {float:left; width:530px; padding-left:20px;}
#text h1 { margin: 20px 0 20px 0; font-size:24px; color:#000000; line-height:normal;}
#text h2 { margin: 20px 0 5px 0; text-transform:uppercase; font-size:20px; color:#000000; font-weight:normal;}
#text h2 a { color:#000000; text-decoration: none;}
#text h2 a:hover { color:#fe5800;}
#text h3 { margin: 20px 0 5px 0; text-transform:uppercase; font-size:14px; color:#000000;}
#text p { padding:0 0 5px 0;}
#text ul { margin:0 0 0 20px; padding:0;}
#text ol { margin:0 0 0 20px; padding:0;}
#text ul li { margin-left: 20px;}
#text ol li { margin-left: 20px;}
#sidebar { background:url(images/sidebar_bckg.gif) repeat-x; margin-left:560px; padding:5px 20px 20px 20px; }
#sidebar a {color:#6f6e6e;}
#sidebar h2 { margin: 20px 0 2px 0; text-transform:uppercase; font-size:14px; color:#fe5800;}
#sidebar ul { margin: 0px; padding: 0px;}
#sidebar li { list-style:none;}
#footer {background:url(images/footer_bckg.gif) repeat-x #3f3e3e 0 2px; height:94px; margin-top:20px; clear:both;}
#left_footer { float:left; padding:40px 0 0 30px; text-transform:uppercase; color:#FFFFFF; font-weight:bold; font-size:11px;}
#left_footer a { color:#FFFFFF;}
#right_footer { float:right;  padding:40px 30px 0 0; text-transform:uppercase; color:#FFFFFF; font-weight:bold; font-size:11px; text-align:right;}
#right_footer a { color:#FFFFFF;}

.postmetadata { font-size: 10px; margin: 5px 0 0 0;}
.postmetadata small { font-size: 10px;}
.entry p { margin: 5px 0 0 0;}
#searchform { margin: 0;}
#searchform #searchsubmit { width: 30px; height: 21px; border: none; color: #FFFFFF; background-color: #fe5800; font-size:14px; font-weight:bold;}
#searchform #s { width: 140px;}
#commentform #comment { width: 500px;}
#commentform #author, #commentform #email, #commentform #url { width: 250px;}
#commentform #submit { width:140px; height: 21px; border: none; color: #FFFFFF; background-color: #fe5800; font-size:14px; font-weight:bold;}
#commentform p { margin: 5px 0 5px 0;}
#calendar caption { margin: 5px 0 0 0; text-transform:uppercase; font-size:14px; color:#fe5800; text-align:left; font-weight:bold;}
#calendar h2 {margin: 0; padding: 0;}
#wp-calendar th {padding-right:10px; text-align:left;}
#wp-calendar td {padding-right:10px;}
.commentlist { padding-right:10px;}
.commentlist .alt { background-color:#F9F9F9;}
.commentlist p { margin: 5px 0 10px 0;}
.navigation { text-transform:uppercase; margin-top: 20px;}
blockquote { font-style:italic; border-left:3px solid #eeeeee; padding-left: 5px; margin-left: 20px;}
code { line-height:normal; font-size:11px;}

کد بانر این قالب همانط.ر که می بینین اینه:
کد:
#head_image { height:130px; background:url(images/head_bckg.jpg) no-repeat #fe5d00; padding:50px 0 30px 50px; line-height:24px;}

من یه برنامه نوشتم تو php که میاد یه سری فایل swf رو لود میکنه ، با هر بار refresh کردن یکی از swf ها لود میشه
طریقه لود هم اینجوری که من از تگ iframe استفاده می کنم و اون فایل php رو فراخونی می کنم . و خود اسکریپت بقیه کار ها رو انجام میده
حالا میخوام اینو بسط بدم روی بانر قالب سایت
میخوام کد بالا رو طوری برام تبدیل به کد iframe کنین یا یه طوری کاری چیزی بهم بگین تا به جای اون عکسه images/head_bckg.jpg بتونم اون فایل php رو که ساختم در بانر سایت فراخوانی کنم

یعنی بانر متغییر داشته باشم؟:paint:
 

جدیدترین ارسال ها

بالا