*

Franko

  • ***
  • 132
search
« on: March 12, 2015, 08:55:30 PM »
I do not want visitors to search members countries, how do?

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: search
« Reply #1 on: March 12, 2015, 09:14:03 PM »
I do not want visitors to search members countries, how do?

Hi Franko,

In the index.tpl find the line 51 as below.
Code: [Select]
<td width="235" valign="bottom">
<table width="235" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td height="21" width="17">
<img src="{$image_dir}box_02.jpg" {*width="17" height="21"*} alt="" /></td>
<td height="21" width="202">
<img src="{$image_dir}box_03.jpg" {*width="202" height="21"*} alt="" /></td>
<td height="21" width="16">
  <img src="{$image_dir}box_04.jpg" {*width="16" height="21"*} alt="" /></td>
</tr>
<tr>
<td style="background-image: url({$image_dir}box_05.jpg); background-repeat:repeat-y;"></td>
<td align="center" class="headbgbox">
{include file="searchprofile.tpl"}
</td>
<td style="background-image: url({$image_dir}box_07.jpg);background-repeat:repeat-y;"></td>
</tr>
<tr>
<td height="28" width="17">
<img src="{$image_dir}box_19.jpg" {*width="17" height="28"*} alt="" /></td>
<td height="28" width="202">
<img src="{$image_dir}box_20.jpg" {*width="202" height="28"*} alt="" /></td>
<td height="28" width="16">
  <img src="{$image_dir}box_21.jpg" {*width="16" height="28"*} alt="" /></td>
</tr>
</table>

Change it to:
Code: [Select]
{if $smarty.session.UserId != ''}
<td width="235" valign="bottom">
<table width="235" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td height="21" width="17">
<img src="{$image_dir}box_02.jpg" {*width="17" height="21"*} alt="" /></td>
<td height="21" width="202">
<img src="{$image_dir}box_03.jpg" {*width="202" height="21"*} alt="" /></td>
<td height="21" width="16">
  <img src="{$image_dir}box_04.jpg" {*width="16" height="21"*} alt="" /></td>
</tr>
<tr>
<td style="background-image: url({$image_dir}box_05.jpg); background-repeat:repeat-y;"></td>
<td align="center" class="headbgbox">
{include file="searchprofile.tpl"}
</td>
<td style="background-image: url({$image_dir}box_07.jpg);background-repeat:repeat-y;"></td>
</tr>
<tr>
<td height="28" width="17">
<img src="{$image_dir}box_19.jpg" {*width="17" height="28"*} alt="" /></td>
<td height="28" width="202">
<img src="{$image_dir}box_20.jpg" {*width="202" height="28"*} alt="" /></td>
<td height="28" width="16">
  <img src="{$image_dir}box_21.jpg" {*width="16" height="28"*} alt="" /></td>
</tr>
</table>
              {/if}

Anything you want to hide from visitors, always use this:
Quote
{if $smarty.session.UserId != ''}
<<== Hides this stuff here from visitors only===>>
{/if}

All done :)
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Franko

  • ***
  • 132
Re: search
« Reply #2 on: March 12, 2015, 09:17:17 PM »
hello i see

*

Franko

  • ***
  • 132
Re: search
« Reply #3 on: March 12, 2015, 09:29:56 PM »
and here? not have 51
« Last Edit: March 12, 2015, 11:12:48 PM by Pharg »

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: search
« Reply #4 on: March 12, 2015, 09:37:02 PM »
Hi Franko,

It doesn't have to be line 51, just make sure you change the code it was, to the code I converted it to.
There should be a line starting with
Code: [Select]
<td width="235" valign="bottom"> and above this line is a {/if}
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Franko

  • ***
  • 132
Re: search
« Reply #5 on: March 12, 2015, 10:14:52 PM »
the site not open

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: search
« Reply #6 on: March 12, 2015, 10:17:41 PM »
the site not open

Hi Franko,

Undo what changes you made and post here the full index.tpl please so I can see the code, click the # button above the put the code inside it.
« Last Edit: March 12, 2015, 10:19:37 PM by Pharg »
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: search
« Reply #7 on: March 12, 2015, 10:21:29 PM »
   <td height="52" width="64">
                     <img src="{$image_dir}pic_16.jpg" {*width="64" height="52"*} alt="" /></td>
                  <td height="52" width="63">
                     <img src="{$image_dir}pic_17.jpg" {*width="63" height="52"*} alt="" /></td>
                  <td height="52" width="64">
                    <img src="{$image_dir}pic_18.jpg" {*width="64" height="52"*} alt="" /></td>
               </tr>   {/if}
         <div style="width:235px;vertical-align:bottom; float:left; height:100%;" class="headbgbox">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" >
               <tr>
                  <td  width="17" class="headbgbox" valign="top" >
                     <img src="{$image_dir}box_02.jpg" width="17" height="23" alt="" /></td>
                  <td width="202" class="headbgbox" valign="top">
                    <img src="{$image_dir}box_03.jpg" width="202" height="23"

Hi Franko,

Please upload your index.tpl so I can change it for you?
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Franko

  • ***
  • 132
Re: search
« Reply #8 on: March 12, 2015, 10:21:47 PM »
Code: [Select]

{include file="index_header.tpl"}
<body dir="{lang mkey='DIRECTION'}" {if $google_map eq 'Y'}onload="load_map()"{/if}>
<center>
<!-- Header portion  -->
<div class="main_outer_table" style="width:1024px;" >
<div class="headbg">
{ if $config.site_logo != ''}
<div style="width:786px; vertical-align:bottom; float:left;">
<img src="{$config.site_logo}" alt="" />
</div>
{else}
<div style="width:344px;vertical-align:bottom; float:left; height:100%" >
  &nbsp;<a href="index.php" class="main_title">{$config.site_name|stripslashes}</a>
</div>
<div  style="width:442px; text-align:center; float:left; height:100%;">
<table width="191" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="64" height="52">
<img src="{$image_dir}pic_09.jpg" {*width="64" height="52"*} alt="" /></td>
<td width="63" height="52">
<img src="{$image_dir}pic_10.jpg" {*width="63" height="52"*} alt="" /></td>
<td width="64" height="52">
<img src="{$image_dir}pic_11.jpg" {*width="64" height="52"*} alt="" /></td>
</tr>
<tr>
<td height="52" width="64">
<img src="{$image_dir}pic_13.jpg" {*width="64" height="52"*} alt="" /></td>
<td height="52" width="63">
<img src="{$image_dir}pic_14.jpg" {*width="63" height="52"*} alt="" /></td>
<td height="52" width="64">
  <img src="{$image_dir}pic_15.jpg" {*width="64" height="52"*} alt="" /></td>
</tr>
<tr>
<td height="52" width="64">
<img src="{$image_dir}pic_16.jpg" {*width="64" height="52"*} alt="" /></td>
<td height="52" width="63">
<img src="{$image_dir}pic_17.jpg" {*width="63" height="52"*} alt="" /></td>
<td height="52" width="64">
  <img src="{$image_dir}pic_18.jpg" {*width="64" height="52"*} alt="" /></td>
{/if} </tr>   
<div style="width:235px;vertical-align:bottom; float:left; height:100%;" class="headbgbox">
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td  width="17" class="headbgbox" valign="top" >
<img src="{$image_dir}box_02.jpg" width="17" height="23" alt="" /></td>
<td width="202" class="headbgbox" valign="top">
  <img src="{$image_dir}box_03.jpg" width="202" height="23" alt="" /></td>
<td width="16" class="headbgbox" valign="top">
  <img src="{$image_dir}box_04.jpg" width="16" height="23" alt="" /></td>                                     
{/if}{/if}
<div style="width:235px;vertical-align:bottom; float:left; height:100%;" class="headbgbox">
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td  width="17" class="headbgbox" valign="top" >
<img src="{$image_dir}box_02.jpg" width="17" height="23" alt="" /></td>
<td width="202" class="headbgbox" valign="top">
  <img src="{$image_dir}box_03.jpg" width="202" height="23" alt="" /></td>
<td width="16" class="headbgbox" valign="top">
  <img src="{$image_dir}box_04.jpg" width="16" height="23" alt="" /></td>
</tr>
<tr >
</tr>
<tr >
{if </table>
</div>

<tr>



alt="" /></td>
</tr>
<tr>
<td style="background-image: url({$image_dir}box_05.jpg); background-repeat:repeat-y;"></td>
<td align="center" class="headbgbox">
{include file="searchprofile.tpl"}
</td>
<td style="background-image: url({$image_dir}box_07.jpg);background-repeat:repeat-y;"></td>
</tr>
<tr>
<td height="28" width="17">
<img src="{$image_dir}box_19.jpg" {*width="17" height="28"*} alt="" /></td>
<td height="28" width="202">
<img src="{$image_dir}box_20.jpg" {*width="202" height="28"*} alt="" /></td>
<td height="28" width="16">
  <img src="{$image_dir}box_21.jpg" {*width="16" height="28"*} alt="" /></td>
</tr>
</table>
              {/if}

class="headbgbox">
<tr>

alt="" /></td>
 

alt="" /></td>
</tr>
<tr >
<td style="background-image: url({$image_dir}box_05.jpg); background-repeat:repeat-y;" height="100%"></td>
<td align="center" class="headbgbox" valign="top" height="100%" >
{include file = "searchprofile.tpl"}


</td>
<td style="background-image: url({$image_dir}box_07.jpg); background-repeat: repeat-y;" height="100%"></td>
</tr>
<tr>
<td height="28" width="17" valign="top">
<img src="{$image_dir}box_19.jpg" width="17" height="28" alt="" /></td>
<td height="28" width="202" valign="top">
  <img src="{$image_dir}box_20.jpg" width="202" height="28" alt="" /></td>
<td height="28" width="16" valign="top">
  <img src="{$image_dir}box_21.jpg" width="16" height="28" alt="" /></td>
</tr>
</table>
</div>
<div style="clear:both;"></div>
</div>
<div style="clear:both;"  class="loginbarbg">
<div style="height:33px; width:154px;float:left;"><img src="{$image_dir}top_blue.jpg" alt="" /></div>
<div style="height:33px;width:805px; float:left;">
{if $smarty.session.UserId == ''}
<form name="frmLogin" method="post" action="midlogin.php" onsubmit="javascript: return newvalidateLogin(this);" >
<table width="100%" cellpadding="{$config.cellpadding}" cellspacing="{$config.cellspacing}" border="0">
<tr>
<td  height="10" style="padding-top:5px;">
<b>{lang mkey='members_login'}</b>&nbsp;
<img src="{$image_dir}blue_box.gif"  alt="" />&nbsp;
{lang mkey='signup_username'}&nbsp;
<input class="textinput" maxlength="25" name="txtusername" size="8" style='font-size:9pt;width:70px' />&nbsp;&nbsp;
{lang mkey='signup_password'}&nbsp;
<input class="textinput" type="password" name="txtpassword" size="8" style='font-size:9pt;width:70px' />&nbsp;
<input type="submit" value="{lang mkey='login_submit'}" class='formbutton' />&nbsp;
<a href='signup.php'>{lang mkey='register'}</a>
</td>
</tr>
</table>
</form>
{else}
<div style="padding-top:6px; padding-left:10px; text-align:left;">
<strong>{lang mkey='welcome'},&nbsp;{$smarty.session.FullName|stripslashes} &nbsp;({$smarty.session.UserName})</strong>
</div>
{/if}
</div>
<div style="height:28px;width:40px; text-align:right; vertical-align:bottom; float:right; margin-right:10px; padding-top:5px;">{if $smarty.session.security.extsearch == 1  and $smarty.session.expired != '1' and ( $smarty.session.status == $lang.status_enum.active or $smarty.session.status == 'Active') }
<a href="advsearch.php?search_new=1"><img src="{$image_dir}search_icon.gif" border="0" width="18" height="18" alt="" /></a>&nbsp;
{/if}
  <a href="index.php"><img src="{$image_dir}homepage_icon.gif" border="0" width="18" height="18" alt="" /></a>
</div>
<div style="clear:both;"></div>
{if $config.menutype == 'top' && $smarty.session.UserId != ''}
<div style="width:100%; ">
{include file="dropdownpanelmenu.tpl"}
</div>
{/if}
</div>
<div style="margin-top: 2px;">
<div style="width: 200px; vertical-align:top;display:inline; float:left;" align="left">
<!-- Leftside Menu   -->
{include file="leftcolumn.tpl"}
</div>
<!-- Rendered page -->
<div style="width:608px; vertical-align:top; display:inline; float:left; padding-left: 4px;" align="left">
{$rendered_page}
<br />
{$modosdate_main}
<br />
        </div>
<div style="width: 200px; vertical-align:top;display:inline; float:left; padding-left:4px;" align="left">
{include file="rightcolumn.tpl"}
</div>
<div style="clear:both;"></div>
<br /><br />
{include file="banner_mainpage.tpl"}
<br />
</div>
<!--  Footer   -->
<div style="clear:both; text-align:center;">
{include file="footer.tpl"}
</div>
</div>
</center>
<script type="text/javascript">
updateOnlineTime();
{if $smarty.session.UserId <= 0}
updateOnlineCount();
{/if}
</script>
</body>
</html>
{closedb}
« Last Edit: March 12, 2015, 10:31:09 PM by Pharg »

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: search
« Reply #9 on: March 12, 2015, 10:38:09 PM »
Hi Franko,

You had lots of errors in the code. Try this one.

Code: [Select]
{include file="index_header.tpl"}
{strip}
<body dir="{lang mkey='DIRECTION'}" {if $google_map eq 'Y'}onload="load_map()"{/if}>
<center>
<!-- Header portion  -->
{if $browsername == 'msie' && browserversion < 7 }
<div class="main_outer_table" style="width:810px;" >
{else}
<div class="main_outer_table" style="width:779px;" >
{/if}
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="headbg">
<tr>
{ if $config.site_logo != ''}
<td colspan="2" width="544" valign="bottom">
<img src="{$config.site_logo}" alt="" />
</td>
{else}
<td width="244" valign="bottom" >
  &nbsp;<a href="index.php" class="main_title">{$config.site_name|stripslashes}</a>
</td>
<td width="300" valign="bottom" align="center">

<table width="191" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="64" height="52">
<img src="{$image_dir}pic_09.jpg" {*width="64" height="52"*} alt="" /></td>
<td width="63" height="52">
<img src="{$image_dir}pic_10.jpg" {*width="63" height="52"*} alt="" /></td>
<td width="64" height="52">
<img src="{$image_dir}pic_11.jpg" {*width="64" height="52"*} alt="" /></td>
</tr>
<tr>
<td height="52" width="64">
<img src="{$image_dir}pic_13.jpg" {*width="64" height="52"*} alt="" /></td>
<td height="52" width="63">
<img src="{$image_dir}pic_14.jpg" {*width="63" height="52"*} alt="" /></td>
<td height="52" width="64">
  <img src="{$image_dir}pic_15.jpg" {*width="64" height="52"*} alt="" /></td>
</tr>
<tr>
<td height="52" width="64">
<img src="{$image_dir}pic_16.jpg" {*width="64" height="52"*} alt="" /></td>
<td height="52" width="63">
<img src="{$image_dir}pic_17.jpg" {*width="63" height="52"*} alt="" /></td>
<td height="52" width="64">
  <img src="{$image_dir}pic_18.jpg" {*width="64" height="52"*} alt="" /></td>
</tr>
</table>
</td>
{/if}
{if $smarty.session.UserId != ''}
<td width="235" valign="bottom">
<table width="235" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td height="21" width="17">
<img src="{$image_dir}box_02.jpg" {*width="17" height="21"*} alt="" /></td>
<td height="21" width="202">
<img src="{$image_dir}box_03.jpg" {*width="202" height="21"*} alt="" /></td>
<td height="21" width="16">
  <img src="{$image_dir}box_04.jpg" {*width="16" height="21"*} alt="" /></td>
</tr>
<tr>
<td style="background-image: url({$image_dir}box_05.jpg); background-repeat:repeat-y;"></td>
<td align="center" class="headbgbox">
{include file="searchprofile.tpl"}
</td>
<td style="background-image: url({$image_dir}box_07.jpg);background-repeat:repeat-y;"></td>
</tr>
<tr>
<td height="28" width="17">
<img src="{$image_dir}box_19.jpg" {*width="17" height="28"*} alt="" /></td>
<td height="28" width="202">
<img src="{$image_dir}box_20.jpg" {*width="202" height="28"*} alt="" /></td>
<td height="28" width="16">
  <img src="{$image_dir}box_21.jpg" {*width="16" height="28"*} alt="" /></td>
</tr>
</table>
              {/if}

<table width="100%" border="0" cellpadding="0" cellspacing="0"  class="loginbarbg">
<tr>
<td height="33" width="154"><img src="{$image_dir}top_blue.jpg" alt="" /></td>
<td height="33" width="575" class="hdr_login_text">
{if $smarty.session.UserId == ''}
<form name="frmLogin" method="post" action="midlogin.php" onsubmit="javascript: return newvalidateLogin(this);" >
<b>{lang mkey='members_login'}</b>&nbsp;
<img src="{$image_dir}blue_box.gif"  alt="" />&nbsp;
{lang mkey='signup_username'}&nbsp;
<input class="textinput" maxlength="25" name="txtusername" size="8" style='font-size:9pt;width:70px' />&nbsp;&nbsp;
{lang mkey='signup_password'}&nbsp;
<input class="textinput" type="password"  name="txtpassword" size="8" style='font-size:9pt;width:70px' />&nbsp;
<input type="submit" value="{lang mkey='login_submit'}" class='formbutton' />&nbsp;
<a href='signup.php'>{lang mkey='register'}</a>
</form>
{else}
<strong>{lang mkey='welcome'},&nbsp;{$smarty.session.FullName|stripslashes} &nbsp;({$smarty.session.UserName})</strong>
                {/if}
</td>
<td height="33" width="40" align="right" valign="middle">{if $smarty.session.UserId != ''}
<a href="advsearch.php?search_new=1"><img src="{$image_dir}search_icon.gif" border="0" width="18" height="18" alt="" /></a>&nbsp;
{/if}
  <a href="index.php"><img src="{$image_dir}homepage_icon.gif" border="0" width="18" height="18" alt="" /></a>
</td>
<td height="33" width="10"></td>
</tr>
{if $config.menutype == 'top' && $smarty.session.UserId != ''}
<tr>
<td colspan="3">
{include file="dropdownpanelmenu.tpl"}
</td>
</tr>
{/if}
</table>
<div style="margin-top: 2px; width:100%;">
<div style="width: 179px; vertical-align:top;display:inline; float:left;" align="left">
<!-- Leftside Menu   -->
{include file="leftcolumn.tpl"}
</div>
<!-- Rendered page -->
<div style="width:594px; vertical-align:top; display:inline; float:left; padding-left:5px;" align="left">
{$rendered_page}
<br />
{$modosdate_main}
<br />
        </div>
<br /><br />
{include file="banner_mainpage.tpl"}
<br />
<div style="clear:both;"></div>
</div>
<!--  Footer   -->
<div style="clear:both; text-align:center; width:100%;">
{include file="footer.tpl"}
</div>
</div>
</center>
<script type="text/javascript">
updateOnlineTime();
{if $smarty.session.UserId <= 0}
updateOnlineCount();
{/if}
</script>
</body>
</html>
{closedb}
{/strip}
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Franko

  • ***
  • 132
Re: search
« Reply #10 on: March 12, 2015, 10:50:48 PM »
opened but lack the stories languages and news

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: search
« Reply #11 on: March 12, 2015, 10:58:44 PM »
opened but lack the stories languages and news

Hi Franko,

What do you mean?
The index.tpl doesn't load stories languages and news, that's in the leftcolumn.tpl and or rightcolumn.tpl where they load from.
Which template are you modding, the default or the default-3-column ?
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Franko

  • ***
  • 132
Re: search
« Reply #12 on: March 12, 2015, 11:00:08 PM »
default-3-column

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: search
« Reply #13 on: March 12, 2015, 11:01:47 PM »
default-3-column

Hi Franko,

It would have been easier to know that from the beginning.
I will have another look at the index.tpl for that one.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: search
« Reply #14 on: March 12, 2015, 11:06:08 PM »
see http://www.gaydatingonline.net
Hi Franko,

Here is the correct index.tpl file for 3 column
Code: [Select]
{include file="index_header.tpl"}
<body dir="{lang mkey='DIRECTION'}" {if $google_map eq 'Y'}onload="load_map()"{/if}>
<center>
<!-- Header portion  -->
<div class="main_outer_table" style="width:1024px;" >
<div class="headbg">
{ if $config.site_logo != ''}
<div style="width:786px; vertical-align:bottom; float:left;">
<img src="{$config.site_logo}" alt="" />
</div>
{else}
<div style="width:344px;vertical-align:bottom; float:left; height:100%" >
  &nbsp;<a href="index.php" class="main_title">{$config.site_name|stripslashes}</a>
</div>
<div  style="width:442px; text-align:center; float:left; height:100%;">
<table width="191" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="64" height="52">
<img src="{$image_dir}pic_09.jpg" {*width="64" height="52"*} alt="" /></td>
<td width="63" height="52">
<img src="{$image_dir}pic_10.jpg" {*width="63" height="52"*} alt="" /></td>
<td width="64" height="52">
<img src="{$image_dir}pic_11.jpg" {*width="64" height="52"*} alt="" /></td>
</tr>
<tr>
<td height="52" width="64">
<img src="{$image_dir}pic_13.jpg" {*width="64" height="52"*} alt="" /></td>
<td height="52" width="63">
<img src="{$image_dir}pic_14.jpg" {*width="63" height="52"*} alt="" /></td>
<td height="52" width="64">
  <img src="{$image_dir}pic_15.jpg" {*width="64" height="52"*} alt="" /></td>
</tr>
<tr>
<td height="52" width="64">
<img src="{$image_dir}pic_16.jpg" {*width="64" height="52"*} alt="" /></td>
<td height="52" width="63">
<img src="{$image_dir}pic_17.jpg" {*width="63" height="52"*} alt="" /></td>
<td height="52" width="64">
  <img src="{$image_dir}pic_18.jpg" {*width="64" height="52"*} alt="" /></td>
</tr>
</table>
</div>
{/if}
          {if $smarty.session.UserId != ''}
<div style="width:235px;vertical-align:bottom; float:left; height:100%;" class="headbgbox">
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td  width="17" class="headbgbox" valign="top" >
<img src="{$image_dir}box_02.jpg" width="17" height="23" alt="" /></td>
<td width="202" class="headbgbox" valign="top">
  <img src="{$image_dir}box_03.jpg" width="202" height="23" alt="" /></td>
<td width="16" class="headbgbox" valign="top">
  <img src="{$image_dir}box_04.jpg" width="16" height="23" alt="" /></td>
</tr>
<tr >
<td style="background-image: url({$image_dir}box_05.jpg); background-repeat:repeat-y;" height="100%"></td>
<td align="center" class="headbgbox" valign="top" height="100%" >
{include file="searchprofile.tpl"}
</td>
<td style="background-image: url({$image_dir}box_07.jpg); background-repeat: repeat-y;" height="100%"></td>
</tr>
<tr>
<td height="28" width="17" valign="top">
<img src="{$image_dir}box_19.jpg" width="17" height="28" alt="" /></td>
<td height="28" width="202" valign="top">
  <img src="{$image_dir}box_20.jpg" width="202" height="28" alt="" /></td>
<td height="28" width="16" valign="top">
  <img src="{$image_dir}box_21.jpg" width="16" height="28" alt="" /></td>
</tr>
</table>
</div>
          {/if}
<div style="clear:both;"></div>
</div>
<div style="clear:both;"  class="loginbarbg">
<div style="height:33px; width:154px;float:left;"><img src="{$image_dir}top_blue.jpg" alt="" /></div>
<div style="height:33px;width:805px; float:left;">
{if $smarty.session.UserId == ''}
<form name="frmLogin" method="post" action="midlogin.php" onsubmit="javascript: return newvalidateLogin(this);" >
<table width="100%" cellpadding="{$config.cellpadding}" cellspacing="{$config.cellspacing}" border="0">
<tr>
<td  height="10" style="padding-top:5px;">
<b>{lang mkey='members_login'}</b>&nbsp;
<img src="{$image_dir}blue_box.gif"  alt="" />&nbsp;
{lang mkey='signup_username'}&nbsp;
<input class="textinput" maxlength="25" name="txtusername" size="8" style='font-size:9pt;width:70px' />&nbsp;&nbsp;
{lang mkey='signup_password'}&nbsp;
<input class="textinput" type="password" name="txtpassword" size="8" style='font-size:9pt;width:70px' />&nbsp;
<input type="submit" value="{lang mkey='login_submit'}" class='formbutton' />&nbsp;
<a href='signup.php'>{lang mkey='register'}</a>
</td>
</tr>
</table>
</form>
{else}
<div style="padding-top:6px; padding-left:10px; text-align:left;">
<strong>{lang mkey='welcome'},&nbsp;{$smarty.session.FullName|stripslashes} &nbsp;({$smarty.session.UserName})</strong>
</div>
{/if}
</div>
<div style="height:28px;width:40px; text-align:right; vertical-align:bottom; float:right; margin-right:10px; padding-top:5px;">{if $smarty.session.security.extsearch == 1  and $smarty.session.expired != '1' and ( $smarty.session.status == $lang.status_enum.active or $smarty.session.status == 'Active') }
<a href="advsearch.php?search_new=1"><img src="{$image_dir}search_icon.gif" border="0" width="18" height="18" alt="" /></a>&nbsp;
{/if}
  <a href="index.php"><img src="{$image_dir}homepage_icon.gif" border="0" width="18" height="18" alt="" /></a>
</div>
<div style="clear:both;"></div>
{if $config.menutype == 'top' && $smarty.session.UserId != ''}
<div style="width:100%; ">
{include file="dropdownpanelmenu.tpl"}
</div>
{/if}
</div>
<div style="margin-top: 2px;">
<div style="width: 200px; vertical-align:top;display:inline; float:left;" align="left">
<!-- Leftside Menu   -->
{include file="leftcolumn.tpl"}
</div>
<!-- Rendered page -->
<div style="width:608px; vertical-align:top; display:inline; float:left; padding-left: 4px;" align="left">
{$rendered_page}
<br />
{$modosdate_main}
<br />
        </div>
<div style="width: 200px; vertical-align:top;display:inline; float:left; padding-left:4px;" align="left">
{include file="rightcolumn.tpl"}
</div>
<div style="clear:both;"></div>
<br /><br />
{include file="banner_mainpage.tpl"}
<br />
</div>
<!--  Footer   -->
<div style="clear:both; text-align:center;">
{include file="footer.tpl"}
</div>
</div>
</center>
<script type="text/javascript">
updateOnlineTime();
{if $smarty.session.UserId <= 0}
updateOnlineCount();
{/if}
</script>
</body>
</html>
{closedb}

Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35