<?php
ob_start();
session_start();
error_reporting(E_ALL || E_NOTICE || E_WARNING);
//error_reporting(E_ALL);
ini_set("MAX_EXECUTION_TIME", "0");
define("UPLOAD_SIZE", 5120000);
define("UPLOAD_SIZE_TXT", "500 kb");

define("ROOT", "");
//define("ROOT","");
//define("ROOT","demoshopping/");
define("WEBDIR", "https://sarmac.e-soft.link/");

define("PROD_IMG", "prod_img/");
define("THUMB", "thumb/");
define("CAT_IMG", "cat_img/");
define("PHOTO", "photo/");
define("ADV_IMG", "adv_img/");
define("LINK_IMG", "link_img/");
define("BRAND_IMG", "brand_pic/");
define("LOGO_IMG", "logo_img/");
define("BANNER_IMG", "banner_img/");
define("CUPON_IMG", "cupon_img/");
define("SITE_NAME", "CABLE BILLING");
define("LINK_NAME", "CABLE BILLING");
define("LINK", "http://www.24into7.in");

$show_rec_per_page = 5;

define("PHY_ROOT", $_SERVER['DOCUMENT_ROOT'] . "/");

define("CAL_DF", "%d-%m-%Y");
global $db_host, $db_login, $db_pswd, $db_name, $connected;
$db_host = 'localhost';
$db_login = 'crmup_sh1_srigi';
$db_pswd = 'James@Bond00112';
$db_name = 'crmup_sh1_fl_cable';
$connected = false;
$cur_symbol = array();
$cur_symbol['JPY'] = "&yen;&nbsp;";
$cur_symbol['USD'] = "US $&nbsp;";
$cur_symbol['INR'] = "Rs.&nbsp;";




/*******************************************************
 ************* Calendar Layout Options ******************
 *******************************************************/

// Maximum number of event titles that appear per day 
// on month-view.  Note: doesn't limit number of 
// events a user can post, just what appears on month
// view.
define("MAX_TITLES_DISPLAYED", 5);
// Title character limit.  Adjust this value so event
// titles don't take more space than you want them to
// on calendar month-view.
define("TITLE_CHAR_LIMIT", 37);
// Allows you to specify the weekstart, or the day
// the calendar starts with.  The value must be
// a numeric value from 0-6.  Zero indicates that the
// weekstart is to be Sunday, 1 indicates that it is
// Monday, 2 Tuesday, 3 Wednesday... For most users
// it will be zero or one.
define("WEEK_START", 0);
// Allows you to specify the format in which time
// values are output.  Currently there are two
// formats available: "12hr", which displays
// hours 1-12 with an am/pm, and "24hr" which
// display hours 00-23 with no am/pm.
define("TIME_DISPLAY_FORMAT", "12hr");
// This directive allows you to specify a number 
// of hours by which the current time will be 
// offset.  The current time is used to highlight
// the present day on the month-view calendar, and 
// it is sometimes necessary to adjust the current 
// time, so that the present day does not roll-over 
// too early, or too late, for your intended 
// audience.  Both positive and negative integer 
// values are valid.
$CURCODE = array("JPY" => "&yen; ", "USD" => "$ ", "AUS" => "AUS $ ", "NZ" => "NZ $ ", "EURO" => "&euro; ");

define("CURR_TIME_OFFSET", 0);
$dayname = array();
$dayname[0] = "Sunday";
$dayname[1] = "Monday";
$dayname[2] = "Tuesday";
$dayname[3] = "Wednesday";
$dayname[4] = "Thursday";
$dayname[5] = "Friday";
$dayname[6] = "Saturday";
$lang['days'] = array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
$lang['months'] = array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
$lang['abrvmonth'] = array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
$lang['abrvdays'] = array("Sun", "Mon", "Tue", "Wed", "Thur", "Fri", "Sat");
$shortmonth = array();
$shortmonth[0] = "Jan";
$shortmonth[1] = "Feb";
$shortmonth[2] = "Mar";
$shortmonth[3] = "Apr";
$shortmonth[4] = "May";
$shortmonth[5] = "Jun";
$shortmonth[6] = "Jul";
$shortmonth[7] = "Aug";
$shortmonth[8] = "Sep";
$shortmonth[9] = "Oct";
$shortmonth[10] = "Nov";
$shortmonth[11] = "Dec";
?>