Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
KraSav4EK

skin_boards (главная страница) PageTop 2.3.6

Recommended Posts

захотел приделать на страницу небольшой рекламный блог но гдето ошибся не могу понять подскажите что не так

результат тут .а это желаемый http://files.etherway.ru/8A4CFD

 

<script type="text/javascript">
//<![CDATA[
// Set up img vars
var img_markers = {
'bc_new.gif' : 'bc_nonew.gif',
'bf_new.gif' : 'bf_nonew.gif',
'br_new.gif' : 'br_nonew.gif'
};
var regex_markers = 'bc_new.gif|bf_new.gif|br_new.gif';
function focus_username( e )
{
if ( e.value == "{$this->ipsclass->lang['qli_name']}" )
{
	e.value = '';
	return false;
}
}
function focus_password( e )
{
if ( e.value == "------" )
{
	e.value = '';
	return false;
}
}
//]]>
</script>
<script type="text/javascript" src="jscripts/ipb_forum.js"></script>

	<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td align="left" valign="top" width="20%">
<!--Таблица блока в правом столбце-->
					<div class="borderwrap" style="margin: 0 7px 7px 0;">
						  <div class="maintitle">
							  <p style="font-size: 11px;"><if="$this->ipsclass->member['id']"><b>{$this->ipsclass->lang['welcome_back_text']}:</b><else /><b>{$this->ipsclass->lang['guest_stuff']}</b></if></p>
						  </div>
  							<table class='ipbtable' cellspacing="<{CS}>">
  								<tr>
								<th><span style="font-size: 11px;">   <if="$this->ipsclass->member['id']">$lastvisit</span><else />( <a href="{$this->ipsclass->base_url}act=Login&CODE=00">{$this->ipsclass->lang['log_in']}</a> | <a href="{$this->ipsclass->base_url}act=Reg&CODE=00">{$this->ipsclass->lang['register']}</a> )</if></th>
  								</tr>
  								<tr>
   									<td class="row2">
<if="$this->ipsclass->member['id']">

<p><b>{$this->ipsclass->lang['logged_in_as']} <a href="{$this->ipsclass->base_url}showuser={$this->ipsclass->member['id']}">{$this->ipsclass->member['members_display_name']}</a></b> ( <a href="{$this->ipsclass->base_url}act=Login&CODE=03&k={$this->ipsclass->md5_check}">{$this->ipsclass->lang['log_out']}</a> )</p>
<else />
	<if="$this->ipsclass->member['id'] == 0">
		<form action="{$this->ipsclass->base_url}act=Login&CODE=01&CookieDate=1" method="post">
			<input type="text" size="20" name="UserName" onfocus="focus_username(this)" value="{$this->ipsclass->lang['qli_name']}" /><br />
			<input type="password" size="20" name="PassWord" onfocus="focus_password(this)" value="------" />
			<input class="button" type="image" src="{$this->ipsclass->vars['img_url']}/login-button.gif" style="border: 0 !important; background: transparent;" />
		</form>
	</if>
</if>
<!-- IBF.NEWSLINK -->
									  </td>
  								</tr>  
							  </table>
					</div>
<!-- Конец блока-->

<!--Таблица блока в правом столбце-->
					<div class="borderwrap" style="margin: 0 7px 7px 0;">
						  <div class="maintitle">
							  <p>Рекламный блог</p>
						  </div>
  							<table class='ipbtable' cellspacing="<{CS}>">
  								<tr>
								<th>   FlylinkDC++ r393</th>
  								</tr>
  								<tr>
	 								<td class="row2"><p><b>DC++ клиент от нашего хаба.<br />После установки все локальные хабы сети Etherway<br /> будут в избранных. <b />  <IMG SRC="style_images/elegance/DC.jpg" /><div class='ipb-top-right-link'><a href="http://10.128.162.28/forums/index.php?showtopic=772"><b>Подробнее<b /></a></div></p></td>

  										</tr>
							  </table>
					</div>

<!-- Конец блока-->

Edited by KraSav4EK

Share this post


Link to post
Share on other sites

Я не могу это проверять не на практике. Пробуйте, потом скаже что не так.

Share this post


Link to post
Share on other sites
Я не могу это проверять не на практике. Пробуйте, потом скаже что не так.

 

так как не смог разобраца по новой установил шаблон и окуратно зделал

 

а код если надо вот нормальный

<script type="text/javascript">
//<![CDATA[
// Set up img vars
var img_markers = {
'bc_new.gif' : 'bc_nonew.gif',
'bf_new.gif' : 'bf_nonew.gif',
'br_new.gif' : 'br_nonew.gif'
};
var regex_markers = 'bc_new.gif|bf_new.gif|br_new.gif';
function focus_username( e )
{
if ( e.value == "{$this->ipsclass->lang['qli_name']}" )
{
	e.value = '';
	return false;
}
}
function focus_password( e )
{
if ( e.value == "------" )
{
	e.value = '';
	return false;
}
}
//]]>
</script>
<script type="text/javascript" src="jscripts/ipb_forum.js"></script>

	<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td align="left" valign="top" width="20%">
<!--first left block-->
					<div class="borderwrap" style="margin: 0 7px 7px 0;">
						  <div class="maintitle">
							  <p style="font-size: 11px;"><if="$this->ipsclass->member['id']"><b>{$this->ipsclass->lang['welcome_back_text']}:</b><else /><b>{$this->ipsclass->lang['guest_stuff']}</b></if></p>
						  </div>
  							<table class='ipbtable' cellspacing="<{CS}>">
  								<tr>
								<th><span style="font-size: 11px;">   <if="$this->ipsclass->member['id']">$lastvisit</span><else />( <a href="{$this->ipsclass->base_url}act=Login&CODE=00">{$this->ipsclass->lang['log_in']}</a> | <a href="{$this->ipsclass->base_url}act=Reg&CODE=00">{$this->ipsclass->lang['register']}</a> )</if></th>
  								</tr>
  								<tr>
   									<td class="row2">
<if="$this->ipsclass->member['id']">

<p><b>{$this->ipsclass->lang['logged_in_as']} <a href="{$this->ipsclass->base_url}showuser={$this->ipsclass->member['id']}">{$this->ipsclass->member['members_display_name']}</a></b> ( <a href="{$this->ipsclass->base_url}act=Login&CODE=03&k={$this->ipsclass->md5_check}">{$this->ipsclass->lang['log_out']}</a> )</p>
<else />
	<if="$this->ipsclass->member['id'] == 0">
		<form action="{$this->ipsclass->base_url}act=Login&CODE=01&CookieDate=1" method="post">
			<input type="text" size="20" name="UserName" onfocus="focus_username(this)" value="{$this->ipsclass->lang['qli_name']}" /><br />
			<input type="password" size="20" name="PassWord" onfocus="focus_password(this)" value="------" />
			<input class="button" type="image" src="{$this->ipsclass->vars['img_url']}/login-button.gif" style="border: 0 !important; background: transparent;" />
		</form>
	</if>
</if>
<!-- IBF.NEWSLINK -->
									  </td>
  								</tr>
							  </table>
					</div>
<!-- end of first block-->

<!--second left block-->
					<div class="borderwrap" style="margin: 0 7px 7px 0;">
						  <div class="maintitle">
							  <p>Рекламный блок</p>
						  </div>
  							<table class='ipbtable' cellspacing="<{CS}>">
  								<tr>
								<th>   FlylinkDC++ r393</th>
  								</tr>
  								<tr>
<td class="row2"><p><b>DC++ клиент от нашего хаба.<br />После установки все локальные хабы сети Etherway<br /> будут в избранных. <b />  <div class='ipb-top-right-link'><IMG SRC="style_images/elegance/DC.jpg" /><br /> <a href="http://10.128.162.28/forums/index.php?showtopic=772"><b>Подробнее<b /></a></div></p></td></b></p></td>
  								</tr>
							  </table>
					</div>
<!-- end of second block-->

</td>
<td>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...