Hoy es

Home Enter Forums View Matches Your Account
Clan Sir Warriors


 
 Mapa (SiteMap)
 Noticias
 Descargas
 Descargas
 Descargas Ux
 Olvide Mi Password
 Olvide mi Usuario
 Registrar Usuario

 AoK : TC
 Informacion
 Civilizaciones
 Estrategias
 Unidades
 Universidad
 OGame
 Informacion
 Miembros
 del Clan
 Invitados
 Ex-SirW
 Reingresos
 Triales
 Usuarios
 Imagenes
 Perfil Juego+
 Reclutadores
 Tu Cuenta

Clan Sir Warriors
Tags

 
Sin TAGS disponibles para esta pagina

Clan Sir Warriors
Panel Usuario

 
Bienvenido, Anonimo
Nickname

Contraseña

(Registrarme)
(Buscar Usuario!)

Gente en línea:
Visitantes: 0084 (100%)
Miembros : 0000 (0%)
Ocultos :    0000 (0%)
Record:
05 Oct,2025v:070214 Jan,2008c:0022
spiderbots
01: SpiderBot

Total en linea: 84

Clan Sir Warriors
Staff

 

Caution!
 Area exclusiva para ADMINISTRADORES

Admin Login
Admin Username
Admin Password




Nickname  Contraseña   

[Registrar Usuario]
[Manuales][Reviews][Descargas][Descargas Ultra]

 RSS  Steam

En busquedas p.f NO UTILIZAR ( ) ' " o http:// en caso contrario seras BLOQUEADO




Clan Sir Warriors: Foro Shuriken

Clan Sir Warriors :: Ver tema - 2º partida - Aocliga - SirW vs xXx - Lago Fantasma
Forums Home Profile Messages Rules Search User Groups
 Arcade  •  Attachments  •  Buddy List  •  Rules •  Staff  •  Stats •  Ranks  •  Smiles List  •  FAQ •  Members
setCivilizacion (); $this->setFlags (); $this->setMapas (); $this->setTipos (); } function setCivilizacion() { $arrayCiv = array(); require (PATH_TO_DATA . 'dataCivilizaciones.php'); $this->arrayCivilizaciones = $arrayCiv; } function setFlags() { $arrayFlag = array(); require (PATH_TO_DATA . 'dataFlag.php'); $this->arrayFlags = $arrayFlag; } function setMapas() { $arrayMapas = array(); require (PATH_TO_DATA . 'dataMapas.php'); $this->arrayMapas = $arrayMapas; } function setTipos() { $arrayTipo = array(); require (PATH_TO_DATA . 'dataTipos.php'); $this->arrayTipos = $arrayTipo; } function getCivilizacion ($iId) { if (array_key_exists ($iId, $this->arrayCivilizaciones)) { return $this->arrayCivilizaciones[$iId]; } else { return NULL; } } function getArrayCivilizaciones() { return $this->arrayCivilizaciones; } function getArrayFlags() { return $this->arrayFlags; } function getArrayMapas() { return $this->arrayMapas; } function getArrayTipos() { return $this->arrayTipos; } function getFlag ($iId) { if (array_key_exists ($iId, $this->arrayFlags)) { return $this->arrayFlags[$iId]; } else { return NULL; } } function getMapa ($iId) { if (array_key_exists ($iId, $this->arrayMapas)) { return $this->arrayMapas[$iId]; } else { return NULL; } } function getTipo ($iId) { if (array_key_exists ($iId, $this->arrayTipos)) { return $this->arrayTipos[$iId]; } else { return NULL; } } } class RecordGame { var $objDb; var $objTemplate; var $arrayPlayers; function RecordGame() { } function setSources (&$objDataProvider, &$objTemplate) { $this->objDb = &$objDataProvider; $this->objTemplate = &$objTemplate; } function showCreate() { $arrayCivilizaciones = $this->objDb->getArrayCivilizaciones(); while( list ($iKey, $arrayValue ) = each ($arrayCivilizaciones)) { $this->objTemplate->assign_block_vars ('CIVILIZACIONES', array ( 'VALUE' => $iKey, 'NAME' => $arrayValue['NAME'] )); } $arrayMapas = $this->objDb->getArrayMapas(); while( list ($iKey, $strValue ) = each ($arrayMapas)) { $this->objTemplate->assign_block_vars ('MAPAS', array ( 'VALUE' => $iKey, 'NAME' => $strValue )); } $arrayTipos = $this->objDb->getArrayTipos(); while( list ($iKey, $strValue ) = each ($arrayTipos)) { $this->objTemplate->assign_block_vars ('TIPOS', array ( 'VALUE' => $iKey, 'NAME' => $strValue )); } $arrayFlags = $this->objDb->getArrayFlags(); while( list ($iKey, $arrayValue ) = each ($arrayFlags)) { $this->objTemplate->assign_block_vars ('FLAG', array ( 'VALUE' => $iKey, 'NAME' => $arrayValue['NAME'] )); } for ($i = 1; $i <= 12; $i++) { $this->objTemplate->assign_block_vars ('RATING', array ( 'VALUE' => $i, 'NAME' => ( RATING_BASE + $i * 100 ) . '+' )); } for ($i = 1; $i <= 4; $i++) { $this->objTemplate->assign_block_vars ('JUGADORES', array ( 'VALUE' => $i, 'NAME' => $i . " vs " . $i )); } } function showEdit() { $arrayMapas = $this->objDb->getArrayMapas(); while( list ($iKey, $strValue ) = each ($arrayMapas)) { $this->objTemplate->assign_block_vars ('MAPAS', array ( 'VALUE' => $iKey, 'NAME' => $strValue, 'SELECTED' => ( $this->mMapa == $iKey ) ? ( 'selected' ) : ( '' ) )); } $arrayTipos = $this->objDb->getArrayTipos(); while( list ($iKey, $strValue ) = each ($arrayTipos)) { $this->objTemplate->assign_block_vars ('TIPOS', array ( 'VALUE' => $iKey, 'NAME' => $strValue, 'SELECTED' => ( $this->mTipo == $iKey ) ? ( 'selected' ) : ( '' ) )); } for ($i = 1; $i <= 12; $i++) { $this->objTemplate->assign_block_vars ('RATING', array ( 'VALUE' => $i, 'NAME' => ( RATING_BASE + $i * 100 ) . '+', 'SELECTED' => ( $this->mRatingLevel == $i ) ? ( 'selected' ) : ( '' ) )); } for ($i = 1; $i <= 4; $i++) { $this->objTemplate->assign_block_vars ('JUGADORES', array ( 'VALUE' => $i, 'NAME' => $i . " vs " . $i, 'SELECTED' => ( $this->playersCantidad == $i ) ? ( 'selected' ) : ( '' ) )); } $this->objTemplate->assign_block_vars ('WINNER', array ( 'VALUE' => 0, 'NAME' => "Watch and See", 'SELECTED' => ( $this->mWinner == 0 ) ? ( "selected" ) : ( '' ) )); $this->objTemplate->assign_block_vars ('WINNER', array ( 'VALUE' => 1, 'NAME' => "Team 1", 'SELECTED' => ( $this->mWinner == 1 ) ? ( "selected" ) : ( '' ) )); $this->objTemplate->assign_block_vars ('WINNER', array ( 'VALUE' => 2, 'NAME' => "Team 2", 'SELECTED' => ( $this->mWinner == 2 ) ? ( "selected" ) : ( '' ) )); $duracion = split (":", $this->mDuracion); $this->objTemplate->assign_vars ( array ( 'HORAS' => $duracion[0], 'MINUTOS' => $duracion[1], 'TEAMA' => $this->mTeam1, 'TEAMB' => $this->mTeam2 )); for ($i = 0; $i < $this->playersCantidad; $i++) { $this->arrayPlayers['A'][$i]->printPlayerToEdit ($this->objDb, $this->objTemplate, $i + 1); $this->arrayPlayers['B'][$i]->printPlayerToEdit ($this->objDb, $this->objTemplate, $i + 5); } if ( $this->playersCantidad < 4 ) { $arrayCivilizaciones = $this->objDb->getArrayCivilizaciones(); $arrayFlags = $this->objDb->getArrayFlags(); for ($i = $this->playersCantidad + 1; $i <= 4; $i++) { @reset ($arrayCivilizaciones); @reset ($arrayFlags); while( list ($iKey, $arrayValue ) = each ($arrayCivilizaciones)) { $this->objTemplate->assign_block_vars ('CIVILIZACIONES' . $i , array ( 'VALUE' => $iKey, 'NAME' => $arrayValue['NAME'] )); } while( list ($iKey, $arrayValue ) = each ($arrayFlags)) { $this->objTemplate->assign_block_vars ('FLAG' . $i, array ( 'VALUE' => $iKey, 'NAME' => $arrayValue['NAME'] )); } @reset ($arrayCivilizaciones); @reset ($arrayFlags); while( list ($iKey, $arrayValue ) = each ($arrayCivilizaciones)) { $this->objTemplate->assign_block_vars ('CIVILIZACIONES' . ($i + 4) , array ( 'VALUE' => $iKey, 'NAME' => $arrayValue['NAME'] )); } while( list ($iKey, $arrayValue ) = each ($arrayFlags)) { $this->objTemplate->assign_block_vars ('FLAG' . ($i + 4), array ( 'VALUE' => $iKey, 'NAME' => $arrayValue['NAME'] )); } } } } function toString() { $template = $this->objTemplate; $template->set_filenames( array ( 'recordgame' => 'record_game.tpl' )); $template->assign_vars ( array ( 'MAPA' => $this->objDb->getMapa ($this->mMapa), 'TIPO' => $this->objDb->getTipo ($this->mTipo), 'DURACION' => $this->mDuracion, 'TEAM1' => $this->mTeam1, 'TEAM2' => $this->mTeam2, 'WINNER' => ( $this->mWinner == 1 ) ? ( $this->mTeam1 ) : ( ( $this->mWinner == 2 ) ? ( $this->mTeam2 ) : ( "Watch and See" ) ), 'RATING' => ( RATING_BASE + 100 * $this->mRatingLevel ), 'JUGADORES' => ( $this->playersCantidad . " vs " . $this->playersCantidad ) )); for( $i = 0; $i < count ($this->arrayPlayers['A']); $i++) { if ( is_object ($this->arrayPlayers['A'][$i])) { $dataPlayer = $this->arrayPlayers['A'][$i]->toArray($this->objDb); $template->assign_block_vars ('p1', $dataPlayer); } } for( $i = 0; $i < count ($this->arrayPlayers['B']); $i++) { if ( is_object ($this->arrayPlayers['B'][$i])) { $dataPlayer = $this->arrayPlayers['B'][$i]->toArray($this->objDb); $template->assign_block_vars ('p2', $dataPlayer); } } $str = 'RecordGame Mod @ T1Poder - AoCGroup'; $this->objTemplate->assign_var ('NFO', $str); return $template->getCode ('recordgame'); } function toStringAsTopic ($post_id, $class) { $template = $this->objTemplate; $template->assign_vars (array ( 'MAPA' => $this->objDb->getMapa ($this->mMapa), 'TIPO' => $this->objDb->getTipo ($this->mTipo), 'DURACION' => $this->mDuracion, 'TEAM1' => $this->mTeam1, 'POST_ID' => $post_id, 'TEAM2' => $this->mTeam2, 'RATING' => ( RATING_BASE + 100 * $this->mRatingLevel ), 'JUGADORES' => ( $this->playersCantidad . " vs " . $this->playersCantidad ) )); $template->set_filenames ( array ( 'topic' => "record_game_topic.tpl" )); if ($this->playersCantidad == 1 ) { $template->assign_block_vars ('single', array()); } else { $template->assign_block_vars ('team' . $this->playersCantidad , array()); } for( $i = 0; $i < count ($this->arrayPlayers['A']); $i++) { if ( is_object ($this->arrayPlayers['A'][$i])) { $dataPlayer = $this->arrayPlayers['A'][$i]->toArrayAsSingle($this->objDb, '_A_' . ($i + 1)); $template->assign_vars ($dataPlayer); } } for( $i = 0; $i < count ($this->arrayPlayers['B']); $i++) { if ( is_object ($this->arrayPlayers['B'][$i])) { $dataPlayer = $this->arrayPlayers['B'][$i]->toArrayAsSingle($this->objDb, '_B_' . ($i + 1)); $template->assign_vars ($dataPlayer); } } $this->objTemplate->assign_block_vars ('recgame', array ( 'CONTENT' => $template->getCode ('topic'), 'CLASS' => $class )); } function Create($iMapa, $iTipo, $strDuracion, $iWinner, $iRatingLevel, $playersCantidad, $strTeam1, $strTeam2, $arrayPlayersInfo) { $this->mMapa = intval ($iMapa); $this->mTipo = intval ($iTipo); $this->mDuracion = trim ($strDuracion); $this->mWinner = intval ($iWinner); $this->mRatingLevel = intval ($iRatingLevel); $this->mTeam1 = trim ($strTeam1); $this->mTeam2 = trim ($strTeam2); $this->playersCantidad = intval ($playersCantidad); for( $i = 0; $i < $this->playersCantidad; $i++) { $arrayPlayersInfo['playerNickA'][$i] = trim ($arrayPlayersInfo['playerNickA'][$i]); if ($arrayPlayersInfo['playerNickA'][$i] != "") { $this->arrayPlayers['A'][] = new Player($arrayPlayersInfo['playerNickA'][$i], $arrayPlayersInfo['playerCivA'][$i], $arrayPlayersInfo['playerFlagA'][$i]); } $arrayPlayersInfo['playerNickB'][$i] = trim ($arrayPlayersInfo['playerNickB'][$i]); if ($arrayPlayersInfo['playerNickB'][$i] != "") { $this->arrayPlayers['B'][] = new Player($arrayPlayersInfo['playerNickB'][$i], $arrayPlayersInfo['playerCivB'][$i], $arrayPlayersInfo['playerFlagB'][$i]); } } } } class Player { var $mNick; var $mIdFlag; var $mIdCivilizacion; function toArray ($objDb) { $arrayReturn = array (); $arrayCivilizacion = $objDb->getCivilizacion ($this->mIdCivilizacion); if ($this->mIdFlag != NO_FLAG) { $arrayFlag = $objDb->getFlag ($this->mIdFlag); $arrayReturn['FLAG'] = ''; } $arrayReturn['CIVILIZACION'] = $arrayCivilizacion['NAME']; $arrayReturn['IMG'] = ''; $arrayReturn['NICK'] = $this->mNick; return $arrayReturn; } function toArrayAsSingle ($objDb, $index) { $arrayReturn = array (); $arrayReturn['PLAYER' . $index] = $this->mNick; if ($this->mIdFlag != NO_FLAG) { $arrayFlag = $objDb->getFlag ($this->mIdFlag); $arrayReturn['FLAG' . $index] = ''; } return $arrayReturn; } function Player ($strNick, $iIdCivilizacion, $iIdFlag) { $this->mNick = $strNick; $this->mIdFlag = intval ($iIdFlag); $this->mIdCivilizacion = intval ($iIdCivilizacion); } function printPlayerToEdit ($objDb, &$template, $index) { $arrayFlags = $objDb->getArrayFlags(); while( list ($iKey, $arrayValue ) = each ($arrayFlags)) { $template->assign_block_vars ('FLAG' . $index, array ( 'VALUE' => $iKey, 'NAME' => $arrayValue['NAME'], 'SELECTED' => ( $this->mIdFlag == $iKey ) ? ( 'selected' ) : ( '' ) )); } $arrayCivilizaciones = $objDb->getArrayCivilizaciones(); while( list ($iKey, $arrayValue ) = each ($arrayCivilizaciones)) { $template->assign_block_vars ('CIVILIZACIONES' . $index, array ( 'VALUE' => $iKey, 'NAME' => $arrayValue['NAME'], 'SELECTED' => ( $this->mIdCivilizacion == $iKey ) ? ( 'selected' ) : ( '' ) )); } $template->assign_var ('PLAYER' . $index, $this->mNick); } } ?>
2º partida - Aocliga - SirW vs xXx - Lago Fantasma

 
Publicar nuevo tema   Responder al tema    Foros de discusión > AoK : TC
Ver tema anterior :: Ver tema siguiente  
 

Autor Mensaje
SirW_Hernan
Ex-SirW
Ex-SirW


Sexo:Sexo:Masculino
Registrado: May 20, 2006
Mensajes: 940
Ubicación: Donde el viento me deje XDDDD

argentina.gif
MensajePublicado: Mar Nov 28, 2006 1:03 pm    Asunto: 2º partida - Aocliga - SirW vs xXx - Lago Fantasma Responder citando

 
2º Partida.



Torneo Aocliga - SirW vs xXx - Lago Fantasma.zip - 317.66 KB
Descargado 320 Veces

 

Volver arriba
Desconectado Ver perfil de usuario Enviar mensaje privado MSN Messenger
Autor Mensaje
SirW_Hernan
Ex-SirW
Ex-SirW


Sexo:Sexo:Masculino
Registrado: May 20, 2006
Mensajes: 940
Ubicación: Donde el viento me deje XDDDD

argentina.gif
MensajePublicado: Mar Nov 28, 2006 1:08 pm    Asunto: 3º Partida - Aocliga - SirW vs xXx - Arabia Responder citando

 
3º Partida.



Torneo Aocliga - SirW vs xXx - Arabia.zip - 435.05 KB
Descargado 320 Veces

 

Volver arriba
Desconectado Ver perfil de usuario Enviar mensaje privado MSN Messenger
Mostrar mensajes de anteriores:   
Publicar nuevo tema   Responder al tema    Foros de discusión -> AoK : TC Todas las horas son GMT - 6 Horas
Página 1 de 1
Cambiar a:  
Puede publicar nuevos temas en este foro
No puede responder a temas en este foro
No puede editar sus mensajes en este foro
No puede borrar sus mensajes en este foro
No puede votar en encuestas en este foro
No puedes subir archivos a este foro
Tu Puedes descargar archivos en este foro

Clan Theme by UDesign © 2006



Warning: mysqli::ping(): Couldn't fetch sql_db in /var/www/html/db/mysqli.php on line 185
Clan Sir Warriors
Home

clansirwarriors.com  ver 3.0

Back To Top
Clan SWValid Robots.txt 
CSW v3.0  Sitemap

Portal basado en PHP-Nuke bajo Licencia GPL

Página Generada en: 0.24 Segundos