diff --git a/conditions.php~ b/conditions.php~ deleted file mode 100644 index 9417ea5..0000000 --- a/conditions.php~ +++ /dev/null @@ -1,19 +0,0 @@ - -// if($_SESSION['moms_uid'] == '1' OR $_SESSION['moms_uid'] == 3790) - if($_SESSION['moms_uid'] == '1') - { - - - - } - else - if($_SESSION['moms_type'] == "super_admin") - { - - } - else - if($_SESSION['moms_type'] == "admin") - { - - - } \ No newline at end of file diff --git a/includes/conf.php b/includes/conf.php index fffcc0e..6f189f9 100644 --- a/includes/conf.php +++ b/includes/conf.php @@ -3,11 +3,11 @@ include("connect.php"); $_RATEPATH = "/data/adrates/"; - $_HOSTURL = "http://moms.emediasearch.com/"; + $_HOSTURL = "http://moms.localhost/"; $lang_arr = array(1=>'English',2=>'Arabic',3=>'Arabic/English',4=>'English/French',5=>'Arabic/English/French',6=>'French',7=>'Urdu',8=>'Russian',9=>' German',10=>'Farsi',11=>'Malayalam',12=>'Mandarin'); -?> \ No newline at end of file +?> diff --git a/includes/connect.php b/includes/connect.php index 6546611..cd7b86f 100644 --- a/includes/connect.php +++ b/includes/connect.php @@ -5,10 +5,10 @@ { //Database Connection $host = "localhost"; - $user = "emediasearch"; - $pass = "iw2blm"; + $user = "moms"; + $pass = "chngeme"; $conn = mysql_connect($host,$user,$pass); - mysql_select_db("emediasearch"); + mysql_select_db("moms"); /////////////////////////////////////////////// } diff --git a/includes/connect.php~ b/includes/connect.php~ deleted file mode 100644 index 0e16363..0000000 --- a/includes/connect.php~ +++ /dev/null @@ -1,20 +0,0 @@ - diff --git a/index.php b/index.php index f985bdc..d15ee1a 100644 --- a/index.php +++ b/index.php @@ -2954,8 +2954,7 @@ function issue_search(page) {