21.06.2014, 10:09
Stron: 1 2
21.06.2014, 12:57
showthread
modcp_warninglogs
Nie wiem czy to o to chodzi.
Kod:
<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=1603"></script>
</head>
<body>
{$header}
{$pollbox}
<div class="left">
{$multipage}
</div>
{$ratethread}
<div class="right">
{$newreply}
<br /><br>
</div>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
<tr>
<td class="thead belkatlo" colspan="2">
<div style="float: left;">
<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></span>
</div>
<div>
</div>
</td>
</tr>
{$classic_header}
</table>
<div class="gora_posty"></div>
<div id="posts">
{$posts}
</div>
<div class="left">
{$multipage}
</div>
<div class="dol_posty"></div>
<div style="padding-top: 4px;" class="right">
<br />
{$newreply}
</div>
<br style="clear: both;" />
{$quickreply}
{$threadexbox}
{$similarthreads}
<br />
<div class="left">
<ul class="thread_tools">
<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&tid={$tid}&my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
</ul>
</div>
<div class="right" style="text-align: right;">
{$moderationoptions}
{$forumjump}
</div>
<br style="clear: both;" />
{$usersbrowsing}
{$footer}
</body>
</html>
modcp_warninglogs
Kod:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->warning_logs}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$modcp_nav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6"><strong>{$lang->warning_logs}</strong></td>
</tr>
<tr>
<td class="tcat" width="15%"><strong>{$lang->warned_user}</strong></td>
<td class="tcat" width="25%"><strong>{$lang->warning}</strong></td>
<td class="tcat" width="20%" align="center"><strong>{$lang->date_issued}</strong></td>
<td class="tcat" width="20%" align="center"><strong>{$lang->expires}</strong></td>
<td class="tcat" width="15%"><strong>{$lang->issued_by}</strong></td>
<td class="tcat" width="1%" align="center"><strong>{$lang->details}</strong></td>
</tr>
{$warning_list}
</table>
{$multipage}
<br />
<form action="modcp.php" method="get">
<input type="hidden" name="action" value="warninglogs" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->filter_warning_logs}</strong></td>
</tr>
<tr>
<td class="trow1" width="25%"><strong>{$lang->filter_warned_user}</strong></td>
<td class="trow1" width="75%"><input type="text" name="filter[username]" id="username" value="{$mybb->input['filter']['username']}" class="textbox" /></td>
</tr>
<tr>
<td class="trow2" width="25%"><strong>{$lang->filter_issued_by}</strong></td>
<td class="trow2" width="75%"><input type="text" name="filter[mod_username]" value="{$mybb->input['filter']['mod_username']}" class="textbox" /></td>
</tr>
<tr>
<td class="trow1" width="25%"><strong>{$lang->filter_reason}</strong></td>
<td class="trow1" width="75%"><input type="text" name="filter[reason]" value="{$mybb->input['filter']['reason']}" class="textbox" /></td>
</tr>
<tr>
<td class="trow2" width="25%"><strong>{$lang->sort_by}</strong></td>
<td class="trow2" width="75%">
<select name="filter[sortby]">
<option value="username"{$sortbysel['username']}>{$lang->username}</option>
<option value="issuedby"{$sortbysel['issuedby']}>{$lang->issued_by}</option>
<option value="dateline"{$sortbysel['dateline']}>{$lang->issued_date}</option>
<option value="expires"{$sortbysel['expires']}>{$lang->expiry_date}</option>
</select>
{$lang->in}
<select name="filter[order]">
<option value="asc"{$ordersel['asc']}>{$lang->asc}</option>
<option value="desc"{$ordersel['desc']}>{$lang->desc}</option>
</select>
{$lang->order}
</td>
</tr>
<tr>
<td class="trow1" width="25%"><strong>{$lang->per_page}</strong></td>
<td class="trow1" width="75%"><input type="text" name="filter[per_page]" value="{$per_page}" class="textbox" /></td>
</tr>
</table>
<br />
<div align="center">
<input type="submit" class="button" value="{$lang->filter_warning_logs}" />
</div>
</form>
</td>
</tr>
</table>
{$footer}
<script type="text/javascript" src="jscripts/autocomplete.js?ver=1400"></script>
<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")
{
new autoComplete("username", "xmlhttp.php?action=get_users", {valueSpan: "username"});
}
// -->
</script>
</body>
</html>
Nie wiem czy to o to chodzi.
21.06.2014, 15:32
Tu nic nie ma.
Spróbuj headerinclude tak:
I daj konto testowe z modem.
Spróbuj headerinclude tak:
Kod PHP:
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tiptip.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/yetii.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
{$stylesheets}
<script type="text/javascript">
<!--
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var deleteevent_confirm = "{$lang->deleteevent_confirm}";
var removeattach_confirm = "{$lang->removeattach_confirm}";
var loading_text = '{$lang->ajax_loading}';
var saving_changes = '{$lang->saving_changes}';
var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
var my_post_key = "{$mybb->post_code}";
var imagepath = "{$theme['imgdir']}";
// -->
</script>
<script>
jQuery.noConflict();
jQuery(document).ready(function() {
//select all the a tag with name equal to modal
jQuery('a[name=modal]').click(function(e) {
//Cancel the link behavior
e.preventDefault();
//Get the A tag
var id = jQuery(this).attr('href');
//Get the screen height and width
var maskHeight = jQuery(document).height();
var maskWidth = jQuery(window).width();
//Set height and width to mask to fill up the whole screen
jQuery('#mask').css({'width':maskWidth,'height':maskHeight});
//transition effect
jQuery('#mask').fadeIn("fast");
jQuery('#mask').fadeTo("slow",0.5);
//Get the window height and width
var winH = jQuery(window).height();
var winW = jQuery(window).width();
//transition effect
jQuery(id).fadeIn("slow");
});
//if close button is clicked
jQuery('.window .close').click(function (e) {
//Cancel the link behavior
e.preventDefault();
jQuery('#mask, .window, #loginbox').fadeOut("slow");
});
//if mask is clicked
jQuery('#mask').click(function () {
jQuery(this).fadeOut("slow");
jQuery('.window').fadeOut("slow");
});
});
</script>
<script>
jQuery.noConflict();
jQuery(document).ready(function(){
jQuery(function () {
// scroll body to 0px on click
jQuery('#back-top').click(function () {
jQuery('body,html').animate({
scrollTop: 0
}, 800);
return false;
});
});
jQuery(".loginbutton").click(function(e) {
e.preventDefault();
jQuery(".loginbutton_menu").slideToggle("fast");
jQuery(".loginbutton").toggleClass("loginbutton_menu_open");
});
jQuery(".loginbutton_menu").mouseup(function() {
return false
});
jQuery(document).mouseup(function(e) {
if(jQuery(e.target).parent("a.loginbutton").length==0) {
jQuery(".loginbutton").removeClass("loginbutton_menu_open");
jQuery(".loginbutton_menu").slideUp("fast", function() {display: 'toggle'});;
}
});
jQuery(function(){
jQuery(".pmpopup").tipTip({defaultPosition: "top", fadeIn: 300});
});
});
</script>
{$newpmmsg}
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/deflection/functions.js">/script>
<script language="javascript" type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/custom_status.js"></script>
21.06.2014, 18:37
Wysyłam konto na PW.
21.06.2014, 20:43
Stop, stop. Przecież działa. W czym problem?
22.06.2014, 09:24
Nie działa pisanie postów , trzeba odświeżyć by dodał się post.
22.06.2014, 09:27
pokaż szablon postbit_classic (opis posta)
22.06.2014, 09:43
Proszę posbit_classic
Kod:
<table border="0" class="showthread_postmain">
<tr>
<td class="tcatleft"><center>{$post['onlinestatus']}
<span
class="showthread_authorname">{$post['profilelink']}</span></center>
</td><td class="tcatright">
<div class="left">{$post['postdate']}, {$post['posttime']}
<span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
</div>{$post['posturl']}</td></tr>
<tr><td class="showthread_postauthorinfo">
<div>
<div><span class="smalltext">{$post['usertitle']}</span><br />
<span class="showthread_useravatar">{$post['useravatar']}</span>
</div>
<div>
<span class="smalltext">
<br />
{$post['userstars']}
{$post['groupimage']}
</span>
</div>
<div><div style="padding-top: 5px;">
{$post['user_details']}{$post['ougc_awards']}{$post['awards']}</div>
</div>
</div> </td>
<td valign="top" class="showthread_postcontent">
<div class="showthread_postcontentwrapper">
<div class="showthread_postbody_message" id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
</div>
</div>
</td>
</tr>
<tr><td colspan="2" class="showthread_post_options"><span class="left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</span>
<span
class="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</span></td></tr>
</table>
22.06.2014, 09:46
Porównaj to z oryginałem. Nie ma tu kilku podstawowych rzeczy.
22.06.2014, 10:14
Tutaj masz oryginał
Kod:
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
<tr>
<td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
{$post['useravatar']}<br />
{$post['user_details']}
</span>
</td>
<td class="{$altbg}" valign="top">
<table width="100%">
<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
<br />
<div id="pid_{$post['pid']}" class="post_body">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
{$post['iplogged']}
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
<td class="{$altbg}" style="vertical-align: middle;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
<td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>
</tr>
</table>
</td>
</tr>
</table>
22.06.2014, 10:18
Dodałem tylko
i działa.
Dzięki wielkie.
Kod:
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
<tr>
i działa.
Dzięki wielkie.
Stron: 1 2