|
من نموذج Content
من الأستايل الخاص بكـ ،,.
تقدر تتلاعب بالطريقة مثل ما تريد ..
|
|
 |
|
 |
|
الله يعطيك العافية لكن لم أفهم ..
هذا هة النموذج ياليت تصلح لي الصورة الأساسية للخبر وتكون في الوسط والخبر يبدأ بعدها
كود:
<br/>
<!-- START BLOCK : newstitle -->
<div class="module-title">{phrase_news}</div>
<!-- END BLOCK : newstitle -->
<!-- START BLOCK : news -->
<table class="tborder" width="100%">
<tr>
<!-- START BLOCK : rownewsa -->
<!-- row1 start-->
<td {clsp} class="whitecontent" valign="top" width="{width}%" style='padding:8px;'>
<div class="darkcontent xsmallfont"><span style='float:{lang_right};'>{date}</span><span style="cursor:{cursor};" title="{name}" onclick="window.location.href='{catlink}'">{name}</span></div>
<div>{secondcaption}</div>
<div class="largfont">
<b>{caption}</b></div>
<div class="justify">
<span style='float:{lang_left};margin-{lang_right}:2px;'>{picture}</span>
<span class="alert">{source}</span> {text}
</div>
<br />
<div class="smallfont">
<span style='float:{lang_right};'>{readmore} </span>
<img src="{img_dir}/buttons/comments.gif" alt="{phrase_comments}" title="{phrase_comments}" /> {comnum} | <img src="{img_dir}/buttons/emailed.gif" alt="{phrase_emailed}" title="{phrase_emailed}" /> {greet} | <img src="{img_dir}/buttons/views.gif" alt="{phrase_views}" title="{phrase_views}" /> {views}
</div>
</td>
<!-- row1 end-->
{tr}
<!-- START BLOCK : rownewsb -->
<!-- row2 start-->
<td {clsp} class="whitecontent" valign="top" width="{width}%" style='padding:8px;'>
<div class="darkcontent xsmallfont"><span style='float:{lang_right};'>{date}</span><span style="cursor:{cursor};" title="{name}" onclick="window.location.href='{catlink}'">{name}</span></div>
<div>{secondcaption}</div>
<div class="largfont">
<b>{caption}</b></div>
<div class="justify">
<span style='float:{lang_right};margin-{lang_left}:2px;'>{picture}</span>
<span class="alert">{source}</span> {text}
</div>
<br />
<div class="smallfont">
<span style='float:{lang_right};'>{readmore} </span>
<img src="{img_dir}/buttons/comments.gif" alt="{phrase_comments}" title="{phrase_comments}" /> {comnum} | <img src="{img_dir}/buttons/emailed.gif" alt="{phrase_emailed}" title="{phrase_emailed}" /> {greet} | <img src="{img_dir}/buttons/views.gif" alt="{phrase_views}" title="{phrase_views}" /> {views}
</div>
</td>
<!-- row2 end-->
{tr}
<!-- END BLOCK : rownewsb -->
<!-- END BLOCK : rownewsa -->
</tr>
</table>
<br />
<!-- END BLOCK : news -->
<!-- START BLOCK : downloadtitle -->
<div class="module-title">{phrase_downloads}</div>
<!-- END BLOCK : downloadtitle -->
<!-- START BLOCK : downloads -->
<table class="tborder" width="100%">
<tr>
<!-- START BLOCK : rows -->
<td {clsp} class="whitecontent" valign="top" width="{width}%" style='padding:8px;'>
<div class="darkcontent xsmallfont"><span style='float:{lang_right};'>{date}</span><span style="cursor:{cursor};" title="{name}" onclick="window.location.href='{catlink}'">{name}</span></div>
<div class="largfont"><b>{caption}</b> {updated}</div>
<span style='float:{lang_left};margin-{lang_right}:2px;'>{picture}</span>
{shortdesc}
<br />
<!-- START BLOCK : rowdownloadsincl -->
<div class="smallfont">
<img alt="" src="{img_dir}/arrow.gif" /> <span class="alert">{field} :</span> {data}
</div>
<!-- END BLOCK : rowdownloadsincl -->
<div class="smallfont">
<span style='float:{lang_right};'>{readmore} </span>
<img src="{img_dir}/buttons/comments.gif" alt="{phrase_comments}" title="{phrase_comments}" /> {comnum} | <img src="{img_dir}/buttons/emailed.gif" alt="{phrase_emailed}" title="{phrase_emailed}" /> {greet} | <img src="{img_dir}/buttons/views.gif" alt="{phrase_views}" title="{phrase_views}" /> {views} | <img src="{img_dir}/buttons/downloads.gif" alt="{phrase_downloaded}" title="{phrase_downloaded}" /> {downloads}
</div>
</td>
{tr}
<!-- END BLOCK : rows -->
</tr>
</table>
<br />
<!-- END BLOCK : downloads -->
<div valign="top" style="width:100%" height="1">
<!-- START BLOCK : tabshead -->
{tabs}
<!-- END BLOCK : tabshead -->
<!-- #change the following modules order if you change them from dimofinf settings# -->
<!-- INCLUDE BLOCK : albummodule -->
<!-- INCLUDE BLOCK : cardmodule -->
<!-- INCLUDE BLOCK : mobilemodule -->
<!-- INCLUDE BLOCK : videomodule -->
<!-- INCLUDE BLOCK : voicemodule -->
<!-- START BLOCK : tabsfooter -->
{tabs}
<!-- END BLOCK : tabsfooter -->
<!-- START BLOCK : centerblocks -->
<!-- START BLOCK : centerblockhead -->
<div class="module-title">{title}</div>
<!-- END BLOCK : centerblockhead -->
<!-- START BLOCK : centerblockheadpic -->
<img class="img" src="contents/block/{pic}" />
<!-- END BLOCK : centerblockheadpic -->
<div id="contents">
{cont}
</div>
<br />
<!-- END BLOCK : centerblocks -->
<!-- INCLUDE BLOCK : newsmodule -->
<!-- INCLUDE BLOCK : articlemodule -->
<!-- INCLUDE BLOCK : downloadmodule -->
</div>
<br />