توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : قرار گرفتن موقعیت ها در زیر هم
deldar1
09-28-2010, 06:43 PM
سلام. من یک قالب دارم که کد یکی از موقعیت ها این می باشد
<td style="width: 149px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<img alt="" height="41" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/top_left.png" width="149" /></td>
</tr>
<tr>
<td class="style3" valign="top"><center><jdoc:include type="modules" name="user5" /></center></td>
</tr>
<tr>
<td>
<img alt="" height="15" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_left.png" width="149" /></td>
</tr>
</table>
</td>
حالا من این یک موقعیت را می خواهم به 3 تا افزایش دهم و آمدم کد نویسی را بصورت زیر درآوردم
<td style="width: 149px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<img alt="" height="41" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/top_left.png" width="149" /></td>
</tr>
<tr>
<td class="style3" valign="top"><center><jdoc:include type="modules" name="user5" /></center></td>
</tr>
<tr>
<td>
<img alt="" height="15" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_left.png" width="149" /></td>
</tr>
</table>
</td>
<td style="width: 149px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<img alt="" height="41" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/top_left.png" width="149" /></td>
</tr>
<tr>
<td class="style3" valign="top"><center><jdoc:include type="modules" name="user6" /></center></td>
</tr>
<tr>
<td>
<img alt="" height="15" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_left.png" width="149" /></td>
</tr>
</table>
</td>
<td style="width: 149px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<img alt="" height="41" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/top_left.png" width="149" /></td>
</tr>
<tr>
<td class="style3" valign="top"><center><jdoc:include type="modules" name="user7" /></center></td>
</tr>
<tr>
<td>
<img alt="" height="15" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_left.png" width="149" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
همه همه چیز خوب هست ولی این 3 موقعیت ها بصورت افقی در کنار هم هستند و من می خوام این 3 موقعیت بصورت عمودی زیر هم باشند!
چطوری باید کاری کنم بصورت عمودی قرار گیرند؟ مرسی
سلام.
باید از تگ <tr> برای استفاده کنید.
لطفا کد کامل قالب یا از اولین تگ <table> قبل از <td> ، تا انتهای تگ ( </table> ) رو اینجا قرار بدید تا دقیق تر راهنمایی کنم.
یا علی
deldar1
09-28-2010, 07:20 PM
سلام. مرسی این لیک ایندکس هست و من می خواهم موقعیت های یوزر 5 و یوزر 6 و یوزر 7 در زیر هم قرار بگیرند. مرسی از شما
rapidshare.com/files/422001243/index.zip
** اصلاح لینک
مهدی.
09-28-2010, 08:27 PM
سلام
لطفاً سورس کد را در اینجا قرار دهید ! نه فایل مربوطه را ! سورس فایل را در تگ کد قرار دهید تا راحت تر بتوان به شما کمک کرد !
هیچکس تنهاتر از خدا نیست
deldar1
09-29-2010, 11:12 AM
ممنونم
<?php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
<html xmlns="<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
<head>
<meta content="en-us" <b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> />
<link href="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/css/template_css.css" rel="stylesheet" type="text/css" />
<meta content="text/html; charset=utf-8" <b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> />
<jdoc:include type="head" />
<style type="text/css">
.style1 {
background-image: url('<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bac_main.png');
background-repeat:repeat-y;
}
.style2 {
background-image: url('<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bac_mod.png');
background-repeat:repeat-y;
}
.style3 {
background-image: url('<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bac_left.png');
background-repeat: repeat-y;
height: 100px;
}
</style>
</head>
<body>
<table align="center" cellpadding="0" cellspacing="0" style="width: 1004px">
<tr>
<td valign="bottom">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td><map id="FPMap5" name="FPMap5">
<area coords="22, 20, 129, 146" href="" shape="rect" />
</map>
<img alt="" height="182" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/icon6.jpg" usemap="#FPMap5" width="206" /></td>
<td><map id="FPMap4" name="FPMap4">
<area coords="13, 33, 130, 150" href="component/user/register" shape="rect" />
</map>
<img alt="" height="182" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/icon5.jpg" usemap="#FPMap4" width="152" /></td>
<td><map id="FPMap3" name="FPMap3">
<area coords="14, 24, 124, 141" href="portfolio" shape="rect" />
</map>
<img alt="" height="182" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/icon4.jpg" usemap="#FPMap3" width="152" /></td>
<td><map id="FPMap2" name="FPMap2">
<area coords="20, 25, 117, 153" href="photo-gallery" shape="rect" />
</map>
<img alt="" height="182" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/icon3.jpg" usemap="#FPMap2" width="153" /></td>
<td><map id="FPMap1" name="FPMap1">
<area coords="31, 32, 114, 146" href="about-me" shape="rect" />
</map>
<img alt="" height="182" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/icon2.jpg" usemap="#FPMap1" width="153" /></td>
<td><map id="FPMap0" name="FPMap0">
<area coords="71, 40, 158, 147" href="contact-me" shape="rect" />
</map>
<img alt="" height="182" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/icon1.jpg" usemap="#FPMap0" width="188" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="style1" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td style="width: 280px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<img alt="" height="243" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_logo1.jpg" width="280" /></td>
</tr>
<tr>
<td>
<img alt="" height="226" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_logo2.jpg" width="280" /></td>
</tr>
<tr>
<td valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td style="width: 44px">&nbsp;</td>
<td style="width: 236px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td class="style2" valign="top"><jdoc:include type="modules" name="left" style="xhtml" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td style="width: 685px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td style="width: 536px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td><center><jdoc:include type="modules" name="banner" /></center></td>
</tr>
<tr>
<td style="height: 8px">
<img alt="" height="3" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/spacer.png" width="3" /></td>
</tr>
<tr>
<td style="padding-right: 5px"><jdoc:include type="component" /></td>
</tr>
</table>
</td>
<td style="width: 149px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<img alt="" height="41" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/top_left.png" width="149" /></td>
</tr>
<tr>
<td class="style3" valign="top"><center><jdoc:include type="modules" name="user5" /></center></td>
</tr>
<tr>
<td>
<img alt="" height="15" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_left.png" width="149" /></td>
</tr>
</table>
</td>
<td style="width: 149px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<img alt="" height="41" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/top_left.png" width="149" /></td>
</tr>
<tr>
<td class="style3" valign="top"><center><jdoc:include type="modules" name="user6" /></center></td>
</tr>
<tr>
<td>
<img alt="" height="15" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_left.png" width="149" /></td>
</tr>
</table>
</td>
<td style="width: 149px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<img alt="" height="41" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/top_left.png" width="149" /></td>
</tr>
<tr>
<td class="style3" valign="top"><center><jdoc:include type="modules" name="user7" /></center></td>
</tr>
<tr>
<td>
<img alt="" height="15" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_left.png" width="149" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td style="width: 39px">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<img alt="" height="102" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/footer.jpg" width="1004" /></td>
</tr>
</table>
</body>
</html>
سلام
این کد رو تست کنید:
<?php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
<html xmlns="<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
<head>
<meta content="en-us" <b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> />
<link href="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/css/template_css.css" rel="stylesheet" type="text/css" />
<meta content="text/html; charset=utf-8" <b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> />
<jdoc:include type="head" />
<style type="text/css">
.style1 {
background-image: url('<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bac_main.png');
background-repeat:repeat-y;
}
.style2 {
background-image: url('<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bac_mod.png');
background-repeat:repeat-y;
}
.style3 {
background-image: url('<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bac_left.png');
background-repeat: repeat-y;
height: 100px;
}
</style>
</head>
<body>
<table align="center" cellpadding="0" cellspacing="0" style="width: 1004px">
<tr>
<td valign="bottom">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td><map id="FPMap5" name="FPMap5">
<area coords="22, 20, 129, 146" href="" shape="rect" />
</map>
<img alt="" height="182" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/icon6.jpg" usemap="#FPMap5" width="206" /></td>
<td><map id="FPMap4" name="FPMap4">
<area coords="13, 33, 130, 150" href="component/user/register" shape="rect" />
</map>
<img alt="" height="182" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/icon5.jpg" usemap="#FPMap4" width="152" /></td>
<td><map id="FPMap3" name="FPMap3">
<area coords="14, 24, 124, 141" href="portfolio" shape="rect" />
</map>
<img alt="" height="182" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/icon4.jpg" usemap="#FPMap3" width="152" /></td>
<td><map id="FPMap2" name="FPMap2">
<area coords="20, 25, 117, 153" href="photo-gallery" shape="rect" />
</map>
<img alt="" height="182" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/icon3.jpg" usemap="#FPMap2" width="153" /></td>
<td><map id="FPMap1" name="FPMap1">
<area coords="31, 32, 114, 146" href="about-me" shape="rect" />
</map>
<img alt="" height="182" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/icon2.jpg" usemap="#FPMap1" width="153" /></td>
<td><map id="FPMap0" name="FPMap0">
<area coords="71, 40, 158, 147" href="contact-me" shape="rect" />
</map>
<img alt="" height="182" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/icon1.jpg" usemap="#FPMap0" width="188" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="style1" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td style="width: 280px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<img alt="" height="243" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_logo1.jpg" width="280" /></td>
</tr>
<tr>
<td>
<img alt="" height="226" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_logo2.jpg" width="280" /></td>
</tr>
<tr>
<td valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td style="width: 44px">&nbsp;</td>
<td style="width: 236px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td class="style2" valign="top"><jdoc:include type="modules" name="left" style="xhtml" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td style="width: 685px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td style="width: 536px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td><center><jdoc:include type="modules" name="banner" /></center></td>
</tr>
<tr>
<td style="height: 8px">
<img alt="" height="3" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/spacer.png" width="3" /></td>
</tr>
<tr>
<td style="padding-right: 5px"><jdoc:include type="component" /></td>
</tr>
</table>
</td>
<td style="width: 149px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td style="width: 149px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<img alt="" height="41" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/top_left.png" width="149" /></td>
</tr>
<tr>
<td class="style3" valign="top"><center><jdoc:include type="modules" name="user5" /></center></td>
</tr>
<tr>
<td>
<img alt="" height="15" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_left.png" width="149" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="width: 149px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<img alt="" height="41" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/top_left.png" width="149" /></td>
</tr>
<tr>
<td class="style3" valign="top"><center><jdoc:include type="modules" name="user6" /></center></td>
</tr>
<tr>
<td>
<img alt="" height="15" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_left.png" width="149" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="width: 149px" valign="top">
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<img alt="" height="41" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/top_left.png" width="149" /></td>
</tr>
<tr>
<td class="style3" valign="top"><center><jdoc:include type="modules" name="user7" /></center></td>
</tr>
<tr>
<td>
<img alt="" height="15" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/bot_left.png" width="149" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td style="width: 39px">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<img alt="" height="102" src="<?php echo $this->baseurl ?>/templates/salar/<?php echo $this->language; ?>/images/footer.jpg" width="1004" /></td>
</tr>
</table>
</body>
</html>
یا علی
deldar1
09-29-2010, 06:03 PM
سلام. مرسی. موقعیتهایی که می خواستم الان دقیقا زیر هم هستند همونطور که می خواستم ولی یک مشکل دیگه بوجود آمده! هیچ کدوم از تصاویر قالب نمایش داده نمی شوند و قالب چپ چین شده!
می شه در پیام خصوصی کل قالب را در اختیارتان بگزارم تا بهتر بشه روش کار کرد؟ مرسی از محبتتان
سلام.
درصورتی که قالبتون تجاری نیست، قالب رو یک جا آپلود کنید و لینک دریافتش رو اینا قرار بدید.
یا علی
deldar1
09-30-2010, 04:14 PM
مرسی. قالب تجاری نیست ولی رایگان هم نیست! یعنی اختصاصی برای خودم هست
می شه در پیام خصوصی در اختیارتون بزارم؟ ممنون می شم
بفرست برایتان!؟ خواهش می کنم
سلام.
بفرستید، انشا الله در اسرع وقت بررسی می کنم.
یا علی
deldar1
10-02-2010, 11:37 AM
مرسی از لطفتان. با مشکلات دیگری در قالبم روبرو شدم که فکر می کنم اگر ازش استفاده نکنم بهتر هست. یکی از مشکلات سنگین بودنش هست و
مرسی از شما
vBulletin® v4.2.5, Copyright ©2000-2026, Jelsoft Enterprises Ltd.