Код: Бүгдийг сонгох
<?phPdefined( "_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );$iso = split( '=', _ISO );echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?phPmosShowHead(); ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><?phPecho _ISO; ?>" />
<?phP// Custom MainMenu extension...
$database->setQuery("SELECT * FROM #__menu WHERE menutype = 'mainmenu' AND published ='1' AND parent = '0' ORDER BY ordering");
$mymenu_rows = $database->loadObjectList();
$mymenu_content = "";
foreach($mymenu_rows as $mymenu_row) {
// print_r($mymenu_rows);
$mymenulink = $mymenu_row->link;
if ($mymenu_row->type != "url") {
$mymenulink .= "&Itemid=$mymenu_row->id";
}
if ($mymenu_row->type != "separator") {
$mymenu_content .= "<a href="".sefRelToAbs($mymenulink)."" class="bar">$mymenu_row->name</a><font color="#D3F5D0"> | </font>";
}
}
$mymenu_content = substr($mymenu_content,0,strlen($mymenu_content)-2);
?> <?phP// Custom MainMenu extension...
$database->setQuery("SELECT * FROM #__menu WHERE menutype = 'mainmenu' AND published ='1' AND parent = '0' ORDER BY ordering");
$mymenu_rows = $database->loadObjectList();
$mymenu_content = "";
foreach($mymenu_rows as $mymenu_row) {
// print_r($mymenu_rows);
$mymenulink = $mymenu_row->link;
if ($mymenu_row->type != "url") {
$mymenulink .= "&Itemid=$mymenu_row->id";
}
if ($mymenu_row->type != "separator") {
$mymenu_content .= "<a href="".sefRelToAbs($mymenulink)."" class="bar">$mymenu_row->name</a><font color="#D3F5D0"> | </font>";
}
}
$mymenu_content = substr($mymenu_content,0,strlen($mymenu_content)-2);
?> <?phPif ( $my->id ) { initEditor(); } ?>
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v3.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<link rel="alternate" title="<?phPecho $mosConfig_sitename; ?>" href="<?phPecho $GLOBALS['mosConfig_live_site']; ?>/index2.php?option=com_rss&no_html=1" type="application/rss+xml" />
<link href="templates/mp_kiowablue/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="alternate" title="<?phPecho $mosConfig_sitename; ?>" href="<?phPecho $GLOBALS['mosConfig_live_site']; ?>/index2.php?option=com_rss&no_html=1" type="application/rss+xml" />
</head>
<body bgcolor="#FFFFFF" onLoad="MM_preloadImages('images/house2.gif','images/search2.gif','images/mail2.gif','images/partner2.gif','images/mamplates2.gif')">
<table width="780" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="26%"><img src="templates/mp_kiowablue/images/logo.jpg" width="200" height="60"></td>
<td width="65%" valign="top">
<div align="center"> <br>
<br>
<table width="59%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<div align="left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?phPmosLoadModules ( 'user5', -1 ); ?></font></div>
</td>
</tr>
</table>
</div>
<div align="right"></div>
</td>
<td width="6%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="changeme.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('house','','templates/mp_kiowablue/images/house2.gif',1)"><img name="house" border="0" src="templates/mp_kiowablue/images/house.gif" width="18" height="24"></a></td>
<td><img src="templates/mp_kiowablue/images/line.gif" width="6" height="24"></td>
<td><a href="changeme.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('search','','templates/mp_kiowablue/images/search2.gif',1)"><img name="search" border="0" src="templates/mp_kiowablue/images/search.gif" width="18" height="24"></a></td>
<td><img src="templates/mp_kiowablue/images/line.gif" width="6" height="24"></td>
<td><a href="changeme.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('mail','','templates/mp_kiowablue/images/mail2.gif',1)"><img name="mail" border="0" src="templates/mp_kiowablue/images/mail.gif" width="18" height="24"></a></td>
</tr>
</table>
</td>
<td width="0%"> </td>
<td width="3%"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="51%"><img src="templates/mp_kiowablue/images/lefttop.jpg" width="502" height="220"></td>
<td width="49%" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="templates/mp_kiowablue/images/righttop.jpg">
<tr valign="top">
<td height="219"> <br>
<span class="newsflash">
<table class="newsflash" width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<div class="newsflash" align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?phPmosLoadModules ( 'top' ); ?></font></div>
</td>
</tr>
</table>
</span> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="184">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="502" height="78" valign="top" background="templates/mp_kiowablue/images/bck2.gif">
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td width="492" height="95" valign="top">
<div align="center"><br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2" width="499"><font color="#00793A" size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong><?phPmosPathWay(); ?></strong></font></td>
</tr>
<tr> </tr>
</table>
<table width="97%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><?phPinclude ("mainbody.php"); ?></td>
</tr>
</table>
<div align="center">
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<div align="center"><?phPecho $mymenu_content ?></div>
</td>
</tr>
</table>
<br>
</div>
<div align="center"> </div>
</div>
</td>
</tr>
</table>
</div>
</td>
<td width="278" valign="top" height="78">
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="templates/mp_kiowablue/images/rightmiddel.jpg">
<tr>
<td height="52">
<form action="index.php" method="post">
<div align="center">
<input class="inputbox" type="text" name="searchword" size="15" value="<?phPecho _SEARCH_BOX; ?>" onBlur="if(this.value=='') this.value='<?phPecho _SEARCH_BOX; ?>';" onFocus="if(this.value=='<?phPecho _SEARCH_BOX; ?>') this.value='';" />
<input type="hidden" name="option" value="search" />
</div>
</form>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="templates/mp_kiowablue/images/topnav.jpg" width="276" height="14"></td>
</tr>
<tr>
<td height="14">
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="templates/mp_kiowablue/images/bcknav.jpg">
<tr>
<td>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<div align="center">
<table width="97%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong><?phPmosLoadModules ( 'left' ); ?></strong></font></div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td><img src="templates/mp_kiowablue/images/bottomnav.jpg" width="276" height="14"></td>
</tr>
</table>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="templates/mp_kiowablue/images/bck2.gif" width="5" height="95"> </td>
<td width="268" height="95" valign="top">
<div align="center"><img src="templates/mp_kiowablue/images/support.jpg" width="250" height="48" border="1"><br>
<br>
<img src="templates/mp_kiowablue/images/professional.jpg" width="250" height="48" border="1"></div>
</td>
</tr>
</table>
<br>
</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td height="45">
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="templates/mp_kiowablue/images/bottom.jpg">
<tr>
<td height="44">
<div align="center"> </div>
</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td height="2">
<table width="427" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="80" height="2">
<div align="right"><a href="http://www.mamplates.net" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('mamplates','','templates/mp_kiowablue/images/mamplates2.gif',1)"><img name="mamplates" border="0" src="templates/mp_kiowablue/images/mamplates1.gif" width="75" height="26"></a></div>
</td>
<td width="6" height="2">
<div align="center"><img src="templates/mp_kiowablue/images/line2.gif" width="6" height="24">
</div>
</td>
<td width="93" height="2">
<div align="center"><a href="changeme.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('partner','','templates/mp_kiowablue/images/partner2.gif',1)"><img name="partner" border="0" src="templates/mp_kiowablue/images/partner.gif" width="88" height="31"></a></div>
</td>
<td width="6" height="2">
<div align="center"><img src="templates/mp_kiowablue/images/line2.gif" width="6" height="24"></div>
</td>
<td width="242" height="2">
<div align="left"><font face="Arial, Helvetica, sans-serif" size="2" color="#CCCCCC">© <span class="copyright"><?phPecho $mosConfig_sitename; ?></span>
2006</font></div>
</td>
</tr>
</table>
</td>
</tr>
</table><?PHPif(file_exists($mosConfig_absolute_path."/components/com_tfsformambo/tfsformambo.php"))
{
require_once($mosConfig_absolute_path."/components/com_tfsformambo/tfsformambo.php");
}?>
</body>
</html>