creo yo que es algo simple pero para mi no jajaja
esta es la pagina
http://log.imgxxdesign.com/chatrooms/
Código PHP:
inc.db.php
@mysql_connect('********','********','********')
or die("error: cannot connect to database");
@mysql_select_db('**********')
or die("error: database does not exist");
include(C_PATH."/config.php");
if(!$_SESSION['pro_language']){
define('C_LANG',$default_lang);
}else{
define('C_LANG', $_SESSION['pro_language']);
}
include(C_PATH."/languages/".C_LANG.".php");
#############################################
?>
Código PHP:
config.php
<?php
#### CHAT ##########
#
## Domain Name
#
// the url of your website
$domain_name = "http:/log.imgxxdesign.com/chatrooms/";
#
## Chat Room Name
#
// the name of your chat room
$chatroom_name = "Chatroom";
#
## Chat Room Url
#
// the url to your chat room
$chatroom_url = "http:/log.imgxxdesign.com/chatrooms/";
#
## Enable/Disable Chat Room
#
// allows the admin to close the chat room
// during maintenance down time. Your users
// will not be able to login when set to closed.
$chatroom_maintenance = '1'; // 0 Closed, 1 Open
#
## Chat Room Logo
#
// appears on login/register/lost password pages
// Upload your images to 'prochatrooms/images' or
// use an url: http://yoursite.com/your_logo.jpg
$chatroom_logo = "images/your_logo.jpg";
#
## Chat Room Languages
#
// allows the choice of multiple languages
// to translate the language files open the
// file 'languages/blank.php' with your text
// editor, translate the text inside then
// save the file as 'german.php'and enter
// the text "german", below "english",
$default_lang = 'english';
$chatroom_languages=array(
"english", // do not edit
);
#
## Chat Room Genders
#
// allows the user to choose their gender
// on the chat room login page. this appears
// as their default icon next to their messages
// if no gender is choosen, default icon will be displayed
// enable/disable feature
$enable_login_genders = '1'; // 0 No, 1 Yes
$chatroom_gender=array(
"Select", // do not edit
"Male",
"Female",
"Couple",
);
#
## Admin Email Address
#
// administration email address
$chatroom_email = "[email protected]";
#
## Webcam Module (if installed)
#
// enable webcam module
$enable_webcams = "0";
// sets max cams users can view
$max_cams = "10";
// assigns who is able to view/use the webcams
$webcam_access = "0"; // 0 Guests & Members, 1 Members Only
// to help secure webcam streams
// enter a unique word or phrase
$secure_stream = "abc123";
#
## eCredits Module