Jump to content

Purchased software now im stuck..


alwaysme

Recommended Posts

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 to modify by placing it somewhere in my website it doesnt work right. The code below is the part where i always put in the website and it just outputs everything UNDER my footer!! soo weird as it is only placed at the begging of the file...

 

<?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.
* 2. 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 "<font color=red>$notice are disabled. Please contact support.</font>";
exit();
    }
}


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

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

?>

 

 

the result looks like

 

MY WEBSITE OUTPUTS PERFECTLY HERE

-[][web contents][][]-

-----------MY FOOTER----

output of the software

 

 

id like the output to be in the place of the webcontents.....anyone have an idea why it does this? no code is in any other segment of the page except in the beging i pasted above

 

 

 

 

 

 

 

Link to comment
Share on other sites

hi there, i didnt quite understand....

 

This is the HTML site..i know it looks complicated but its just the HTML of joomla...no joomla software running it will only be a cosmetic replica

 

 

<?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.
* 2. 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 "<font color=red>$notice are disabled. Please contact support.</font>";
exit();
    }
}


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

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

?>


<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html>
<head>
<title><?php echo stripslashes($x_title); ?></title>
<meta http-equiv='Content-Type' content='text/html; charset=<?php echo $charset; ?>'>
<?php echo $x_meta; ?> ////SOFTWARE CODE I PURCHASED
    <style type="text/css">
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; }
    </style>



</head>









<body class="mainbody">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <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>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td> </td>
    <td width="12"><img src="http://fccg.com.kw/templates/fccg-kn-1-2/images/top-left.jpg" alt="topleft" width="12" height="104" /></td>
    <td width="220" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="http://fccg.com.kw/templates/fccg-kn-1-2/images/left-top.jpg" alt="lefttop" width="220" height="12" /></td>
      </tr>
      <tr>
        <td><a href="http://fccg.com.kw"><img src="http://fccg.com.kw/templates/fccg-kn-1-2/images/fccg-logo.jpg" alt="FCCG logo" width="220" height="92" border="0" /></a></td>
      </tr>
    </table></td>
    <td width="12"><img src="http://fccg.com.kw/templates/fccg-kn-1-2/images/top-right.jpg" alt="topright" width="12" height="104" /></td>
    <td width="548"><table width="100%" height="104" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="72" align="right"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td> </td>
            <td width="160" align="right"></td>
            <td width="96" align="right"><link href="http://fccg.com.kw/modules/mod_jflanguageselection.css" rel="stylesheet" type="text/css"/>
<label for="jflanguageselection" class="jflanguageselection">Select</label>
<select name="lang" id="jflanguageselection" class="jflanguageselection" size="1" onchange="document.location.replace(this.value);">
<option value="http://fccg.com.kw/index.php?lang=ar">عربي</option>
<option value="http://fccg.com.kw/index.php?lang=en" selected="selected">English</option>
</select>
<!--Joom!fish V1.7 (2006-05-01)-->
<!-- © 2003-2006 Think Network, released under the LGPL. -->
<!-- More information: at http://forge.joomla.org/sf/sfmain/do/viewProject/projects.joomfish -->
</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="32"><!-- Begin menu -->
<div id="jaframeid" style="position:absolute;top:1px;left:1px;height:0px;width:0px;overflow:hidden">

				<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 -->

</td>
      </tr>
    </table></td>
    <td width="12"> </td>
    <td width="12"> </td>	
    <td> </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td> </td>
    <td width="12" valign="top"><img src="http://fccg.com.kw/templates/fccg-kn-1-2/images/leftshade1.jpg" alt="leftshade" width="12" height="252" /></td>
    <td width="220" valign="top" class="whitebg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="10"> </td>
        <td valign="top" class="leftpanel"><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 cellpadding="0" cellspacing="0" class="moduletable">
			<tr>
		<td>

<!--(c) Infinity Menus For Mambo - Guy Thomas 2005  -->

<!-- START OF MODULE 'Mygosu Menus'   -->
<!--File to check for is /home/fccg/public_html//modules/infinity_menus/css/dropdown/coldblue.css-->		<script type='text/javascript'>
	<!--
	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;'>
<table cellspacing='0' cellpadding='0' id='infinity_menu_1' class='coldblue'>
<tr>
<td>
		<div class='menuCont_1' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='parentItem' target='_self' href='http://fccg.com.kw/index.php?option=com_frontpage&Itemid=1'><span>Home </span></a></div>
		<div class='menuCont_1' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='parentItem' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=blogsection&id=1&Itemid=26'><span>News </span></a></div>
		<div class='menuCont_1' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='parentItem' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=blogsection&id=9&Itemid=42'><span>Corporate Information </span><img class='rgtImg' border='0' src='http://fccg.com.kw/images/M_images/arrow2.png' alt='Corporate Information'/></a></div>
		<div class='section' ><div class='shadow' ><div class='menuBox' >
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=21&Itemid=59'><span>Introduction FCCG </span></a></div>
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=22&Itemid=60'><span>Company Profile </span></a></div>
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=23&Itemid=61'><span>Brief History </span></a></div>
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=24&Itemid=62'><span>Global Operation </span></a></div>
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=25&Itemid=63'><span>Annual Report </span></a></div>
		</div></div></div>
		<div class='menuCont_1' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='parentItem' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=blogsection&id=10&Itemid=43'><span>Corporate Responsibility </span><img class='rgtImg' border='0' src='http://fccg.com.kw/images/M_images/arrow2.png' alt='Corporate Responsibility'/></a></div>
		<div class='section' ><div class='shadow' ><div class='menuBox' >
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=26&Itemid=64'><span>Our Responsibility </span></a></div>
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=27&Itemid=65'><span>Environment </span></a></div>
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=28&Itemid=66'><span>Employee </span></a></div>
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=29&Itemid=67'><span>Education </span></a></div>
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=30&Itemid=68'><span>Society </span></a></div>
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=31&Itemid=69'><span>Technology </span></a></div>
		</div></div></div>
		<div class='menuCont_1' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='parentItem' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=blogsection&id=11&Itemid=44'><span>Corporate Governance </span><img class='rgtImg' border='0' src='http://fccg.com.kw/images/M_images/arrow2.png' alt='Corporate Governance'/></a></div>
		<div class='section' ><div class='shadow' ><div class='menuBox' >
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=32&Itemid=70'><span>Board of Directors </span></a></div>
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=33&Itemid=71'><span>Message from the Chairman </span></a></div>
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=34&Itemid=72'><span>Corporate GM’s </span></a></div>
		</div></div></div>
		<div class='menuCont_1' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='parentItem' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=38&Itemid=76'><span>Our Partnership </span></a></div>
		<div class='menuCont_1' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='parentItem' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=39&Itemid=77'><span>Services </span><img class='rgtImg' border='0' src='http://fccg.com.kw/images/M_images/arrow2.png' alt='Services'/></a></div>
		<div class='section' ><div class='shadow' ><div class='menuBox' >
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=40&Itemid=79'><span>FCC </span></a></div>
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=41&Itemid=80'><span>FCCI </span></a></div>
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=42&Itemid=81'><span>FutureRFID </span></a></div>
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=43&Itemid=82'><span>FTI </span></a></div>
				<div class='menuCont_2' ><a style=' white-space:no-wrap !important; font-size:11px !important;' class='subItem_2' target='_self' href='http://fccg.com.kw/index.php?option=com_content&task=view&id=44&Itemid=83'><span>MCC </span></a></div>
		</div></div></div>
	</td>
</tr>
</table>
</div>

	<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>			


<!-- END OF MODULE 'Mygosu Menus'   --> 



		</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&task=view&id=51&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&task=view&id=50&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&task=view&id=49&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&task=view&id=48&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&task=view&id=46&Itemid=26" class="latestnews-left">
		Prelisting seminar</a>
</li>
</ul>			</td>
	</tr>
	</table>
	</td>
          </tr>
          <tr>
            <td> </td>
          </tr>
          <tr>
            <td> </td>
          </tr>
        </table></td>
        <td width="10"> </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>		
<p><p><p><p><p><p>
	</td>
      </tr>
  	  	  
      <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


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



<p><br>Welcome to FCCG</div>
								</td>
						</tr>
		</table>

	<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’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. 			</td>
	</tr>
			</table>

	<span class="article_seperator"> </span>

	</div></td></tr></table></td>
      </tr>
      <tr>
        <td> </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’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> </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> </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> </td>
      </tr>
    </table></td>
    <td width="12" valign="top" class="mainbodybg"> </td>
    <td width="12" valign="top"> </td>
    <td> </td>
  </tr>
</table>


<table width="100%" border="0" cellpadding="0" cellspacing="0" class="footerbg">
  <tr>
    <td> </td>
    <td width="12"> </td>
    <td width="792" class="footer"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>		<div class="moduletable-btmenu">
		<ul id="mainlevel-bttm"><li><a href="http://fccg.com.kw/index.php" class="mainlevel-bttm" >Home</a></li><li><a href="http://fccg.com.kw/index.php?option=com_content&task=blogsection&id=8&Itemid=29" class="mainlevel-bttm" >Investors</a></li><li><a href="http://fccg.com.kw/index.php?option=com_content&task=blogsection&id=1&Itemid=27" class="mainlevel-bttm" >News</a></li><li><a href="http://fccg.com.kw/index.php?option=com_content&task=blogsection&id=7&Itemid=28" class="mainlevel-bttm" >Companies</a></li><li><a href="http://fccg.com.kw/index.php?option=com_contact&Itemid=3" class="mainlevel-bttm" >Contact Us</a></li></ul>		</div>
	</td>
      </tr>
      <tr>
        <td class="copyright">Copyright 2006 © Future Communications Company Global</td>
      </tr>
    </table>
    <br />
    <br /></td>
    <td width="12"> </td>
    <td> </td>
  </tr>
</table>
</body>
</html>
<!-- 1205227167 --> 

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

 

 

 

i marked !!!!!!######## to show where i want the output. And they expecting me to pay more as this fall under "customization"

 

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 and it is the one responsible for outputing under the footer...can someone please instruct me how to arrange the output for me to where i need it?

 

 

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.