تحديث آخر نسخة 1.8.37

تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
زرار موضوع جديد وزرار اضافة رد أثناء إستعراض أى موضوع
#1
فى حاجة بتحصل معايا بس مش فى كل الإستايلات
لما اجى أستعرض أى موضوع جديد
بيكون فى قوف زرارين، واحد علشان إضافة موضوع جديد والتانى عشان إضافة رد
زى الصورة دى
[صورة: 98587428fn7.jpg]
وده الكود الموجود فى تيمبليت showthread
كود :
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
         var quickdelete_confirm = "{$lang->quickdelete_confirm}";
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=121"></script>
</head>
<body>
{$header}
{$pollbox}
<div style="float: right; padding-bottom: 4px;">
    {$newreply}{$newthread}
</div><br /><br />
{$multipage}
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
    <tr>
        <tbody>
<tr>
<td align="left"><img src="{$theme['imgdir']}/cat_l.gif" alt="" border="0"></td>
<td style="background: url({$theme['imgdir']}/cat_tbg.gif) repeat-x" align="center" width="100%">
    <div style="float: right;">
        <span class="smalltext"><strong><a href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->linear}</a></strong>
    </div></span>
<div style="text-align: left;"><strong>{$rating} {$thread['subject']}</strong>
<td align="right"><img src="{$theme['imgdir']}/cat_r.gif" alt="" border="0"></td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;" >
<tr>
<td class="tcat" width="15%"><span class="smalltext"><strong>{$lang->author}</strong></span></td>
<td class="tcat" width="85%"><span class="smalltext"><strong>{$lang->message}</strong></span></td>
</tr>
{$posts}
{$threadpages}
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
    <tr>
        <tbody>
<tr>
<td align="left"><img src="{$theme['imgdir']}/cat_lb.gif" alt="" border="0"></td>
<td style="background: url({$theme['imgdir']}/cat_tbgb.gif) repeat-x" align="center" width="100%"><div style="text-align: left;"><strong>« <a href="showthread.php?tid={$tid}&action=nextoldest">{$lang->next_oldest}</a> | <a href="showthread.php?tid={$tid}&action=nextnewest">{$lang->next_newest}</a> »</strong></div>
<td align="right"><img src="{$theme['imgdir']}/cat_rb.gif" alt="" border="0"></td>
</tr>
</tbody>
</table>
<div style="padding-top: 4px;">
    {$newreply}{$newthread}
</div>
{$threadexbox}
{$quickreply}
{$moderationoptions}
{$similarthreads}
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
    <tr>
        <td class="trow1">
            <table width="100%">
                <tr>
                    <td>
                        <span class="smalltext">
                            <a href="printthread.php?tid={$tid}">{$lang->view_printable}</a><br />
                            <a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a><br />
                            <a href="usercp2.php?action=addsubscription&tid={$tid}">{$lang->subscribe_thread}</a> | <a href="usercp2.php?action=addfavorite&tid={$tid}">{$lang->add_favorites}</a>
                        </span>
                    </td>
                    <td align="right">
                        {$ratethread}
                        <br />
                        {$forumjump}
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
{$footer}
</body>
</html>
إزاى نرفع الصور فوق شوية
انت كنت قلتهالى قبل كده بس انا ناسيها
لما كنت قلت لى ان الكود الغلط بيحل الموضوع والكود الصح مش بيحل الموضوع.
شكراً جداً
شكر من طرف :
#2
بدله بده
كود :
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
         var quickdelete_confirm = "{$lang->quickdelete_confirm}";
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=121"></script>
</head>
<body>
{$header}
{$pollbox}
<div style="float: right; padding-bottom: 4px;">
    {$newreply}{$newthread}
</div><br /><br />
{$multipage}
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
    <tr>
        <tbody>
<tr>
<td align="left"><img src="{$theme['imgdir']}/cat_l.gif" alt="" border="0"></td>
<td style="background: url({$theme['imgdir']}/cat_tbg.gif) repeat-x" align="center" width="100%">
    <div style="float: right;">
        <span class="smalltext"><strong><a href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->linear}</a></strong>
    </div></span>
<div style="text-align: left;"><strong>{$rating} {$thread['subject']}</strong>
<td align="right"><img src="{$theme['imgdir']}/cat_r.gif" alt="" border="0"></td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;" >
<tr>
<td class="tcat" width="15%"><span class="smalltext"><strong>{$lang->author}</strong></span></td>
<td class="tcat" width="85%"><span class="smalltext"><strong>{$lang->message}</strong></span></td>
</tr>
{$posts}
{$threadpages}
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
    <tr>
        <tbody>
<tr>
<td align="left"><img src="{$theme['imgdir']}/cat_lb.gif" alt="" border="0"></td>
<td style="background: url({$theme['imgdir']}/cat_tbgb.gif) repeat-x" align="center" width="100%"><div style="text-align: left;"><strong>« <a href="showthread.php?tid={$tid}&action=nextoldest">{$lang->next_oldest}</a> | <a href="showthread.php?tid={$tid}&action=nextnewest">{$lang->next_newest}</a> »</strong></div></td>
<td align="right"><img src="{$theme['imgdir']}/cat_rb.gif" alt="" border="0"></td>
</tr>
</tbody></tr>
</table>
<div style="padding-top: 4px;">
    {$newreply}{$newthread}
</div>
{$threadexbox}
{$quickreply}
{$moderationoptions}
{$similarthreads}
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
    <tr>
        <td class="trow1">
            <table width="100%">
                <tr>
                    <td>
                        <span class="smalltext">
                            <a href="printthread.php?tid={$tid}">{$lang->view_printable}</a><br />
                            <a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a><br />
                            <a href="usercp2.php?action=addsubscription&tid={$tid}">{$lang->subscribe_thread}</a> | <a href="usercp2.php?action=addfavorite&tid={$tid}">{$lang->add_favorites}</a>
                        </span>
                    </td>
                    <td align="right">
                        {$ratethread}
                        <br />
                        {$forumjump}
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
{$footer}
</body>
</html>
شكر من طرف :
#3
انا غيرته زى ما قلت
بس ما فيش حاجة اتغيرت
مع ان لما استعرض كافة المواضيع (ثريد ليست)
الدنيا حلوة
و ده الكود اللى موجود فى الثيريد ليست
كود :
<div class="float_right" style="padding-bottom: 4px;">
    {$newthread}
</div><br /><br />
{$multipage}
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
    <tbody>
        <tr>
<td align="left"><img src="{$theme['imgdir']}/cat_l.gif" alt="" border="0"></td>
<td style="background: url({$theme['imgdir']}/cat_tbg.gif) repeat-x" align="center" width="100%">
            <div style="float: right;">
                <span class="smalltext"><strong><a href="misc.php?action=markread&fid={$fid}">{$lang->markforum_read}</a> | <a href="usercp2.php?action=addsubscription&type=forum&fid={$fid}">{$lang->subscribe_forum}</a>{$clearstoredpass}</strong>
            </div></span>

                </td><div style="text-align: left;"><strong>{$foruminfo['name']}</strong>
</td><td align="right"><img src="{$theme['imgdir']}/cat_r.gif" alt="" border="0" /></td>
</tr>

</tbody>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;" >
    <tr>
        <td class="tcat" align="center" colspan="2"> </td>
        <td class="tcat" align="center" width="40%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=subject&order=asc">{$lang->thread}</a> {$orderarrow['subject']}</strong></span></td>
        <td class="tcat" align="center" width="14%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=starter&order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
        <td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=replies&order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
        <td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=views&order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
        {$ratingcol}
        <td class="tcat" align="center" width="200"><span class="smalltext"><strong><a href="{$sorturl}&sortby=lastpost&order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
        {$inlinemodcol}
    </tr>
    {$announcementlist}
    {$threads}
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
    <tr>
        <tbody>
<tr>
<td align="left"><img src="{$theme['imgdir']}/cat_lb.gif" alt="" border="0"></td>
<td style="background: url({$theme['imgdir']}/cat_tbgb.gif) repeat-x" align="right" width="100%"><span class="tfoot"><form action="forumdisplay.php" method="get">
            <input type="hidden" name="fid" value="{$fid}" />
            <select name="sortby">
                <option value="subject" {$sortsel['subject']}>{$lang->sort_by_subject}</option>
                <option value="lastpost" {$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
                <option value="starter" {$sortsel['starter']}>{$lang->sort_by_starter}</option>
                <option value="started" {$sortsel['started']}>{$lang->sort_by_started}</option>
                {$ratingsort}
                <option value="replies" {$sortsel['replies']}>{$lang->sort_by_replies}</option>
                <option value="views" {$sortsel['views']}>{$lang->sort_by_views}</option>
            </select>
            <select name="order">
                <option value="asc" {$ordersel['asc']}>{$lang->sort_order_asc}</option>
                <option value="desc" {$ordersel['desc']}>{$lang->sort_order_desc}</option>
            </select>
            <select name="datecut">
                <option value="1" {$datecutsel['1']}>{$lang->datelimit_1day}</option>
                <option value="5" {$datecutsel['5']}>{$lang->datelimit_5days}</option>
                <option value="10" {$datecutsel['10']}>{$lang->datelimit_10days}</option>
                <option value="20" {$datecutsel['20']}>{$lang->datelimit_20days}</option>
                <option value="50" {$datecutsel['50']}>{$lang->datelimit_50days}</option>
                <option value="75" {$datecutsel['75']}>{$lang->datelimit_75days}</option>
                <option value="100" {$datecutsel['100']}>{$lang->datelimit_100days}</option>
                <option value="365" {$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
                <option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
            </select>
            {$gobutton}
        </form></span>
<td align="right"><img src="{$theme['imgdir']}/cat_rb.gif" alt="" border="0"></td>
</tr>
</tbody>
</table>
<div class="float_right" style="padding-top: 4px;">
    {$newthread}
</div>
{$multipage}
<br style="clear: both;" />
{$inlinemod}

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;" >
    <tr>
        <td class="trow1">
            <table width="100%" border="0">
                <tr>
                    <td>
                        <table width="5%" cellspacing="0" cellpadding="2" style="white-space: nowrap; border: none">
                            <tr>
                                <td nowrap="nowrap">
                                <img src="{$theme['imgdir']}/newfolder.gif" alt="{$lang->new_thread}" />  <span class="smalltext">{$lang->new_thread}</span><br />
                                <img src="{$theme['imgdir']}/newhotfolder.gif" alt="{$lang->new_hot_thread}" />  <span class="smalltext">{$lang->new_hot_thread}</span><br />
                                <img src="{$theme['imgdir']}/dot_folder.gif" alt="{$lang->posts_by_you}" />  <span class="smalltext">{$lang->posts_by_you}</span>
                                </td>
                                <td nowrap="nowrap">
                                    <img src="{$theme['imgdir']}/folder.gif" alt="{$lang->no_new_thread}" />  <span class="smalltext">{$lang->no_new_thread}</span><br />
                                    <img src="{$theme['imgdir']}/hotfolder.gif" alt="{$lang->hot_thread}" />  <span class="smalltext">{$lang->hot_thread}</span><br />
                                    <img src="{$theme['imgdir']}/lockfolder.gif" alt="{$lang->locked_thread}" />  <span class="smalltext">{$lang->locked_thread}</span>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td align="right">
                        {$searchforum}<br /><br />
                        {$forumjump}
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
{$inline_edit_js}
يا ترى يا هل ترى ايه السبب؟
الإجابه العدد القادم ... هاهاهاها
شكر من طرف :
#4
الموضوع إتحل
شكراً يا بيمبو
انا كنت نسيت أعمل ريفريش كويس
هاهاهاها
شكر من طرف :


التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 2 ) ضيف كريم