hasack2
Honrado XPZ
Alguém sabe resolver esse erro? ele fica na parte da EQUIPE em vez de mostrar os membros da equipe fica esses erros, ja mexi no menuLeft da template mais n tive sucesso. lembrando que é MuSite template speedmu
Warning: mssql_query() []: message: Incorrect syntax near the keyword 'where'. (severity 15) in C:AppServwwwmodulesclassesldtpl.class.php(76) : eval()'d code on line 158
Warning: mssql_query() []: Query failed in C:AppServwwwmodulesclassesldtpl.class.php(76) : eval()'d code on line 158
Warning: mssql_fetch_row(): supplied argument is not a valid MS SQL-result resource in C:AppServwwwmodulesclassesldtpl.class.php(76) : eval()'d code on line 158
------------------------------------------------------------------------------------
Esta é a parte onde fica as informações no menuLeft acredito que o erro estar aqui
<div id="equipe">
<div id="equipe-top"> </div>
<div id="equipe-quadro">
<table width="172" border="0" align="center" cellpadding="0" cellspacing="2">
<tr>
<?
$Queryadms = mssql_query("Use ".DATABASE_CHARACTERS."; SELECT Character.Name, MEMB_STAT.ConnectStat FROM ".DATABASE_CHARACTERS.".dbo.Character JOIN ".DATABASE_ACCOUNTS.".dbo.MEMB_STAT ON (Character.AccountID = MEMB_STAT.memb___id) WHERE Character.CtlCode = 8 OR Character.CtlCode = 32");
for($b=0;$b<mssql_num_rows($Queryadms);$b++) {
$Gm = mssql_fetch_row($Queryadms);
$status = mssql_fetch_row(mssql_query("Use ".DATABASE_CHARACTERS."; SELECT Character.Name, MEMB_STAT.ConnectStat FROM ".DATABASE_CHARACTERS.".dbo.Character JOIN ".DATABASE_ACCOUNTS.".dbo.MEMB_STAT where memb___id='".$Gm[1]."'"));
switch($status[0]) {
case 0: $statusfinal = "<font color=#FF0000>[Offline]</font>"; break;
case 1: $statusfinal = "[Online]"; break;
Warning: mssql_query() []: message: Incorrect syntax near the keyword 'where'. (severity 15) in C:AppServwwwmodulesclassesldtpl.class.php(76) : eval()'d code on line 158
Warning: mssql_query() []: Query failed in C:AppServwwwmodulesclassesldtpl.class.php(76) : eval()'d code on line 158
Warning: mssql_fetch_row(): supplied argument is not a valid MS SQL-result resource in C:AppServwwwmodulesclassesldtpl.class.php(76) : eval()'d code on line 158
------------------------------------------------------------------------------------
Esta é a parte onde fica as informações no menuLeft acredito que o erro estar aqui
<div id="equipe">
<div id="equipe-top"> </div>
<div id="equipe-quadro">
<table width="172" border="0" align="center" cellpadding="0" cellspacing="2">
<tr>
<?
$Queryadms = mssql_query("Use ".DATABASE_CHARACTERS."; SELECT Character.Name, MEMB_STAT.ConnectStat FROM ".DATABASE_CHARACTERS.".dbo.Character JOIN ".DATABASE_ACCOUNTS.".dbo.MEMB_STAT ON (Character.AccountID = MEMB_STAT.memb___id) WHERE Character.CtlCode = 8 OR Character.CtlCode = 32");
for($b=0;$b<mssql_num_rows($Queryadms);$b++) {
$Gm = mssql_fetch_row($Queryadms);
$status = mssql_fetch_row(mssql_query("Use ".DATABASE_CHARACTERS."; SELECT Character.Name, MEMB_STAT.ConnectStat FROM ".DATABASE_CHARACTERS.".dbo.Character JOIN ".DATABASE_ACCOUNTS.".dbo.MEMB_STAT where memb___id='".$Gm[1]."'"));
switch($status[0]) {
case 0: $statusfinal = "<font color=#FF0000>[Offline]</font>"; break;
case 1: $statusfinal = "[Online]"; break;
Editado por um moderador: