Pokédex Admin
Aantal berichten : 7 Registratiedatum : 2013-02-02 Leeftijd : 28 Woonplaats : Netherlands
| Subject: CMS+SWFS [TUT] Sun Feb 10, 2013 2:57 am | |
| DownloadsCMS+SWFS: [You must be registered and logged in to see this link.]1. Copy the whole folder and put it in your htdocs 2. Click inc/configuration.php 3. Edit configuration like this - Spoiler:
?php
///////////////////////////////////////////////////////////////////////////////////////////////// // // // Fichier de Configuration // // // // // /////////////////////////////////////////////////////////////////////////////////////////////////
//acces BDD $host = 'localhost'; // ip de la BDD $port = '3306'; // port de la BDD $bdd1 = 'ancestra_other'; //ancestra_other $root = 'root'; // nom d'utilisateur $pass = 'YOUR PASSWORD'; // mot de pa55sse
// $hote = 'YOUR IP'; // ip serveur $port = '444'; // port serveur $aport = '5555'; // action port serveur
// Configuration site $title_s = 'Tofus 1.29.1 '; // Titre du Site
$header_ = ''; // Mettre le numéro du header qui est placé dans "Images/theme/header/nomdel'image" de la racine du fichier
$forum = ''; //lien fofo
$rpgvote = ''; // lien rpg
$Idp = 41003; // $ids n'est plus utilisé, mais il faut conserver la variable pour une question de compatibilité
$Idd = 124075; //gains de point
$Points_quand_vip_vote = 30 ; // Points VIP
$Points_par_vote = 20 ; // Points NON VIP
$Points_pour_vip = 280 ; // Prix "points" pour l'achat de VIP
$Points_quand_vip_code = 150 ; // Points par codes pour VIP
$Points_par_code = 120 ; //¨ Points par codes pour NON VIP
$title = 21 ; // TITLE VIP ID !
$pvp = '2'; // Rate PvP du server
$xp = '2'; // Rate XP du Server
$drop = '1'; // Rate Drop du Server
$total= '25'; // Rate Drop du Server
$dll_dofus= ''; // Lien de téléchargement de dofus 1.29
$dll_installateur= 'http://www.mediafire.com/?36u1a1qmz93b52s'; // Lien de téléchargement de l'installateur de votre serveur
//a ne pas toucher try { $bdd = new PDO("mysql:host=$host;dbname=$bdd1", "$root", "$pass"); } catch(Exception $e) { die('Erreur : '.$e->getMessage()); } //NE PAS TOUCHER $db = mysql_connect($host, $root, $pass); mysql_select_db($bdd1,$db);
if(!isset($_SESSION['login'])){ } else {
$account = $_SESSION['login'] ; $result = mysql_query("SELECT * FROM accounts WHERE account = '$account'"); $row = mysql_fetch_array($result) or die(mysql_error()); } //Fonctions préfaites //Nombre de connectés // $req = $bdd->query('select * FROM accounts WHERE logged=1'); $b = $req->rowCount();
?>]
| |
|
kingoflop
Aantal berichten : 3 Registratiedatum : 2013-10-21
| Subject: link dead Mon Oct 21, 2013 3:51 pm | |
| | |
|