Jump to content

Help with server files


fishboy1983

Recommended Posts

Hey All,

 

First post so please be gentle!

 

I have a website www.antiquesattic.co.uk and i have been left in the lurch and without it being fully finished. I want to add google analytics code to everypage and i am a bit stuck. I have access to the server (apache 2.2.19) and have been able to add site maps etc but i am not sure where to paste the analytics code. Which folder would i look in and whereabouts do i paste. I would be extremely extremely grateful if someone could do me a quick step by step guide  :confused:

 

Also, if you would like to have a look at the website and give me some feedback that would be great!

 

One final thing, i can't add content to the homepage just auctions, would it be a easy job to get some one to edit the site so i can add say 1000 words of text at the bottom of the homepage from my admin area?

 

Apologies for the noob questions but my expertise is in sales and marketing not coding.

 

Thanks

Chris

Link to comment
Share on other sites

Well this isn't really an Apache question. I'm thinking more Miscellaneous because you're talking about a few things.

 

So

I want to add google analytics code to everypage and i am a bit stuck. I have access to the server (apache 2.2.19) and have been able to add site maps etc but i am not sure where to paste the analytics code. Which folder would i look in and whereabouts do i paste. I would be extremely extremely grateful if someone could do me a quick step by step guide  :confused:

Without actually knowing how the site works a "step by step guide" is impossible.

The analytics code goes at the bottom of each page. That might mean you have to add it to every page, or there might be a template you edit, or one of many other possibilities.

 

Also, if you would like to have a look at the website and give me some feedback that would be great!

You can ask in the Website Critique forum. Be sure to read and follow the guidelines before you post.

 

One final thing, i can't add content to the homepage just auctions, would it be a easy job to get some one to edit the site so i can add say 1000 words of text at the bottom of the homepage from my admin area?

Maybe. Maybe not. Again, we don't know anything about your website.

 

 

You should ask for help in the Freelancing forum. Check their guidelines before posting too.

Link to comment
Share on other sites

yes, it does have a folder called templates in the public_html folder, the website is built from a standard software package, with just a custom skin/theme over the top. Any idea of what someone would call the file i am looking for, as there are over 100 files in the template folder?

Link to comment
Share on other sites

The files i have got in the public_html fiel is as follows:-

 

/ public_html / (Current Folder)   

 

Docs  755

JsHttpRequest  755

SQLDump  755

admin  755

ajax_files  755

amazon_payments  755

blog  755

cache  777

cgi-bin  755

cron_jobs  755

dd_folder  755

google_base  755

google_checkout  755

images  755

img  755

includes  755

jquery  755

language  755

lightbox  755

modules  755

scripts  755

store_templates  755

templates  755

themes  755

uplimg  777

Create New File 

.htaccess 0 k 0644

BingSiteAuth.xml 0 k 0644

about_me.php 2 k 0644

account_activate.php 2 k 0644

activate_account.php 2 k 0644

auction_details.php 18 k 0644

auction_print.php 6 k 0644

auction_search.php 2 k 0644

auctions_show.php 2 k 0644

banner_click.php 1 k 0644

bid.php 9 k 0644

bid_history.php 5 k 0644

bulk_categories.php 3 k 0644

bulk_categories_new.php 3 k 0644

bulk_generate_sample.php

bulk_sample.csv 0 k 0644

buy_out.php 7 k 0644

categories.php 4 k 0644

category_selector.php 2 k 0644

check_username.php 0 k 0644

compare_items.php 4 k 0644

content_pages.php 4 k 0644

currency_converter.php 2 k 0644

edit_description.php 3 k 0644

edit_item.php 11 k 0644

fee_payment.php 10 k 0644

global_footer.php 1 k 0644

global_header.php 9 k 0644

global_mainpage.php 7 k 0644

googlea183a031f3a4889a.html 0 k 0644

index.php

initialize_counters.php 1 k 0644

initialize_counters_step.php 1 k 0644

invoice_print.php 17 k 0644

login.php 3 k 0644

make_offer.php 5 k 0644

members_area.php 236 k 0644

message_board.php 13 k 0644

online_users.txt 0 k 0777

other_items.php 1 k 0644

payment_completed.php 0 k 0644

payment_failed.php 0 k 0644

payment_process.php 0 k 0644

payment_processing.php 0 k 0644

pbulk.php 13 k 0644

pbulkconfig.php

pbulkupdate.php 0 k 0644

popup_bank_details.php 2 k 0644

popup_edit_public_question.php 1 k 0644

pp_alertpay.php 1 k 0644

pp_amazon.php 2 k 0644

pp_authnet.php 1 k 0644

pp_checkout.php 1 k 0644

pp_gc.php 10 k 0644

pp_gunpal.php 1 k 0644

pp_ikobo.php 1 k 0644

pp_moneybookers.php 1 k 0644

pp_nochex.php 1 k 0644

pp_paymate.php 1 k 0644

pp_paypal.php 1 k 0644

pp_protx.php 2 k 0644

pp_testmode.php

pp_worldpay.php 1 k 0644

profile.php 2 k 0644

protected_page.php 1 k 0644

register.php 6 k 0644

reputation_details.php 1 k 0644

retrieve_password.php 2 k 0644

reverse_auctions.php 8 k 0644

reverse_bid.php 4 k 0644

reverse_details.php 13 k 0644

reverse_manage.php 13 k 0644

reverse_print.php 4 k 0644

reverse_profile.php 6 k 0644

rss.php 9 k 0644

rss_feed.php 0 k 0644

search.php

sell_item.php 33 k 0644

shipping_locations_select.php 4 k 0644

shop.php 11 k 0644

site_fees.php 5 k 0644

sitemap.xml 103 k 0644

stores.php 7 k 0644

swap_offer.php 4 k 0644

thumbnail.php 2 k 0644

update_categories.php 4 k 0644

user_reputation.php 6 k 0644

wanted_ads.php 6 k 0644

wanted_details.php 11 k 0644

wanted_manage.php

 

Any of these look like the likely candidates to be the correct file?

Link to comment
Share on other sites

This is what i got:-

 

<?
#################################################################
## PHP Pro Bid v6.10															##
##-------------------------------------------------------------##
## Copyright ©2007 PHP Pro Software LTD. All rights reserved.	##
##-------------------------------------------------------------##
#################################################################

if ( !defined('INCLUDED') ) { die("Access Denied"); }

$time_start = getmicrotime();
$currentTime = time();

include ('themes/'.$setts['default_theme'].'/title.php');

/* we will add new banner settings */
$banner_position = array();
foreach ($setts['banner_positions'] as $key => $value)
{
$banner_position[$key] = $site_banner->select_banner($_SERVER['PHP_SELF'], intval($_REQUEST['parent_id']), intval($_REQUEST['auction_id']), $key);

if (!empty($banner_position[$key]))
{
	$banner_position[$key] = '<div align="center" style="padding-top: 3px; padding-bottom: 3px;">' . $banner_position[$key] . '</div>';
}
}
$template->set('banner_position', $banner_position);

$template->set('page_file_name', basename($_SERVER['PHP_SELF']));

$meta_tags_details = meta_tags($_SERVER['PHP_SELF'], intval($_REQUEST['parent_id']), intval($_REQUEST['auction_id']), intval($_REQUEST['wanted_ad_id']), intval($_REQUEST['user_id']));
$template->set('page_title', $meta_tags_details['title']);

$page_meta_tags = $meta_tags_details['meta_tags'];

$current_time_display = date("F d, Y H:i:s", time() + (TIME_OFFSET * 3600));
$template->set('current_time_display', $current_time_display);

$page_meta_tags .= $template->process('global_header.tpl.php');

$template->change_path('themes/' . $setts['default_theme'] . '/templates/');

$template->set('page_meta_tags', $page_meta_tags);

$current_date = date(DATE_FORMAT, time() + (TIME_OFFSET * 3600));
$template->set('current_date', $current_date);

if ($setts['user_lang'])
{
$template->set('languages_list', list_languages('site', false, null, true));
}

$menu_box_header = header7(MSG_MEMBERS_AREA_TITLE . ' [<a title="show/hide" class="hidelayer" id="exp1102170142_link" href="javascript: void(0);" onclick="toggle(this, \'exp1102170142\');">&#8211;</a>]');
$template->set('menu_box_header', $menu_box_header);

$category_box_header = headercat(MSG_CATEGORIES . ' [<a title="show/hide" class="hidelayer" id="exp1102170166_link" href="javascript: void(0);" onclick="toggle(this, \'exp1102170166\');">&#8211;</a>]');
$template->set('category_box_header', $category_box_header);

(string) $category_box_content = null;

reset($categories_array);

$categories_browse_box = '<select name="parent_id" id="parent_id" class="contentfont" onChange="javascript:cat_browse_form.submit()"> '.
'<option value="" selected>' . MSG_CHOOSE_CATEGORY . '</option>';

$sql_select_cats_header = $db->query("SELECT category_id, items_counter, hover_title FROM
" . DB_PREFIX . "categories WHERE parent_id=0 AND hidden=0 AND user_id=0 AND enable_auctions=1 ORDER BY order_id ASC, name ASC");

$template->set('category_lang', $category_lang);

while ($cats_header_details = $db->fetch_array($sql_select_cats_header))
{
$category_link = process_link('categories', array('category' => $category_lang[$cats_header_details['category_id']], 'parent_id' => $cats_header_details['category_id']));

$categories_browse_box .= '<option value="' . $cats_header_details['category_id'] . '" ' . (($cats_header_details['category_id'] == $_REQUEST['parent_id']) ? 'selected' : '') . '>'.
	$category_lang[$cats_header_details['category_id']] . '</option> ';

}

$categories_browse_box .= '<option value="">------------------------</option> '.
'<option value="0">' . MSG_ALL_CATEGORIES . '</option></select>';

// add addThis code
if ($setts['enable_addthis'])
{
$share_code = '<!-- AddThis Button BEGIN -->
	<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=xa-4a83d52479e9d5ed"><img src="https://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0" align="middle" /></a><script type="text/javascript" src="https://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a83d52479e9d5ed"></script>
	<!-- AddThis Button END -->';	
$template->set('share_code', $share_code);
}

$template->set('categories_browse_box', $categories_browse_box);

$sql_select_cats_list = $db->query("SELECT category_id, items_counter, hover_title FROM
" . DB_PREFIX . "categories WHERE parent_id=0 AND hidden=0 AND user_id=0 AND enable_auctions=1 ORDER BY order_id ASC, name ASC");

$template->set('sql_select_cats_list', $sql_select_cats_list);

$category_box_content = $template->process('header_categories_box.tpl.php');
$template->set('category_box_content', $category_box_content);

(string) $menu_box_content = NULL;

if (!$session->value('user_id') && $layout['d_login_box'] && $setts['is_ssl']!=1)
{
$redirect =  (!empty($_REQUEST['redirect'])) ? $_REQUEST['redirect'] : $db->rem_special_chars($_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING']);

$template->set('redirect', $redirect);

$menu_box_content	= $template->process('header_login_box.tpl.php');
$template->set('menu_box_content', $menu_box_content);
}
else if (!$session->value('user_id') && $layout['d_login_box'] && $setts['is_ssl']==1)
{
$menu_box_content = '<p align="center" class="contentfont">[ <a href="'.process_link('login').'"><strong>'.MSG_LOGIN_SECURELY.'</strong></a> ]</p>';
$template->set('menu_box_content', $menu_box_content);
}
else if ($session->value('user_id'))
{
$template->set('member_active', $session->value('membersarea'));
$template->set('member_username', $session->value('username'));

$is_announcements = $db->count_rows('content_pages', "WHERE MATCH (topic_lang) AGAINST
	('" . $session->value('site_lang') . "*' IN BOOLEAN MODE) AND page_handle='announcements'");

if ($is_announcements)
{
	(string) $announcements_content = null;

	$template->set('is_announcements', 1);

	$announcements_box_header = header6(MSG_ANNOUNCEMENTS . ' [<a title="show/hide" class="hidelayer" id="exp1102170555_link" href="javascript: void(0);" onclick="toggle(this, \'exp1102170555\');">&#8211;</a>]');
	$template->set('announcements_box_header', $announcements_box_header);

	$sql_select_announcements = $db->query("SELECT topic_id, topic_name, reg_date FROM " . DB_PREFIX . "content_pages WHERE
		MATCH (topic_lang) AGAINST	('" . $session->value('site_lang') . "*' IN BOOLEAN MODE) AND
		page_handle='announcements' ORDER BY topic_id DESC LIMIT 0,5");

	while ($announcement_details = $db->fetch_array($sql_select_announcements))
	{
		$announcement_content .= '<tr> '.
			'	<td class="c2"><img src="themes/' . $setts['default_theme'] . '/img/arrow.gif" width="8" height="8" hspace="4"></td> '.
			'	<td width="100%" class="c2 smallfont"><b>' . show_date($announcement_details['reg_date'], false) . '</b></td> '.
			'</tr> '.
			'<tr class="contentfont"> '.
			'	<td></td> '.
			'	<td><a href="' . process_link('content_pages', array('page' => 'announcements', 'topic_id' => $announcement_details['topic_id'])) . '"> '.
			'		' . $announcement_details['topic_name'] . '</a></td> '.
			'</tr>';

	}
	$template->set('announcement_content', $announcement_content);

	$announcements_box_content = $template->process('header_announcements_box.tpl.php');
	$template->set('announcements_box_content', $announcements_box_content);

}

$is_unread = $db->count_rows('messaging', "WHERE is_read=0 AND receiver_id='" . $session->value('user_id') . "' AND
	receiver_deleted=0");

if ($is_unread)
{
	$menu_box_content = '<div align="center" class="errormessage">' . MSG_YOU_HAVE_UNREAD_MESSAGES . '</div>';
}

$menu_box_content	.= $template->process('header_members_menu.tpl.php');
$template->set('menu_box_content', $menu_box_content);
}

if ($setts['enable_header_counter'] && stristr($_SERVER['PHP_SELF'], 'index.php'))
{
$template->set('header_site_status', header5(MSG_SITE_STATUS));

$template->set('nb_site_users', $db->count_rows('users', "WHERE active='1'"));
	$template->set('nb_live_auctions', $db->count_rows('auctions', "WHERE active='1' AND approved='1' AND closed='0' AND deleted='0' AND creation_in_progress='0'"));
$template->set('nb_live_wanted_ads', $db->count_rows('wanted_ads', "WHERE active=1 AND closed=0 AND deleted=0"));

if ($setts['enable_stores'])
{
	$template->set('nb_live_stores', $db->count_rows('users', "WHERE active=1 AND shop_active=1"));		
}

$template->set('nb_online_users', online_users());
}

if ($layout['d_news_box'])
{
$is_news = $db->count_rows('content_pages', "WHERE MATCH (topic_lang) AGAINST
	('" . $session->value('site_lang') . "*' IN BOOLEAN MODE) AND page_handle='news'");

if ($is_news)
{
	(string) $news_content = null;

	$template->set('is_news', $is_news);

	$news_box_header = header6(MSG_SITE_NEWS);
	$template->set('news_box_header', $news_box_header);

	$sql_select_news = $db->query("SELECT topic_id, topic_name, reg_date FROM " . DB_PREFIX . "content_pages WHERE
		MATCH (topic_lang) AGAINST	('" . $session->value('site_lang') . "*' IN BOOLEAN MODE) AND
		page_handle='news' ORDER BY topic_id DESC LIMIT 0," . $layout['d_news_nb']);

	$template->set('sql_select_news', $sql_select_news);

	$news_box_content = $template->process('header_news_box.tpl.php');
	$template->set('news_box_content', $news_box_content);
}
}

if ($setts['enable_skin_change'])
{
$template->set('site_skins_dropdown', list_skins('site', true, $session->value('site_theme')));
}

$template_output .= $template->process('header.tpl.php');

if (is_dir('install'))
{
$template_output .= '<p align="center" class="errormessage">' . GMSG_INSTALL_DELETE_MESSAGE . '</p>';
}

$template->change_path('templates/');
?>

 

Can't see a head section????

 

My code is:-

 

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-24399501-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

 

Could u let me know where to insert it. So sorry for being such a noob!

Link to comment
Share on other sites

Thank you!!!!!!!!

 

Ok, i like treasure hunts just not round servers lol.... ok think i am getting closer i have found my custom theme and got the following files:-

 

/ public_html / themes / antiquesattic / templates / (Current Folder)   

Create New Folder 

Upload file(s) 

Up one level 

_notes  755

Create New File 

auction_details.tpl.php 44 k 0644

footer.tpl.php 2 k 0644

header.tpl.php 10 k 0644

header_announcements_box.tpl.php 0 k 0644

header_categories_box.tpl.php 1 k 0644

header_login_box.tpl.php 1 k 0644

header_members_menu.tpl.php 9 k 0644

header_news_box.tpl.php 1 k 0644

mainpage.tpl.php 9 k 0644

members_area_header_menu.tpl.php 19 k 0644

reverse_details.tpl.php 18 k 0644

wanted_details.tpl.php 19 k 0644

 

Do you think it is any of these?

Link to comment
Share on other sites

Think that is the right file, i have got the following:-

 

<?
#################################################################
## PHP Pro Bid v6.10															##
##-------------------------------------------------------------##
## Copyright ©2007 PHP Pro Software LTD. All rights reserved.	##
##-------------------------------------------------------------##
#################################################################

if ( !defined('INCLUDED') ) { die("Access Denied"); }
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><?=$page_title;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?=LANG_CODEPAGE;?>">
<?=$page_meta_tags;?>
<link href="themes/<?=$setts['default_theme'];?>/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.lb { font-size: 14px; font-weight: bold;
background-image:  url(themes/<?=$setts['default_theme'];?>/img/mbg.gif);
border-left: 1px solid #68180c;
border-right: 1px solid #000000;
}
.lb a { color: #ffffff; text-decoration: none; }
.lb a:hover { color: #ffcc00; text-decoration: none; }

.db {font-size: 14px; font-weight: bold;
background-image:  url(themes/<?=$setts['default_theme'];?>/img/mbg.gif);
border-left: 1px solid #68180c;
border-right: 1px solid #000000;
}
.db a { color: #ffcc00; text-decoration: none; }
.db a:hover { color: #ffcc00; text-decoration: none; }

body {
background: #ffffff url(themes/<?=$setts['default_theme'];?>/img/bg.gif) top left repeat-x; 
padding: 0px; margin: 0px;}


-->
</style>
<script src="themes/<?=$setts['default_theme'];?>/SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<link href="themes/<?=$setts['default_theme'];?>/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
var currenttime = '<?=$current_time_display;?>';
var serverdate=new Date(currenttime);

function padlength(what){
var output=(what.toString().length==1)? "0"+what : what;
return output;
}

function displaytime(){
serverdate.setSeconds(serverdate.getSeconds()+1)
var timestring=padlength(serverdate.getHours())+":"+padlength(serverdate.getMinutes())+":"+padlength(serverdate.getSeconds());
document.getElementById("servertime").innerHTML=timestring;
}
		var ie4 = false;
				if(document.all) { ie4 = true; }

				function getObject(id) { if (ie4) { return document.all[id]; } else { return document.getElementById(id); } }
				function toggle(link, divId) {
					var lText = link.innerHTML;
					var d = getObject(divId);
					if (lText == '+') { link.innerHTML = '&#8211;'; d.style.display = 'block'; }
					else { link.innerHTML = '+'; d.style.display = 'none'; }
				}
window.onload=function(){
setInterval("displaytime()", 1000);
}

</script>
</head>
<body>

<table width="990" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
   <td width="100%">
   	

   	<table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr valign="top">
            <td><a href="<?=$index_link;?>"><img src="themes/<?=$setts['default_theme'];?>/img/logo.gif" border="0"></a></td>
            <td width="100%" style="padding-left: 30px; padding-top: 20px; background: #793223 url(themes/<?=$setts['default_theme'];?>/img/bg.jpg) top left no-repeat; ">
            	<div class="toplink" align="right" style="padding: 10px;"> 
            		
            	   <?=$current_date;?> <span id="servertime"></span>   |   <a href="<?=$index_link;?>"><?=MSG_BTN_HOME;?></a> | 
                   <a href="<?=process_link('content_pages', array('page' => 'faq'));?>"><?=MSG_BTN_FAQ;?></a>
                  
                  
                 | <a href="<?=process_link('content_pages', array('page' => 'help'));?>"><?=MSG_BTN_HELP;?></a>
                  
                  
                  <? if ($layout['is_about']) { ?>
                  | <a href="<?=process_link('content_pages', array('page' => 'about_us'));?>"><?=MSG_BTN_ABOUT_US;?></a>
                  <? } ?>
                  <? if ($layout['is_contact']) { ?>
                  | <a href="<?=process_link('content_pages', array('page' => 'contact_us'));?>"><?=MSG_BTN_CONTACT_US;?></a>
                  <? } ?>
               </div>
               
               <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr height="52" align="center">
                  	<td width="5" align="left"><img src="themes/<?=$setts['default_theme'];?>/img/m1.png" width="5" height="52"></td>
                     <? if (!$setts['enable_private_site'] || $is_seller)  { 	if (stristr($_SERVER['PHP_SELF'], "sell_item.php")) { ?>
                     <td nowrap class="db"> <a href="<?=$place_ad_link;?>"><?=$place_ad_btn_msg;?></a> </td>
                     <? } else { ?>
                     <td nowrap class="lb"> <a href="<?=$place_ad_link;?>"><?=$place_ad_btn_msg;?></a> </td>
                     <? } } if (stristr($_SERVER['PHP_SELF'], "members_area.php")||stristr($_SERVER['PHP_SELF'], "register.php")) { ?>
                     <td nowrap class="db"> <a href="<?=$register_link;?>"><?=$register_btn_msg;?></a> </td>
                     <? } else { ?>
                     <td nowrap class="lb"> <a href="<?=$register_link;?>"><?=$register_btn_msg;?></a> </td>
                     <? } if (stristr($_SERVER['PHP_SELF'], "login.php")) { ?>
                     <td nowrap class="db"> <a href="<?=$login_link;?>"><?=$login_btn_msg;?></a> </td>
                     <? } else { ?>
                     <td nowrap class="lb"> <a href="<?=$login_link;?>"><?=$login_btn_msg;?></a> </td>
                     <? } if ($setts['enable_stores']) { if (stristr($_SERVER['PHP_SELF'], "stores.php")) { ?>
                     <td nowrap class="db"> <a href="<?=process_link('stores');?>"><?=MSG_BTN_STORES;?></a> </td>
                     <? } else { ?>
                     <td nowrap class="lb"> <a href="<?=process_link('stores');?>"><?=MSG_BTN_STORES;?></a> </td>
                     <? } } if ($setts['enable_reverse_auctions']) { if (stristr($_SERVER['PHP_SELF'], "reverse_auctions.php")) { ?>
                     <td nowrap class="db"> <a href="<?=process_link('reverse_auctions');?>"><?=MSG_REVERSE;?></a> </td>
                     <? } else { ?>
                     <td nowrap class="lb"> <a href="<?=process_link('reverse_auctions');?>"><?=MSG_REVERSE;?></a> </td>
                     <? } } if ($setts['enable_wanted_ads']) { if (stristr($_SERVER['PHP_SELF'], "wanted_ads.php")) { ?>
                     <td nowrap class="db"> <a href="<?=process_link('wanted_ads');?>"><?=MSG_BTN_WANTED_ADS;?></a> </td>
                     <? } else { ?>
                     <td nowrap class="lb"> <a href="<?=process_link('wanted_ads');?>"><?=MSG_BTN_WANTED_ADS;?></a> </td>
                     <? }  }  ?>
                     <td width="5" align="right"><img src="themes/<?=$setts['default_theme'];?>/img/m2.png" width="5" height="52"></td>
                  </tr>
               </table>
               
             
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
         <tr height="50">
             <td width="100%" class="search" align="right">   <?=strtoupper(GMSG_BROWSE);?>  </td>
					<form name="cat_browse_form" method="get" action="categories.php">
            <td class="search"><?=$categories_browse_box;?></td>
            </form>
            <? if ($setts['enable_addthis']) { ?>
            <td nowrap align="center">  <?=$share_code;?>  </td>
            <? } ?>
          </tr>
        </table>
               
               
               
            </td>
         </tr>
      </table>

      
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
         <tr>
         	<td><img src="themes/<?=$setts['default_theme'];?>/img/slogan.gif"></td>
            <form action="auction_search.php" method="post">
            <input type="hidden" name="option" value="basic_search">
               <td class="search" nowrap width="100%" align="right"><input type="text" size="25" name="basic_search" style="font-size: 16px;"></td>
               <td class="search" nowrap><input name="form_basic_search" type="submit" value="<?=GMSG_SEARCH;?>" style="font-size: 16px;">  </td>
               <td class="search" nowrap>   <a href="<?=process_link('search');?>"><?=GMSG_ADVANCED_SEARCH;?></a>   </td>
               
            </form>
           
     
         </tr>
      </table>
      

      
      
      <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="5"></div>
      <div align="center"><?=$banner_position[5];?></div>
  <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="5"></div>
         
         
         
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr valign="top">
      	
        	<? if (!in_array($page_file_name, $browse_pages)) { ?>
      	
         <td width="180">
         	<script language="javascript">
				var ie4 = false;
				if(document.all) { ie4 = true; }

				function getObject(id) { if (ie4) { return document.all[id]; } else { return document.getElementById(id); } }
				function toggle(link, divId) {
					var lText = link.innerHTML;
					var d = getObject(divId);
					if (lText == '+') { link.innerHTML = '&#8211;'; d.style.display = 'block'; }
					else { link.innerHTML = '+'; d.style.display = 'none'; }
				}
			</script>
			<? if ($is_announcements && $member_active == 'Active') { ?>
			<?=$announcements_box_header;?>
			<div id="exp1102170555">
				<?=$announcements_box_content;?>
			</div>
            <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="5"></div>
			<? } ?>
            <?=$menu_box_header;?>
            <div id="exp1102170142">
            <?=$menu_box_content;?>
            </div>
            <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="5"></div>
            <noscript>
            <?=MSG_JS_NOT_SUPPORTED;?>
            </noscript>
            <?=$category_box_header;?>
            <div id="exp1102170166">
            <?=$category_box_content;?>
            </div>
            <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="180" height="1"></div>
            <?=$banner_position[1];?>
            <?=$banner_position[2];?>
            
			<br>


<? if ($is_news && $layout['d_news_box']) { ?>
<?=$news_box_header;?>
<?=$news_box_content;?>
<? } ?>


<?=$banner_position[3];?>
<?=$banner_position[4];?>







            </td>
		<td width="10"><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="10" height="1"></td>
<? } ?>
         <td width="100%">

 

Do i just paste the code immediately before the head?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.