0
//===============Castle Siege Time====================

$castlesiege="16 AM";

//=============END Castle Siege Time===================


//=============SERVER EVENTS AND TIPS============

//Events
$event1='Drop Event Today';
$event2='Find GM in Lorenica';
$event3='Race with unila in Lorencia';

//Tips
$tips1='Server experience changed';
$tips2='New spots have been add';
$tips3='New items at lorencia bar';

//===========END SERVER EVENTS AND TIPS==========


//=======POLL PASSWORD====
//Require when you set new polls

$pollpassword='poll_password';

//======END POLL PASSWORD==


//========ENABLE AND DISABLE OPTIONS FROM PAGE====
//enable is 1 and disable is 0

//new account
$newaccount='100000';

//reset character
$resetcharacter='1000000';

//clear pk
$clearpk='999999';

//Stats add
$addstats='10';

//Stats fix
$statsfix='10';

//Change password
$changepassword='3';

//Forget Password
$forgetpassword='3';

//Warp Character
$warpcharacter='5';

//Search
$searchcharacter='999999';
$searchguild='999999';

//GM's List
$gmlist='10';

//======END ENABLE AND DISABLE OPTIONS FROM PAGE========


//============MAX TOP CHARACTERS SHOW ON PAGE=====================
//15 is max top characters (put what number you want,default 15)
//Characters
$top='15';

//==========END MAX TOP CHARACTERS SHOW ON PAGE===================


//===========SERVER INFO===============
                                            
//Server name                                   
$servername= "MuHelix";                           
                                              
//Server version                               
$serverversion= "1.02D";                        
                                             
//Server experience                             
$serverexp= "1000X";                              
                                            
//Server drop                                   
$serverdrop= "75%";                             
                                            
//Server conect port                            
$serverport= "59960";                           
                                              
//=========END SERVER INFO=============


//==========RESET CONFIG==============
                                              
//Zen required for clear pk                     
$clearpkzen= "3000000";                         
                                            
//Level reset character                         
$levelreset= "400";                             
                                            
//Zen required for reset character              
$resetzen= "10000000";         

//Levelup points for reset
$resetpoints='500';                 
                                             
//========END RESET CONFIG============


//================WEBSITE CONFIGURATION======================
                                                                               
// Gameserver port, used for the online/offline status check                       
$port = "55901";                                                                   
                                                                                                                                                           
//Website title                                                                                            
$title= "MuHelix Gangztah Edition";                                                       
                                                                                
//=============END OF WEBSITE CONFIGURATION==================


//===============LINKS=========================
                                            
//Downloads client link                      
$downloadclient= "http://client link";        
                                           
//Downloads launcher link                    
$downloadlauncher= "http://launcher link";    
                                          
//Downloads patch link                       
$downloadpatch= "http://patch link";          
                                          
//Forum link                                  
$forumlink= "http://muhelix.prophpbb.com";       
                                         
//==============END LINKs======================


//===================================GALLERY=============================================
//All images go to modules/gallery
//Gallery images directory

//1
$gallerypic1directory='smallDK_1024.jpg';
//2
$gallerypic2directory='smallDK_1024.jpg';
//3
$gallerypic3directory='smallDW_1024.jpg';
//4
$gallerypic4directory='smallFE_1024.jpg';
//5
$gallerypic5directory='smallType-01.jpg';
//6
$gallerypic6directory='smallType-03.jpg';
//7
$gallerypic7directory='smallType-04.jpg';
//8
$gallerypic8directory='Type-02.jpg';
//9
$gallerypic9directory='Type-05.jpg';
//10
$gallerypic10directory='1.jpg';
//11
$gallerypic11directory='2.jpg';
//12
$gallerypic12directory='3.jpg';
//13
$gallerypic13directory='4.jpg';
//14
$gallerypic14directory='5.jpg';
//15
$gallerypic15directory='6.jpg';
//16
$gallerypic16directory='7.jpg';
//17
$gallerypic17directory='8.jpg';
//18
$gallerypic18directory='9.jpg';


//Description of images
//1
$description1='image1';
//2
$description2='image2';
//3
$description3='image3';
//4
$description4='image4';
//5
$description5='image5';
//6
$description6='image6';
//7
$description7='image7';
//8
$description8='image8';
//9
$description9='image9';
//10
$description10='image10';
//11
$description11='image11';
//12
$description12='image12';
//13
$description13='image13';
//14
$description14='image14';
//15
$description15='image15';
//16
$description16='image16';
//17
$description17='image17';
//18
$description18='image18';

//=========================================END GALLERY====================================



//===============GOOGLE ADS==============
//Google ads code here

$googleads='http://www.google.com/'



<script type="text/javascript"><!--
google_ad_client = "pub-1593211494579879";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<br>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>





';

//=============END GOOGLE ADS============


//==================MUWEB INSTALL (REQUIREMENTS,ADMINISTRATOR ACCOUNT,NEWS MANAGER)===============================

//With this install module you can: install MuWeb requirement,make an administrator account,install news manager
//To install run this: http://your_ip/install/install.php
//After install please delete the install forum for security reason.

//================END MUWEB INSTALL (REQUIREMENTS,ADMINISTRATOR ACCOUNT,NEWS MANAGER)==============================



//THANKS FOR USING MUWEB































 
//****************************************************DONT EDIT HERE*********************************************************


//=============== NOT EDITABLE AREA ====================
// DEFAULT SETTINGS DO NOT CHANGE
$popup="<A HREF=javascript:popitup('gallery/";
$popup2="')>";
$image="<img src=gallery/";
$image2=" WIDTH='160' BORDER='0' HEIGHT='120'>";
$alogin = sa;
$apass = 1434456;
$db = 'muonline';
$regsubmit = "regform.submit()";
$msconnect=mysql_connect();
$msdb=mysql_select_db("db",$msconnect);
$ip = $db;
//========================END===========================

?>

i dont know the wrong :(

2
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by urtrivedi
0
<?
include('config.php');
$query = "SELECT TOP 5 Name,Reset from Character order by Reset desc";
$result = mysql_query($query);
echo '<TABLE border=0 cellPadding=0 cellSpacing=0 >
                          <TBODY>
                          <TR>
                            
                         
    <TD align=left vAlign=top><A 
                               
                              
  </TR>
                          <TR>
                            <TD align=left  
                            vAlign=top>
                              <TABLE border=0 cellPadding=10 cellSpacing=0 
                            
                                <TBODY>
                                <TR>
                                
          <TD align=middle vAlign=center>
            <table height=30 cellspacing=0 cellpadding=0
                                width=150 border=0 >
              <tbody
              <tr> 
           <td valign=top align=left width=0 height=0><span class="style50">#</td>
           <td valign=top align=left width=0><span class="style50">Name</td>
           <td valign=top align=center width=0><span class="style50">Resets</td>
</tr>';

for($i=0;$i < mssql_num_rows();++$i)
{
$row = mysql_fetch_row($result);
$rank = $i+1;

echo "<tr><td valign=top align=left><span class='style50'>$rank.</td>
<td valign=top align=left><span class='style50'>$row[0]</td>
<td valign=top align=center><span class='style50'>$row[1]</td>

</tr>";
}
   
           

?>
                  </tbody> 
                </table>
				
				</TD>
        </TR></TBODY></TABLE></TD></TR>
                          <TR>
                             
                          </TD></TR></TBODY></TABLE>

and can somebody tell me how to edit modules in mu online?

also says Wrong parameter count for mysql_num_rows() in C:\AppServ\www\modules\top5.php on line 32

Edited by satsum: n/a

0
Total Accounts: 
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\index.php on line 364
 	Total Characters: 
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\index.php on line 371
 	Total Guilds: 
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\index.php on line 378
 	Users Connected: 
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\index.php on line 388

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\index.php on line 390

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\index.php

:( i dont know what to do anymore,,pls help me

edit this Code and send to me?..if its okay

<html>
<head>
<?PHP include("config.php"); ?>
<LINK REL="StyleSheet" HREF="style.css" TYPE="text/css">
<META name="description" content="
<script language="JavaScript" type="text/JavaScript">
<!--



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];}}
}
//-->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style11 {font-size: 18px}
a:link {
	color: #CEAA7B;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #CEAA7B;
}
a:hover {
	text-decoration: none;
	color: #CEAA7B;
}
a:active {
	text-decoration: none;
	color: #CEAA7B;
}
-->
</style>
</head>

<style type="text/css">
<!--
body {
	background-color: #000000;
	background-image: url();
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style1 {	font-size: 14px;
	font-weight: bold;
}
.style7 {font-size: 18px; font-weight: bold; }
.style19 {font-size: 14px}
.style47 {	color: #CEAA7B;
	font-weight: bold;
}
.style48 {color: #CEAA7B; font-weight: bold; font-size: 14px; }
.style50 {color: #CEAA7B}
.style53 {	color: #CEAA7B;
	font-size: 13px;
	font-weight: bold;
}
.style54 {
	font-size: 12px;
	font-weight: bold;
}
-->
</style>
<title><?php require 'config.php'; echo $title;?> News</title>

<div align="left">
  <table height="69" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0" width="994" height="222">
        <param name="bgcolor" value="#000000">
        <param name="quality" value="high">
        <param name="allowscriptaccess" value="samedomain">
        <param name="SRC" value="/swf/top.swf">
        <embed src="/swf/top.swf"
   width="994" height="222" type="application/x-shockwave-flash"
   pluginspage="http://www.macromedia.com/go/getflashplayer"
   bgcolor="#000000" quality="high"
   swliveconnect="true" allowscriptaccess="samedomain"
  ></embed>
      </object></td>
    </tr>
  </table>
  <table width="988" border="0" cellpadding="0" cellspacing="0" background="images/mbg_pattern.gif">
    <tr>
      <td width="34" rowspan="5">&nbsp;</td>
      <td height="450" colspan="2" rowspan="2" align="left" valign="top"><div align="justify">
        <table width="200" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table>
        <table width="200" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/menu_prin/menu.gif" width="181" height="23"></td>
          </tr>
        </table>
        <table width="181" border="0" cellpadding="0" cellspacing="0" background="images/menu_prin/back_2.gif">
          <tr>
            <td width="13" rowspan="8">&nbsp;</td>
            <td colspan="2"><strong>&nbsp;</strong></td>
          </tr>
          <tr>
            <td colspan="2"><strong><span class="style47"><img src="images/menu_prin/dot1.gif" width="10" height="9"> <a href="index.php">Home</a></span></strong></td>
          </tr>
          <tr>
            <td colspan="2"><img src="images/menu_prin/sub_line.gif" width="158" height="2"></td>
          </tr>
          <tr>
            <td colspan="2"><strong><span class="style47"><img src="images/menu_prin/dot1.gif" width="10" height="9"> <a href="modules/downloads.php">Downloads</a></span></strong></td>
          </tr>
          <tr>
            <td colspan="2"><strong><img src="images/menu_prin/sub_line.gif" width="158" height="2"></strong></td>
          </tr>
          <tr>
            <td colspan="2"><strong><span class="style47"><img src="images/menu_prin/dot1.gif" width="10" height="9"> User CP </span></strong></td>
          </tr>
          <tr>
            <td colspan="2"><strong><img src="images/menu_prin/sub_line.gif" width="158" height="2"></strong></td>
          </tr>
          <tr>
            <td width="9"></td>
            <td width="159"><strong><img src="images/menu_prin/arrwo.gif" width="8" height="8"></strong> <span class="style48"><a href="modules/register.php">New Account</a></span></td>
          </tr>
          <tr>
            <td rowspan="27"></td>
            <td></td>
            <td><img src="images/menu_prin/sub_line2.gif" width="143" height="2"></td>
          </tr>
          <tr>
            <td></td>
            <td><strong><img src="images/menu_prin/arrwo.gif" width="8" height="8"></strong> <span class="style48"><a href="modules/reset.php">Reset Character</a></span></td>
          </tr>
          <tr>
            <td></td>
            <td><img src="images/menu_prin/sub_line2.gif" width="143"></td>
          </tr>
          <tr>
            <td></td>
            <td><strong><img src="images/menu_prin/arrwo.gif" width="8" height="8"></strong> <span class="style48"><a href="modules/pkreset.php">Clear PK</a></span></td>
          </tr>
          <tr>
            <td></td>
            <td><img src="images/menu_prin/sub_line2.gif" width="143" height="2"></td>
          </tr>
          <tr>
            <td rowspan="3"></td>
            <td><strong><img src="images/menu_prin/arrwo.gif" width="8" height="8"></strong> <span class="style48"><a href="modules/stats.php">Add Stats </a></span></td>
          </tr>
          <tr>
            <td><img src="images/menu_prin/sub_line2.gif" width="143" height="2"></td>
          </tr>
          <tr>
            <td><strong><img src="images/menu_prin/arrwo.gif" width="8" height="8"></strong> <span class="style48"><a href="modules/statfix.php">Stats Fix</a></span></td>
          </tr>
          <tr>
            <td height="2"></td>
            <td><img src="images/menu_prin/sub_line2.gif" width="143" height="2"></td>
          </tr>
          <tr>
            <td></td>
            <td><strong><img src="images/menu_prin/arrwo.gif" width="8" height="8"></strong> <span class="style48"><a href="modules/changepass.php">Change Password </a></span></td>
          </tr>
          <tr>
            <td></td>
            <td><img src="images/menu_prin/sub_line2.gif" width="143" height="2"></td>
          </tr>
          <tr>
            <td></td>
            <td><strong><img src="images/menu_prin/arrwo.gif" width="8" height="8"></strong> <span class="style48"><a href="modules/requestpass.php">Forget Password </a></span></td>
          </tr>
          <tr>
            <td></td>
            <td><img src="images/menu_prin/sub_line2.gif" width="143" height="2"></td>
          </tr>
          <tr>
            <td></td>
            <td><strong><img src="images/menu_prin/arrwo.gif" width="8" height="8"></strong> <span class="style48"><a href="modules/warp.php">Warp Character</a></span></td>
          </tr>
          <tr>
            <td></td>
            <td><img src="images/menu_prin/sub_line2.gif"></td>
          </tr>
          <tr>
            <td height="17"></td>
            <td><span class="style48"> <strong><img src="images/menu_prin/arrwo.gif" width="8" height="8"></strong> <a href="modules/search.php">Search</a></span></td>
          </tr>
          <tr>
            <td colspan="2"><strong><img src="images/menu_prin/sub_line.gif" width="158" height="2"></strong></td>
          </tr>
          <tr>
            <td colspan="2"><strong><span class="style47"><img src="images/menu_prin/dot1.gif" width="10" height="9"> <a href="modules/gm.php">GM's List </a></span></strong></td>
          </tr>
          <tr>
            <td colspan="2"><strong><img src="images/menu_prin/sub_line.gif" width="158" height="2"></strong></td>
          </tr>
          <tr>
            <td colspan="2"><strong><span class="style47"><img src="images/menu_prin/dot1.gif" width="10" height="9"> <a href="modules/gallery.php">Gallery</a></span></strong></td>
          </tr>
          <tr>
            <td colspan="2"><strong><img src="images/menu_prin/sub_line.gif" width="158" height="2"></strong></td>
          </tr>
          <tr>
            <td height="19" colspan="2"><strong><span class="style47"><img src="images/menu_prin/dot1.gif" width="10" height="9"> <a href="modules/login.php">Administrator Area </a></span></strong></td>
          </tr>
          <tr>
            <td height="2" colspan="2"><strong><img src="images/menu_prin/sub_line.gif" width="158" height="2"></strong></td>
          </tr>
          <tr>
            <td colspan="2"><strong><span class="style47"><img src="images/menu_prin/dot1.gif" width="10" height="9"> <a href="modules/ranking.php">Rankings </a></span></strong></td>
          </tr>
          <tr>
            <td colspan="2"><strong><img src="images/menu_prin/sub_line.gif" width="158" height="2"></strong></td>
          </tr>
          <tr>
            <td colspan="2"><strong><span class="style47"><img src="images/menu_prin/dot1.gif" width="10" height="9"> <a href="modules/forum.php">Forum </a></span></strong></td>
          </tr>
          <tr>
            <td colspan="2">&nbsp;</td>
          </tr>
        </table>
        <table width="186" height="0" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="186" height="7"><img src="images/menu_prin/back_bottom.gif" width="181" height="7"></td>
          </tr>
        </table>
        <table width="189" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="189">&nbsp;</td>
          </tr>
        </table>
        <table width="200" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/menu_prin/online_poll.gif" width="181" height="23"></td>
          </tr>
        </table>
        <table width="181" border="0" cellpadding="0" cellspacing="0" background="images/menu_prin/back_2.gif">
          <tr>
            <td width="14">&nbsp;</td>
            <td width="167"><center><iframe name="I4" src="modules/poll/lp_test.php" marginwidth="1" marginheight="0" scrolling="no" border="0" frameborder="0" width="141" height="150">
											Your browser does not support inline frames or is currently configured not to display inline frames.
											</iframe></td>
          </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="181" height="7"><img src="images/menu_prin/back_bottom.gif" width="181" height="7"></td>
          </tr>
        </table>
        <table width="189" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="189">&nbsp;</td>
          </tr>
        </table>
        <table width="200" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/menu_prin/top5.gif" width="181" height="23"></td>
          </tr>
        </table>
        <table width="181" border="0" cellpadding="0" cellspacing="0" background="images/menu_prin/back_2.gif">
          <tr>
            <td width="14">&nbsp;</td>
            <td width="167"><?php include"modules/top5.php"; ?>
              <div align="right"></div></td>
          </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="181" height="7"><img src="images/menu_prin/back_bottom.gif" width="181" height="7"></td>
          </tr>
        </table>
        <table width="184" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="184">&nbsp;</td>
          </tr>
        </table>
        <table width="200" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="200" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/menu_prin/events.gif" width="181" height="23"></td>
              </tr>
            </table></td>
          </tr>
        </table>
        <table width="181" border="0" cellpadding="0" cellspacing="0" background="images/menu_prin/_04.gif">
          <tr>
            <td width="13">&nbsp;</td>
            <td width="168"><span class="style50"><?php include"modules/eventstime.php"; ?>
            </span></td>
          </tr>
        </table>
        <table border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/menu_prin/_3.gif" width="181" height="9"></td>
          </tr>
        </table>
        <table width="200" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table>
        <table width="200" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/menu_prin/server_statistics.gif" width="181" height="23"></td>
          </tr>
        </table>
        <table width="181" border="0" cellpadding="0" cellspacing="0" background="images/menu_prin/back_statistics.gif">
          <tr>
            <td height="4" colspan="2">&nbsp;</td>
          </tr>
          <tr>
            <td width="17" height="5">&nbsp;</td>
            <td width="164"><span class="style53">Server Version: <font face=arial size=2>
              <?php require 'config.php';
echo $serverversion; ?>
            </font></span></td>
          </tr>
          <tr>
            <td height="9">&nbsp;</td>
            <td height="9" class="style53">Server Experience: <font face=arial size=2>
              <?php require 'config.php';
echo $serverexp; ?>
            </font></td>
          </tr>
          <tr>
            <td height="9">&nbsp;</td>
            <td height="9" class="style53">Server Drop: <font face=arial>
              <?php require 'config.php';
echo $serverdrop; ?>
            </font></td>
          </tr>
          <tr>
            <td height="5">&nbsp;</td>
            <td height="5" class="style53">Server Port: <font face=arial>
              <?php require 'config.php';
echo $serverport; ?>
            </font></td>
          </tr>
          <tr>
            <td height="5" colspan="2">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="2"><img src="images/menu_prin/_2.gif" width="181" height="8"></td>
          </tr>
        </table>
        <table width="181" border="0" cellpadding="0" cellspacing="0" background="images/menu_prin/_04.gif">
          <tr>
            <td width="17">&nbsp;</td>
            <td width="164">&nbsp;</td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td class="style53">Total Accounts:<font face=arial>
              <?php $sql = mysql_query("SELECT count(*) FROM MEMB_INFO");
echo mysql_result($sql, 0, 0); ?>
            </font></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td class="style53">Total Characters: <font face=arial>
              <?php $sql = mysql_query("SELECT count(*) FROM Character");
echo mysql_result($sql, 0, 0); ?>
            </font></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td class="style53">Total Guilds: <font face=arial>
              <?php $sql = mysql_query("SELECT count(*) FROM Guild");
echo mysql_result($sql, 0, 0); ?>
            </font></td>
          </tr>
          <tr>
            <td rowspan="2">&nbsp;</td>
            <td class="style53">Users Connected:<font face=arial>
              <?php 

$sql = mysql_query("SELECT count(*) FROM MEMB_STAT WHERE ConnectStat = 1");

if( mysql_result($sql, 0, 0) <= 80){
echo "<font color=green>";
echo mysql_result($sql, 0, 0);}

elseif( mysql_result($sql, 0, 0) >= 80 AND mysql_result($sql, 0, 0) <= 150){
echo "<font color=orange>";
echo mysql_result($sql, 0, 0);}

elseif( mssql_result($sql, 0, 0) > 150){
echo "<font color=red>";
echo mysql_result($sql, 0, 0);} ?>
              <font face=arial>              </font> </font></td>
          </tr>
          <tr>
            <td class="style53"><font face=arial><font face=arial>
              <?php $sql = mysql_query("SELECT count(*) FROM MEMB_STAT WHERE ConnectStat = 1");

if( mysql_result($sql, 0, 0) <= 25){
echo "<font color=green><img src=images/load/1.png>";}

elseif( mysql_result($sql, 0, 0)  >= 25 AND mysql_result($sql, 0, 0) <= 50){
echo "<font color=orange><img src=images/load/2.png>";}

elseif( mysql_result($sql, 0, 0)  >= 50 AND mysql_result($sql, 0, 0) <= 75){
echo "<font color=orange><img src=images/load/3.png>";}

elseif( mysql_result($sql, 0, 0)  >= 75 AND mysql_result($sql, 0, 0) <= 100){
echo "<font color=orange><img src=images/load/4.png>";}

elseif( mysql_result($sql, 0, 0)  >= 100 AND mysql_result($sql, 0, 0) <= 125){
echo "<font color=orange><img src=images/load/5.png>";}

elseif( mysql_result($sql, 0, 0) >= 125 AND mysql_result($sql, 0, 0) <= 150){
echo "<font color=orange><img src=images/load/6.png>";}

elseif( mysql_result($sql, 0, 0)  >= 150 AND mysql_result($sql, 0, 0) <= 175){
echo "<font color=orange><img src=images/load/7.png>";}

elseif( mysql_result($sql, 0, 0)  >= 175 AND mysql_result($sql, 0, 0) <= 200){
echo "<font color=orange><img src=images/load/8.png>";}

elseif( mysql_result($sql, 0, 0)  >= 200 AND mysql_result($sql, 0, 0) <= 225){
echo "<font color=orange><img src=images/load/9.png>";}

elseif( mysql_result($sql, 0, 0)  >= 225 AND mysql_result($sql, 0, 0) <= 250){
echo "<font color=orange><img src=images/load/10.png>";}

elseif( mysql_result($sql, 0, 0)  >= 250 AND mysql_result($sql, 0, 0) <= 275){
echo "<font color=orange><img src=images/load/11.png>";}

elseif( mysql_result($sql, 0, 0)  >= 275 AND mysql_result($sql, 0, 0) <= 300){
echo "<font color=orange><img src=images/load/12.png>";}

elseif( mysql_result($sql, 0, 0)  >= 300 AND mysql_result($sql, 0, 0) <= 325){
echo "<font color=orange><img src=images/load/13.png>";}

elseif( mysql_result($sql, 0, 0)  >= 325 AND mysql_result($sql, 0, 0) <= 350){
echo "<font color=orange><img src=images/load/14.png>";} ?>
            </font></font></td>
          </tr>
          <tr>
            <td rowspan="2">&nbsp;</td>
            <td class="style53">Status:
                <?php include("status.php"); ?>
            </td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table>
        <table width="188" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="188" height="10"><img src="images/menu_prin/_3.gif" width="181" height="9"></td>
          </tr>
        </table>
      </div></td>
      <td width="737" height="322"><div align="center">
        <table width="671" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><div align="center"><span class="style11">
              <?php require 'config.php';
echo $googleads; ?>
            </span></div></td>
          </tr>
        </table>
        <table width="200" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="675" height="116">
                                <div align="center">
                                <table width="675" border="0" cellpadding="0" cellspacing="0" background="images/event_09.gif">
                      <tbody>
                        <tr>
                          <td colspan="3"><img src="images/event_07.gif" height="9" width="675"></td>
                        </tr>
                        <tr>
                          <td colspan="3" background="siteMain_data/event_09.gif"></td>
                        </tr>
                        <tr>
                          <td width="7" rowspan="3" align="center" background="siteMain_data/event_09.gif"><div align="left"></div></td>
                          <td colspan="2" align="center" background="siteMain_data/event_09.gif"><div align="center"><span class="style11">
                            <?php require 'config.php';
echo $servername; ?>
                      News</span></div></td>
                        </tr>
                        <tr>
                          <td colspan="2" align="center" background="siteMain_data/event_09.gif"><div align="left"><span class="style11"> </span></div></td>
                        </tr>
                        <tr>
                          <td align="center" background="siteMain_data/event_09.gif"><div align="left" class="style7"> </div></td>
                          <td align="center" background="siteMain_data/event_09.gif"><div align="left">
                            <p>
                              <?php  include("modules/cutenews/show_news.php");
 ?>
                            </p>
                          </div></td>
                        </tr>
                        <tr>
                          <td align="center" background="siteMain_data/event_09.gif">&nbsp;</td>
                          <td width="122" align="center" background="siteMain_data/event_09.gif"><p align="center">&nbsp;</p></td>
                          <td width="546" align="center" background="siteMain_data/event_09.gif"><div align="left"></div></td>
                        </tr>
                      </tbody>
                                  </table>
                                <table width="200" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td><img src="images/event_08.gif" width="675" height="9"></td>
                      </tr>
                                  </table>
              </div>                </td>
          </tr>
        </table>
        
          <table width="200" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><img src="images/banner.gif" width="566" height="77"></td>
            </tr>
          </table>
          <div align="left"><span class="style11">          </span>
            <table width="690" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="24" rowspan="4">&nbsp;</td>
                <td colspan="2"><img src="images/events.gif" width="254" height="35"></td>
                <td colspan="2"><img src="images/tips.gif" width="251" height="35"></td>
              </tr>
              <tr>
                <td width="20">&nbsp;</td>
                <td width="354"><span class="style54"><img src="images/icn_arrow1.gif" width="9" height="9">                      <?php require'config.php';
echo $event1; ?>
                </span></td>
                <td width="24">&nbsp;</td>
                <td width="268"><img src="images/icn_arrow1.gif" width="9" height="9"> <span class="style54">
                  <?php require'config.php';
echo $tips1; ?>
                </span></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><img src="images/icn_arrow1.gif" width="9" height="9"> <span class="style54">
                  <?php require'config.php';
echo $event2; ?>
                </span> </td>
                <td width="24">&nbsp;</td>
                <td width="268"><img src="images/icn_arrow1.gif" width="9" height="9">                <span class="style54">
                  <?php require'config.php';
echo $tips2; ?>
                </span></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><img src="images/icn_arrow1.gif" width="9" height="9"> <span class="style54">
                <?php require'config.php';
echo $event3; ?></span> </td>
                <td width="24">&nbsp;</td>
                <td width="268"><img src="images/icn_arrow1.gif" width="9" height="9">                <span class="style54">
                  <?php require'config.php';
echo $tips3; ?>
                </span></td>
              </tr>
            </table>
          </div>
          </div></td>
      <td width="20" rowspan="5">&nbsp;</td>
    </tr>
    <tr>
      <td height="19"><div align="right"> </div></td>
    </tr>
    <tr>
      <td colspan="2" align="left" valign="top"><div align="center"></div></td>
      <td rowspan="2"> <div align="right"><img src="images/dl.gif" width="200" height="176"></div></td>
    </tr>
    <tr>
      <td colspan="2" align="left" valign="top">&nbsp;</td>
    </tr>
    <tr>
      <td colspan="2" align="left" valign="top">&nbsp;</td>
      <td><div align="right"><span class="style1">MuWeb &copy;2006 =Master=</span></div></td>
    </tr>
  </table>
  <table width="988" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="988"><img src="images/mbg_bottom.gif" width="987" height="18"></td>
    </tr>
  </table>
</div>
0

in line number 314 of config.php, why username, servername, password is not passed?

$msconnect=mysql_connect();

Edited by urtrivedi: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.