Purchased software now stuck

hello guys, i purchased a software around $180 and now i am stuck and almost regretting. This is my only hope…

Its a job searching software, it installs and works fine as is, but when i want it to output somewhere in my website it doesnt work right. The code below is from the software and when i use it it outputs everything UNDER my footer!! soo weird as it is only placed at the begging of the file…

i marked !!!######## to show where i want the output.
I marked ///////SOFTWARE CODE I PURCHASED where the code from the software comes…

by using deduction logic i tested the first chunk of code at the begining of the file is responsible for outputing under the footer…can someone please instruct me how to arrange the output for me to where i need it?

thanks so much and sorry if this is confusing…mind the HTML its just joomla in cosmetic form (no joomla software)

[code]<?php
/*

  • Page header/footer/background/images properties:
    1. Find right page_id for page. Check for page mode - if there is a
  • variable with the name equal to the field “mode” of the page,
  • assume that page_id. Otherwise, page_id=ID of the page where mode is null.
  • Also, a little heuristic to determine ‘check_x’ variable.
    1. Fetch info for that page_id
      */
      if(!$page_id) {
      $q=sqlquery(“select page_id,mode,navgroup,length(header_img),last_visit<’”.date(‘Y-m-01’)."’ from pages
      where substring_index(pages.name,’/’,-1)=’".(basename($PHP_SELF))."’");
      while(list($x_page_id,$x_mode,$navgroup,$x_has_header,$reset_hits)=sqlfetchrow($q)) {
      if($x_mode && ($_POST[$x_mode] || $_GET[$x_mode] ||
      $GLOBALS[$x_mode] || ($x_mode==‘check’ && (
      $_POST[$x_mode.’_x’] || $_GET[$x_mode.’_x’] ||
      $GLOBALS[$x_mode.’_x’])))) {
      $page_id=$x_page_id;
      break;
      }
      }
      sqlfree($q);
      if(!$page_id) {
      list($page_id,$navgroup,$x_has_header,$reset_hits)=sqlget("
      select page_id,navgroup,length(header_img),last_visit<’".date(‘Y-m-01’)."’ from pages
      where (mode=’’ or mode is null) and
      substring_index(pages.name,’/’,-1)=’".(basename($PHP_SELF))."’");
      }
      }

list($x_title,$x_header,$x_footer,$x_bg,$x_has1,$x_has2,$x_has3,$x_has4,
$x_has5,$x_hasbg,
$x_color,$x_font_size,
$x_table,$x_meta)=sqlget("
select title,header,footer,background,length(image1),
length(image2),length(image3),length(image4),length(image5),
length(bg_image),
font_color,font_size,
table_color,meta
from pages_properties
where pages_properties.page_id=’$page_id’");
list($has_header,$header_align,$has_footer,$footer_align,$header_html,
$footer_html,$has_logo,$top_nav,$topnav_textcolor,
$links_color,$toptable_color,$bottomtable_color,
$textmain,$has_mainimg,$has_mainimg2,$has_main_footer,
$main_footer_align)=sqlget("
select length(header),header_align,length(footer),footer_align,
header_html,footer_html,length(logo),
top_navigation,topnav_textcolor,links_color,
toptable_color,bottomtable_color,
textmain,length(mainimg),length(mainimg2),length(main_footer),
main_footer_align
from navlinks where navgroup=’$navgroup’");
/* log the last visit time to the page, and increase (or reset) hits number /
sqlquery("
update pages set hits=".($reset_hits?“1”:“hits+1”).",last_visit=now()
where page_id=’$page_id’");
/
check the hits limit, and issue a warning if necessary */
if($job_hits_limit && $navgroup==1) {
switch($navgroup) {
case 1:
$notice=“Recruiter pages”;
$limit=$job_hits_limit;
break;
}
if(hits_number($navgroup,2)>$limit) {
echo “$notice are disabled. Please contact support.”;
exit();
}
}

if(!$x_bg)
$x_bg=’#ffffff’;

list($navbutton_bg,$powered_bg)=sqlget("
select navbutton_bg,powered_bg from config");

?>

<?php echo stripslashes($x_title); ?> <?php echo $x_meta; ?> ////SOFTWARE CODE I PURCHASED p { color: <?php echo $x_color; ?>; font-size: <?php echo $x_font_size; ?>pt; font-family: Helvetica, Arial } table { border: 0; } th { background-color: #aaaaff; color: black; font-size: <?php echo $x_font_size; ?>pt; font-family: Helvetica, Arial; } td { color: <?php echo $x_color; ?>; font-size: <?php echo $x_font_size; ?>pt; font-family: Helvetica, Arial } input { font-size: <?php echo $x_font_size; ?>pt; background-color: #eeeeee;}; h1 { font-size: 18pt; } h2 { font-size: 16pt; }
top
  topleft
lefttop
FCCG logo
topright
  Select ???? English
				<a href="http://www.joomlart.com"><h1>Transmenu powered by JoomlArt.com - Mambo Joomla Professional Templates Club</h1> </a>
					
				</div>
		<link rel="stylesheet" type="text/css" href="http://fccg.com.kw/modules/ja_transmenu/transmenuh.css">
		<script language="javascript" src="http://fccg.com.kw/modules/ja_transmenu/transmenu.js"></script>
	<div id="wrap"><div id="menu"><table cellpadding=0 cellspacing=0 border=0><tr><td><a href="http://fccg.com.kw/index.php" class="mainlevel-trans" id="menu17">Home</a></td><td><a href="http://fccg.com.kw/index.php?option=com_content&task=blogsection&id=8&Itemid=29" class="mainlevel-trans" id="menu29">Investors</a></td><td><a href="http://fccg.com.kw/index.php?option=com_content&task=blogsection&id=1&Itemid=27" class="mainlevel-trans" id="menu27">News</a></td><td><a href="http://fccg.com.kw/index.php?option=com_content&task=blogsection&id=7&Itemid=28" class="mainlevel-trans" id="menu28">Companies</a></td><td><a href="http://fccg.com.kw/index.php?option=com_contact&Itemid=3" class="mainlevel-trans" id="menu18">Contact Us</a></td></tr></table></div></div>
		<script language="javascript">
		if (TransMenu.isSupported()) {
			TransMenu.updateImgPath('http://fccg.com.kw/modules/ja_transmenu/');
			var ms = new TransMenuSet(TransMenu.direction.down, 0, 0, TransMenu.reference.bottomLeft);
			TransMenu.subpad_x = 1;
			TransMenu.subpad_y = 0;

		
			document.getElementById("menu17").onmouseover = function() {
				ms.hideCurrent();
			}
			var tmenu29 = ms.addMenu(document.getElementById("menu29"));

tmenu29.addItem(“Current Stock Quotes”, “http://fccg.com.kw/index.php?option=com_content&task=view&id=35&Itemid=73”, 0, 0);
tmenu29.addItem(“Investor News Release”, “http://fccg.com.kw/index.php?option=com_content&task=view&id=36&Itemid=74”, 0, 0);
tmenu29.addItem(“Annual Reports”, “http://fccg.com.kw/index.php?option=com_content&task=view&id=37&Itemid=75”, 0, 0);

			document.getElementById("menu27").onmouseover = function() {
				ms.hideCurrent();
			}
			var tmenu28 = ms.addMenu(document.getElementById("menu28"));

tmenu28.addItem(“FCC”, “http://fccg.com.kw/index.php?option=com_content&task=blogcategory&id=17&Itemid=37”, 0, 0);
tmenu28.addItem(“FCCI”, “http://fccg.com.kw/index.php?option=com_content&task=blogcategory&id=18&Itemid=36”, 0, 0);
tmenu28.addItem(“FTI”, “http://fccg.com.kw/index.php?option=com_content&task=blogcategory&id=19&Itemid=35”, 0, 0);
tmenu28.addItem(“FutureRFID”, “http://fccg.com.kw/index.php?option=com_content&task=blogcategory&id=20&Itemid=34”, 0, 0);
tmenu28.addItem(“MCC”, “http://fccg.com.kw/index.php?option=com_content&task=blogcategory&id=24&Itemid=33”, 0, 0);

			document.getElementById("menu18").onmouseover = function() {
				ms.hideCurrent();
			}
			
			TransMenu.renderAll();
		}
		init1=function(){TransMenu.initialize();}
		if (window.attachEvent) {
			window.attachEvent("onload", init1);
		}else{
			TransMenu.initialize();			
		}
		</script>
	<!-- End menu -->
     
  leftshade
 
top
  <tr>
    <td height="6"><img src="http://fccg.com.kw/templates/fccg-kn-1-2/images/spacer.png" alt="top" border="0" height="1" width="1" /></td>
  </tr>
  <tr>
    <td class="mainbodytd"><table class="blog" cellpadding="0" cellspacing="0"><tr><td valign="top"><div>				<table class="contentpaneopen">
		<tr>
							<td class="contentheading" width="100%">
				<div id="title2"><br><p>

//////////SOFTWARE CODE I PURCHASED

<?php switch($header_align) { case '1': $header_align='left'; break; case '2': $header_align='center'; break; case '3': $header_align='right'; break; default: $header_align='left'; break; } if(!$header_html) { ?>

///////SOFTWARE CODE I PURCHASED

<?php } // !$header_html else echo $header_html; list($allow_register,$allow_featured)=sqlget(" select allow_register,featured from job_config"); if($user_id) { $pub=0; } else { $pub=1; } if($max_resume) { list($resume_number)=sqlget("select count(*) from resume"); if($resume_number>=$max_resume) $allow_register=0; } $q=sqlquery(" select name,url,color from navigation where active=1 and pub in (2,'$pub') order by sort asc"); $numrows=sqlnumrows($q); if($numrows) echo ""; while(list($name,$url,$color)=sqlfetchrow($q)) { if(!$allow_register && $url=='resume_register.php') continue; if(!$user_id && $url=='home.php') $url='main.php'; list($baseurl,$junk)=explode('?',$url); if($baseurl==basename($PHP_SELF) && (($baseurl=='kb.php' && $QUERY_STRING=='favorites=1' && $url=='kb.php?favorites=1') || ($baseurl=='kb.php' && !$QUERY_STRING && $url=='kb.php') || $baseurl!='kb.php')) { $curr='class=Arial12Yellow'; $currname=$name; } else $curr=''; echo ""; } if($numrows) echo " "; if(!$header_html) { if(strpos($PHP_SELF,'main.php')===false) { echo ""; if($x_has_header) echo ""; else echo ""; echo ""; } // !main.php else { if(!$has_mainimg2) echo ""; else echo ""; } } ?>

!!!########!!!########!!!########!!!########!!!########
!!!########!!!########!!!########!!!########
!!!########!!!########!!!########!!!########!!!########

I WANT THE STUFF HERE!!!1

!!!########!!!########!!!########!!!########!!!########!!!########
!!!########!!!########!!!########


Welcome to FCCG

	<!--
	function importStyleSheet(shtName){
		// add style sheet via javascript
		var link = document.createElement( 'link' );
		link.setAttribute( 'href', shtName );
		link.setAttribute( 'type', 'text/css' );
		link.setAttribute( 'rel', 'stylesheet' );			
		var head = document.getElementsByTagName('head').item(0);
		head.appendChild(link);
	}
	-->
	</script>
			
		<!--<link rel="stylesheet" type="text/css" href="http://fccg.com.kw/modules/infinity_menus/css/dropdown/coldblue.css" /> -->
		<script type='text/javascript'>
		<!--
			importStyleSheet('http://fccg.com.kw/modules/infinity_menus/css/dropdown/coldblue.css');
		-->
		</script>
		<!--CSS file exists (/home/fccg/public_html//modules/infinity_menus/css/dropdown/coldblue.css)--><div style='z-index:500; height:auto;'>
	<script type = "text/javaScript" src="http://fccg.com.kw/modules/infinity_menus/js/dropdownmenux_crunched.js"></script> <!--Mod by Guy Thomas 2004/12/06-->
	<script type = "text/javaScript" src="http://fccg.com.kw/modules/infinity_menus/js/dropdownmenux_ie5_crunched.js"></script> <!--Mod by Guy Thomas 2004/12/06-->
	
	<!-- add menu initialise to onload event-->
	<script type="text/javascript">	
	<!--					
	// create init function
	function infinity_menu_1_init(){eval("var infinity_menu_1 = new DropDownMenuX('infinity_menu_1');infinity_menu_1.type = 'vertical';infinity_menu_1.delay.show = 20;infinity_menu_1.delay.hide = 400;infinity_menu_1.position.level1.left = 0;infinity_menu_1.position.levelX.left = 0;infinity_menu_1.fitWidth = 0;infinity_menu_1.init();");}
	// add init function to onload event
	if (document.body.currentStyle){
		//ie code
		window.attachEvent('onload', infinity_menu_1_init);
	} else {
		//mozilla code
		window.addEventListener("load", infinity_menu_1_init, false);
	}
	-->
	</script>			
		</td>
	</tr>
	</table>
			<table cellpadding="0" cellspacing="0" class="moduletable-left">
				<tr>
			<th valign="top">
				Latest News				</th>
		</tr>
				<tr>
		<td>
			<ul class="latestnews-left">
<li class="latestnews-left">
	<a href="http://fccg.com.kw/index.php?option=com_content&amp;task=view&amp;id=51&amp;Itemid=26" class="latestnews-left">
		Future to Authentec: e-Management of Sales and Services POSS Program</a>
</li>
	<li class="latestnews-left">
	<a href="http://fccg.com.kw/index.php?option=com_content&amp;task=view&amp;id=50&amp;Itemid=26" class="latestnews-left">
		Al-Awadi: FCC is awarded Two ISO certificates for all its affiliate companies.</a>
</li>
	<li class="latestnews-left">
	<a href="http://fccg.com.kw/index.php?option=com_content&amp;task=view&amp;id=49&amp;Itemid=26" class="latestnews-left">
		FCC is ranked first in Data Lines Sales</a>
</li>
	<li class="latestnews-left">
	<a href="http://fccg.com.kw/index.php?option=com_content&amp;task=view&amp;id=48&amp;Itemid=26" class="latestnews-left">
		Future Stock is open for trading</a>
</li>
	<li class="latestnews-left">
	<a href="http://fccg.com.kw/index.php?option=com_content&amp;task=view&amp;id=46&amp;Itemid=26" class="latestnews-left">
		Prelisting seminar</a>
</li>
</ul>			</td>
	</tr>
	</table>
	</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table></td>
    <td width="10">&nbsp;</td>
  </tr>
</table></td>
<td width="12" valign="top" class="mainbodybg"><img src="http://fccg.com.kw/templates/fccg-kn-1-2/images/leftshade2.jpg" alt="Leftshade2" width="12" height="252" /></td>
<td width="548" valign="top" class="mainbodybg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="12"><img src="http://fccg.com.kw/templates/fccg-kn-1-2/images/spacer.png" alt="top" border="0" height="1" width="1" /></td>
  </tr>
        <tr>
    <td>		

	<table class="contentpaneopen">
			<tr>
		<td valign="top" colspan="2">
			FCCG is a holding company operating through its subsidiaries namely five (5) businesses whose main business interest is NOKIA Mobile Wholesale, Retail and Services Provider, NOKIA Networks, Radio Frequency Identification Technology, Information Technology and Wireless Service Provider.<br /><br />FCCG&rsquo;s place in the State of Kuwait business has for its cornerstone a business portfolio of market leaders, strong financial capability, remarkable management team, and a vision of leading the country to global-competitiveness and making life better for every citizen of Kuwait.&nbsp;			</td>
	</tr>
			</table>

	<span class="article_seperator">&nbsp;</span>

	</div></td></tr></table></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  	  
  <tr>
    <td class="mainbodytd"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="174" valign="top" class="boxbg2">		<table cellpadding="0" cellspacing="0" class="moduletable-box1">
				<tr>
			<th valign="top">
				Corporate Governance				</th>
		</tr>
				<tr>
		<td>
			In today&rsquo;s increasingly global marketplace, sound corporate governance plays a critical role to create value for its businesses and stakeholders and to contribute to the overall development of the society it serves.			</td>
	</tr>
	</table>
	</td>
        <td>&nbsp;</td>
        <td width="174" valign="top" class="boxbg2">		<table cellpadding="0" cellspacing="0" class="moduletable-box2">
				<tr>
			<th valign="top">
				Business Interest				</th>
		</tr>
				<tr>
		<td>
			FCCG is the leading company in advance communication industry in the State of Kuwait, with strategic investment in the communications services and infrastructure businesses which contribute to the countries long-term development.			</td>
	</tr>
	</table>
	</td>
        <td>&nbsp;</td>
        <td width="174" valign="top" class="boxbg2">		<table cellpadding="0" cellspacing="0" class="moduletable-box3">
				<tr>
			<th valign="top">
				Telecommunication				</th>
		</tr>
				<tr>
		<td>
			Full-service telecommunications provider with digital wireless communication, data transmission, local and international communication and mobile-commerce services 			</td>
	</tr>
	</table>
	</td>
      </tr>
    </table></td>
  </tr>
  	  <tr>
    <td>&nbsp;</td>
  </tr>
</table></td>
<td width="12" valign="top" class="mainbodybg">&nbsp;</td>
<td width="12" valign="top">&nbsp;</td>
<td>&nbsp;</td>
   
Copyright 2006 © Future Communications Company Global


   

!!!########!!!########!!!########!!!########!!!########!!!########!!!########!!!########!!!########!!!########!!!########!!!########
THE OUTPUT CMOES OUT HERE!!!###############

"[/code]

If you paid for software, you also have official support on said software. This support comes from people who know far more about your software than we do. What has consulting them produced, and why did that not solve your issue?

Sponsor our Newsletter | Privacy Policy | Terms of Service