first commit

This commit is contained in:
dev@siliconpin.com
2025-08-07 11:53:41 +05:30
commit a3067c5ad4
4795 changed files with 782758 additions and 0 deletions

4
old/.htaccess Normal file
View File

@@ -0,0 +1,4 @@
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php

View File

@@ -0,0 +1,8 @@
<?php
$GLOBALS['host']="localhost";
$GLOBALS['user']="s_arif";
$GLOBALS['pass']="m5NZEO6bxw";
$GLOBALS['db']="s_arif";
$GLOBALS['arif_ac']="arif_ac";
$GLOBALS['arif_tran']="arif_tran";
?>

8
old/CONFIG/config.php Normal file
View File

@@ -0,0 +1,8 @@
<?php
//include "../DIZ/DirectAccess-preventer.php";
$GLOBALS['host']="localhost";
$GLOBALS['user']="s_arif";
$GLOBALS['pass']="m5NZEO6bxw";
$GLOBALS['db']="s_arif";
$GLOBALS['arif_ac']="arif_ac";
$GLOBALS['arif_tran']="arif_tran";

5
old/CONFIG/settings.php Normal file
View File

@@ -0,0 +1,5 @@
<?php
include "../DIZ/DirectAccess-preventer.php";
?>

View File

View File

@@ -0,0 +1,32 @@
<?php
function D_news_entry($news){
//var_dump($news);
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
$qq="SELECT id FROM `".$GLOBALS['table1']."`";
$query = $conn->query($qq);
if ($query->num_rows > 0) $news["news_link"]=$news["news_link"].time();
mysqli_set_charset($conn,"utf8");
$stmt = $conn->prepare("INSERT INTO ".$GLOBALS['table1']." (`N_TITLE`, `N_LINK`, `N_CONTENT`, `PICS`, `LANG`, `N_DATE`,`N_CATEGORY`) VALUES (?, ?, ?, ?, ?, ?, ?)");
$N_DATE=date('Y-m-d H:i:s');
$stmt->bind_param("sssssss", $news["news_title"],$news["news_link"],$news["news_content"],$news["image"],$news["lang"],$N_DATE,$news["news_category"]);
if($stmt->execute()){
$GLOBALS['alert_info']= '<div class="alert alert-dismissible alert-info">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<strong>Yes!</strong> Entry Saved successfully
<br> Title :'.$news["news_title"].'
<br> Link :'.$news["news_link"].'
<br> Image :'.$news["image"].'
</div>';
}else{
$GLOBALS['alert_info']= '<div class="alert alert-dismissible alert-danger">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<strong>Sorry!</strong> Unable to process db</div>';
}
$stmt->close();
$conn->close();
}
?>

View File

@@ -0,0 +1,29 @@
<div class="container">
<h2>Provide Details to login</h2>
<form class="form-horizontal" method="post" enctype="multipart/form-data" ><input type="hidden" name="FORM_NAME" value="pa_login">
<div class="form-group">
<label class="control-label col-sm-2" for="email">Email:</label>
<div class="col-sm-10">
<input type="email" class="form-control" placeholder="Enter email" name="email">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="pwd">Password:</label>
<div class="col-sm-10">
<input type="password" class="form-control" placeholder="Enter password" name="pwd">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<div class="checkbox">
<label><input type="checkbox" name="remember"> Remember me</label>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Login</button>
</div>
</div>
</form>
</div>

View File

@@ -0,0 +1,28 @@
<div class="container">
<h2>Provide Details to Create a New Acount</h2>
<form class="form-horizontal" method="post" enctype="multipart/form-data" ><input type="hidden" name="FORM_NAME" value="pa_Signup">
<div class="form-group">
<label class="control-label col-sm-2" > Name:</label>
<div class="col-sm-10">
<input type="text" class="form-control" placeholder="Full Name" name="name">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="email">Email:</label>
<div class="col-sm-10">
<input type="email" class="form-control" placeholder="Enter email" name="email">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="pwd">Password:</label>
<div class="col-sm-10">
<input type="password" class="form-control" placeholder="Enter password" name="pwd">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Signup</button>
</div>
</div>
</form>
</div>

View File

@@ -0,0 +1,25 @@
<?php
//var_dump($_POST);exit();
if(isset($_POST["add_i"]) && isset($_POST["AA_ACNO"]) && is_numeric($_POST["add_i"]) ) {
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
if($conn->query("UPDATE `".$GLOBALS['arif_ac']."` SET `AA_BAL` = `AA_BAL`+".$_POST["add_i"]." , `AA_NO_OF_PAYPAID` = `AA_NO_OF_PAYPAID`+1 WHERE `AA_ACNO` = '".$_POST["AA_ACNO"]."'"))
//Add entry to Transaction
{
$AT_USER="Admin";
if($conn->query("INSERT INTO `".$GLOBALS['arif_tran']."` (`AT_ID`, `AT_TIMESTAMP`, `AT_ADMIN`, `AT_ACID`, `AT_AMOUNT`) VALUES (NULL, CURRENT_TIMESTAMP, '".$AT_USER."', '".$_POST["AA_ACNO"]."', '".$_POST["add_i"]."')"))
$GLOBALS['post_info']="Transaction Success!";
else $GLOBALS['post_info']="Error! Config or server";
/*
INSERT INTO `arif_tran` (`AT_ID`, `AT_TIMESTAMP`, `AT_ADMIN`, `AT_ACID`, `AT_AMOUNT`) VALUES (NULL, CURRENT_TIMESTAMP, '', '000', '32');
$stmt = $conn->prepare("INSERT INTO `".$GLOBALS['arif_tran']."` (`AT_USER`,`AT_ACID`,`AT_AMOUNT`) VALUES (?, ?, ?)");
$stmt->bind_param("ssi" ,$AT_USER,$_POST["AA_ACNO"],$_POST["add_i"]);
if($stmt->execute()){
$GLOBALS['post_info']="Transaction Success!";
} else $GLOBALS['post_info']="Error! Config or server";
*/
}
}else $GLOBALS['post_info']="Error! Check input details";
$conn->close();
?>

View File

@@ -0,0 +1,37 @@
<?php
if(isset($_POST["ac_type"]) && isset($_POST["ac_name"]) && $_POST["ac_name"]!=""){
$ca["ac_type"]=$_POST["ac_type"];
$ca["ac_name"]=$_POST["ac_name"];
$ca["ac_phone"]=$_POST["ac_phone"];
$ca["ac_mail"]=$_POST["ac_mail"];
$ca["ac_address"]=$_POST["ac_address"];
$ca["ac_no"]="GV".$_POST["ac_type"].date("Ymd");
//GC_new_entry($ca);
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
mysqli_set_charset($conn,"utf8");
$stmt = $conn->prepare("INSERT INTO ".$GLOBALS['arif_ac']." (`AA_ACTYPE`,`AA_NAME`, `AA_PHONE`, `AA_EMAIL`, `AA_ADDRESS`) VALUES (?, ?, ?, ?, ?)");
$stmt->bind_param("sssss" ,$ca["ac_type"],$ca["ac_name"],$ca["ac_phone"],$ca["ac_mail"],$ca["ac_address"]);
if($stmt->execute()){
$lid=$conn->insert_id;$ca["ac_no"]=$ca["ac_no"].$lid;
if($conn->query("UPDATE `".$GLOBALS['arif_ac']."` SET `AA_ACNO` = '".$ca["ac_no"]."' WHERE `AA_ID` =".$lid.";"))
$GLOBALS['alert_info']= '<div class="alert alert-dismissible alert-info">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<strong>Yes!</strong> Entry Saved successfully </div>';
}else{
$GLOBALS['alert_info']= '<div class="alert alert-dismissible alert-danger">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<strong>Sorry!</strong> Unable to process db</div>';
}
$stmt->close();
$conn->close();
}
?>

View File

@@ -0,0 +1,16 @@
<?php
if(isset($_POST["FORM_NAME"]) && $_POST["FORM_NAME"]=="new_news_entry"){
$D_image_upload1=D_image_upload1("photo_news","NEWS","",400000); //POST name,Path,target_file_name,max_size
if($D_image_upload1["D_image_upload1"]=="ok")
{
//var_dump($D_image_upload1);
$news["image"]=$D_image_upload1["name"];
$news["news_category"]=$_POST["news_category"];
$news["lang"]=$_POST["lang"];
$news["news_link"]=$_POST["news_link"];$news["news_link"]=preg_replace('~[^a-zA-Z0-9]+~', '-', $news["news_link"]);
$news["news_title"]=$_POST["news_title"];
$news["news_content"]=$_POST["news_content"];
D_news_entry($news);
}
}
?>

View File

@@ -0,0 +1 @@
404

View File

@@ -0,0 +1,10 @@
</body>
<script src="/CONTENT/cal_GV.js"></script>
<script>
//document.getElementsByName("CA_No_Of_Payment")[0].addEventListener("input", cal_mature);
</script>
</html>

View File

@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gramin Venture POS Portal</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/asset/css/bootstrap.min.css">
<script src="/asset/js/jquery.min.js"></script>
<script src="/asset/js/bootstrap.min.js"></script>
<script src="/asset/js/angular.min.js"></script>
<!--<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>-->
</head>
<body>

View File

@@ -0,0 +1,31 @@
<!-- nav start -->
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/Admin/">Gramin Venture</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li ><a href="/Admin/Create_AC_Recurring">New Recurring </a></li>
<li ><a href="/Admin/Create_AC_FD">New FD </a></li>
<li ><a href="/Admin/Create_AC_Loan">New Loan </a></li>
<li><a href="/Admin/View_AC?Type=Recurring">View A/C</a></li>
<!--<li><a href="/Admin/Trans_New">Transaction</a></li>-->
<li><a href="/Admin/Report">Report</a></li>
<li><a href="/Admin/Settings">Settings</a></li>
</ul>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="/Admin/Signout">Signout</a></li>
</ul>
</div>
</div>
</nav>

View File

@@ -0,0 +1,105 @@
<div class="container">
<?php
if(isset($_POST["ac_type"]) && isset($_POST["ac_name"]) && $_POST["ac_name"]!="" && is_numeric($_POST["Mature_Value"]) ) {
$return_json['NotiFi'] = "";$return_json['NotiFi_m'] = "";$return_json['NotiFi_d'] = "";
$ca["ac_type"]=$_POST["ac_type"];
$ca["ac_name"]=$_POST["ac_name"];
$ca["ac_phone"]=$_POST["ac_phone"];
$ca["ac_mail"]=$_POST["ac_mail"];
$ca["ac_address"]=$_POST["ac_address"];
$ca["ac_no"]="GV".$_POST["ac_type"].date("Ymd")."F";
//GC_new_entry($ca);
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
$t="FD";
$stmt = $conn->prepare("INSERT INTO ".$GLOBALS['arif_ac']." (`AA_ICARD_NO`,`AA_NOMINEE_DETAILS`,`AA_INTEREST`,`AA_DATE`, `AA_DATE_MATURE`, `AA_NO_OF_PAYMENT`,`AA_AMOUNT`, `AA_MATURE_VALUE`, `AA_TYPE`,`AA_ACTYPE`,`AA_NAME`, `AA_PHONE`, `AA_EMAIL`, `AA_ADDRESS`, `AA_ADMIN`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");
$stmt->bind_param("sssssssssssssss" ,$_POST["AA_ICARD_NO"],$_POST["AA_NOMINEE_DETAILS"],$_POST["CA_interest"], $_POST["date_today"],$_POST["date_mature"],$_POST["CA_No_Of_Payment"],$_POST["CA_Amount"],$_POST["Mature_Value"], $t,$ca["ac_type"],$ca["ac_name"],$ca["ac_phone"],$ca["ac_mail"],$ca["ac_address"],$_SESSION["EMAIL"]);
if($stmt->execute()){
$lid=$conn->insert_id;$ca["ac_no"]=$ca["ac_no"].$lid;
if($conn->query("UPDATE `".$GLOBALS['arif_ac']."` SET `AA_ACNO` = '".$ca["ac_no"]."' WHERE `AA_ID` =".$lid.";"))
{$return_json['NotiFi'] = "OK";$return_json['NotiFi_m'] = "New FD A/C Created !";$return_json['NotiFi_d'] = "<a href='./Details?no=".$ca["ac_no"]."'>A/C NO- ".$ca["ac_no"]."</a>";}
else{$return_json['NotiFi'] = "Error";$return_json['NotiFi_m'] = "Error Creating New Recurring A/C !";$return_json['NotiFi_d'] = "Failed in Secondary Execution";}
}else printf("Error: %s.\n", $stmt->error);
$stmt->close();
$conn->close();
echo $return_json['NotiFi'],$return_json['NotiFi_m'],$return_json['NotiFi_d'];
} //else {$return_json['NotiFi'] = "Error";$return_json['NotiFi_m'] = "Error on input !";$return_json['NotiFi_d'] = "Check Input Details";}
//echo json_encode($return_json);
?>
</div>
<div class="container">
<form method="post" enctype="multipart/form-data" id="new_fd">
<input type="hidden" name="ac_type" value="F">
<div class="form-group">
<input type="text" class="form-control text-capitalize" name="ac_name" placeholder="Name" >
<small id="emailHelp" class="form-text text-muted">A/C Holder Name*</small>
</div>
<div class="form-group">
<input type="text" class="form-control text-uppercase" name="AA_ICARD_NO" placeholder="I-CARD NO" required>
</div>
<table><tr>
<td><div class="form-group">
<input type="text" class="form-control" name="CA_Amount" oninput="cal_FD();">
<small id="emailHelp" class="form-text text-muted">Amount*</small>
</div></td>
<td><div class="form-group">
<input type="text" class="form-control" name="CA_interest" value="8">
<small id="emailHelp" class="form-text text-muted">interest*</small>
</div></td>
<td><div class="form-group">
<input type="text" class="form-control" name="CA_No_Of_Payment" oninput="cal_FD();cal_FD_md();" >
<small id="emailHelp" class="form-text text-muted">Month*</small>
</div></td>
<td><div class="form-group">
<input type="text" class="form-control" name="Mature_Value" id="Mature_Value" value="">
<small id="emailHelp" class="form-text text-muted">Mature Value*</small>
</div></td>
</tr></table>
<div class="form-group">
<input type="text" class="form-control" id="date_today" name="date_today" value="<?php echo date('Y-m-d');?>" >
<small id="emailHelp" class="form-text text-muted">Date*</small>
</div>
<div class="form-group">
<input type="text" class="form-control" name="date_mature" >
<small id="emailHelp" class="form-text text-muted">Mature Date*</small>
</div>
<div class="form-group">
<input type="text" class="form-control" name="ac_phone" placeholder="Phone No">
</div>
<div class="form-group">
<input type="text" class="form-control" name="ac_mail" placeholder="Email">
</div>
<div class="form-group">
<textarea class="form-control text-capitalize" rows="5" name="ac_address" placeholder="Address"></textarea>
</div>
<hr>
<small class="form-text text-muted"><u>Nominee details*</u></small>
<div class="form-group">
<textarea class="form-control text-capitalize" rows="5" name="AA_NOMINEE_DETAILS" required>Name:
DOB:
Relation:
ID:
</textarea>
</div>
<div class="row">
<div class="col-lg-4 col-md-4 col-md-offset-5 col-sm-12 col-xs-12">
<button type="submit" class="btn btn-primary">Create New FD A/C</button>
</div>
</div>
</form>
</div>

View File

@@ -0,0 +1,136 @@
<div class="container">
<?php
if(isset($_POST["ac_type"]) && isset($_POST["ac_name"]) && $_POST["ac_name"]!="" && is_numeric($_POST["Mature_Value"]) ) {
$return_json['NotiFi'] = "";$return_json['NotiFi_m'] = "";$return_json['NotiFi_d'] = "";
$ca["ac_type"]=$_POST["ac_type"];
$ca["ac_name"]=$_POST["ac_name"];
$ca["ac_phone"]=$_POST["ac_phone"];
$ca["ac_mail"]=$_POST["ac_mail"];
$ca["ac_address"]=$_POST["ac_address"];
$ca["ac_no"]="GV".$_POST["ac_type"].date("Ymd")."L";
$AA_BAL=$_POST["Mature_Value"];$AA_BAL=$AA_BAL-($AA_BAL*2);
//GC_new_entry($ca);
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
$t="Loan";
$stmt = $conn->prepare("INSERT INTO ".$GLOBALS['arif_ac']." (`AA_BAL`,`AA_G1_DETAILS`,`AA_G2_DETAILS`,`AA_INSTALLMENT`,`AA_ICARD_NO`,`AA_INTEREST`,`AA_DATE`,`AA_DATE_MATURE`,`AA_NO_OF_PAYMENT`,`AA_AMOUNT`,`AA_MATURE_VALUE`,`AA_TYPE`,`AA_ACTYPE`,`AA_NAME`, `AA_PHONE`, `AA_EMAIL`, `AA_ADDRESS`, `AA_ADMIN`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");
$stmt->bind_param("isssssssssssssssss" ,$AA_BAL,$_POST["AA_G1_DETAILS"],$_POST["AA_G2_DETAILS"],$_POST["CA_installment"],$_POST["AA_ICARD_NO"],$_POST["CA_interest"],$_POST["date_today"],$_POST["date_mature"],$_POST["CA_No_Of_Payment"],$_POST["CA_Amount"],$_POST["Mature_Value"], $t,$ca["ac_type"],$ca["ac_name"],$ca["ac_phone"],$ca["ac_mail"],$ca["ac_address"],$_SESSION["EMAIL"]);
if($stmt->execute()){
$lid=$conn->insert_id;$ca["ac_no"]=$ca["ac_no"].$lid;
if($conn->query("UPDATE `".$GLOBALS['arif_ac']."` SET `AA_ACNO` = '".$ca["ac_no"]."' WHERE `AA_ID` =".$lid.";"))
{$return_json['NotiFi'] = "OK";$return_json['NotiFi_m'] = "New Loan A/C Created !";$return_json['NotiFi_d'] = "<a href='./Details?no=".$ca["ac_no"]."'>A/C NO- ".$ca["ac_no"]."</a>";}
else{$return_json['NotiFi'] = "Error";$return_json['NotiFi_m'] = "Error Creating New Recurring A/C !";$return_json['NotiFi_d'] = "Failed in Secondary Execution";}
}
$stmt->close();
$conn->close();
echo $return_json['NotiFi'],$return_json['NotiFi_m'],$return_json['NotiFi_d'];
} //else {$return_json['NotiFi'] = "Error";$return_json['NotiFi_m'] = "Error on input !";$return_json['NotiFi_d'] = "Check Input Details";}
//echo json_encode($return_json);
?>
</div>
<div class="container">
<form method="post" enctype="multipart/form-data" id="new_loan">
<!--<div ng-app="myApp" ng-controller="myCtrl" class="form-group">-->
<select class="form-control" name="ac_type" onchange="cal_loan_type();">
<option value="D">Day</option>
<option value="W">Week</option>
<option value="M">Month</option>
</select>
<small class="form-text text-muted">A/C Type*</small>
<!--</div>-->
</br>
<div class="form-group">
<input type="text" class="form-control text-capitalize" name="ac_name" placeholder="Name" >
<small class="form-text text-muted">A/C Holder Name*</small>
</div>
<div class="form-group">
<input type="text" class="form-control text-uppercase" name="AA_ICARD_NO" placeholder="ICARD No" >
<small class="form-text text-muted">A/C Holder's ID No*</small>
</div>
<div class="form-group">
<input type="text" class="form-control text-capitalize" name="Father" placeholder="Father" >
<small class="form-text text-muted">A/C Holder's Father*</small>
</div>
<div class="form-group">
<input type="text" class="form-control" name="ac_phone" placeholder="Phone No">
</div>
<div class="form-group">
<input type="text" class="form-control" name="ac_mail" placeholder="Email">
</div>
<div class="form-group">
<textarea class="form-control text-capitalize" rows="5" name="ac_address" placeholder="Address"></textarea>
</div>
<table><tr>
<td><div class="form-group">
<input type="text" class="form-control" name="CA_Amount" oninput="cal_loan();">
<small class="form-text text-muted">Principle Amount*</small>
</div></td>
<td><div class="form-group">
<input type="text" class="form-control" name="CA_interest" value="20" oninput="cal_loan();">
<small class="form-text text-muted">interest*</small>
</div></td>
<td><div class="form-group">
<input type="text" class="form-control" name="CA_No_Of_Payment" oninput="cal_loan();cal_Re_md();" >
<small class="form-text text-muted">Tenure no of <span id="DWM">Day</span>*</small>
</div></td>
<td><div class="form-group">
<input type="text" class="form-control" name="CA_installment" >
<small class="form-text text-muted">installment Amount*</small>
</div></td>
<td><div class="form-group">
<input type="text" class="form-control" name="Mature_Value" >
<small class="form-text text-muted">Total Amount*</small>
</div></td>
</tr></table>
<div class="form-group">
<input type="text" class="form-control" id="date_today" name="date_today" value="<?php echo date('Y-m-d');?>" >
<small id="emailHelp" class="form-text text-muted">Date*</small>
</div>
<div class="form-group">
<input type="text" class="form-control" name="date_mature" >
<small id="emailHelp" class="form-text text-muted">Mature Date*</small>
</div>
<hr/>
<h4>Guaranter</h4>
<hr>
<small class="form-text text-muted"><u>1st Guaranter details*</u></small>
<div class="form-group">
<textarea class="form-control text-capitalize" rows="6" name="AA_G1_DETAILS" required>Name:
ID:
Father:
Phone:
Relation:
Address: </textarea>
</div>
<hr>
<small class="form-text text-muted"><u>2nd Guaranter details*</u></small>
<div class="form-group">
<textarea class="form-control text-capitalize" rows="6" name="AA_G2_DETAILS" required>Name:
ID:
Father:
Phone:
Relation:
Address:</textarea>
</div>
<div class="row">
<div class="col-lg-4 col-md-4 col-md-offset-5 col-sm-12 col-xs-12">
<button type="submit" class="btn btn-primary" >Create New Loan A/C</button>
</div>
</div>
</form>
</div>

View File

@@ -0,0 +1,106 @@
<div class="container">
<?php
$start = time();
if(isset($_POST["ac_type"]) && isset($_POST["ac_name"]) && $_POST["ac_name"]!="" && is_numeric($_POST["Mature_Value"]) ) {
$return_json['NotiFi'] = "";$return_json['NotiFi_m'] = "";$return_json['NotiFi_d'] = "";
$ca["ac_type"]=$_POST["ac_type"];
$ca["ac_name"]=$_POST["ac_name"];
$ca["ac_phone"]=$_POST["ac_phone"];
$ca["ac_mail"]=$_POST["ac_mail"];
$ca["ac_address"]=$_POST["ac_address"];
$ca["ac_no"]="GV".$_POST["ac_type"].date("Ymd")."R";
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
$t="Recurring";
$stmt = $conn->prepare("INSERT INTO ".$GLOBALS['arif_ac']." (`AA_INTEREST`,`AA_DATE`,`AA_ICARD_NO`,`AA_DATE_MATURE`,`AA_NO_OF_PAYMENT`,`AA_INSTALLMENT`,`AA_MATURE_VALUE`,`AA_TYPE`,`AA_ACTYPE`,`AA_NAME`, `AA_PHONE`, `AA_EMAIL`, `AA_ADDRESS`, `AA_NOMINEE_DETAILS`, `AA_ADMIN`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");
$stmt->bind_param("sssssssssssssss" ,$_POST["CA_interest"],$_POST["date_today"],$_POST["AA_ICARD_NO"],$_POST["date_mature"],$_POST["CA_No_Of_Payment"],$_POST["CA_Amount"],$_POST["Mature_Value"], $t,$ca["ac_type"],$ca["ac_name"],$ca["ac_phone"],$ca["ac_mail"],$ca["ac_address"],$_POST["AA_NOMINEE_DETAILS"],$_SESSION["EMAIL"]);
if($stmt->execute()){
$lid=$conn->insert_id;$ca["ac_no"]=$ca["ac_no"].$lid;
if($conn->query("UPDATE `".$GLOBALS['arif_ac']."` SET `AA_ACNO` = '".$ca["ac_no"]."' WHERE `AA_ID` =".$lid.";"))
{$return_json['NotiFi'] = "OK";$return_json['NotiFi_m']="New Recurring A/C Created !";$return_json['NotiFi_d'] = "<a href='./Details?no=".$ca["ac_no"]."'>A/C NO- ".$ca["ac_no"]."</a>";}
else{$return_json['NotiFi'] = "Error";$return_json['NotiFi_m'] = "Error Creating New Recurring A/C !";$return_json['NotiFi_d'] = "Failed in Secondary Execution";}
}
$stmt->close();
$conn->close();
//$e_time= time() - $start; echo $start."<br>".time()."<br>".$e_time."<br>";
echo $return_json['NotiFi'],$return_json['NotiFi_m'],$return_json['NotiFi_d'];
}// else {$return_json['NotiFi'] = "Error";$return_json['NotiFi_m'] = "Error on input !";$return_json['NotiFi_d'] = "Check Input Details";}
?>
</div>
<div class="container">
<form method="post" enctype="multipart/form-data" id="New_Recurring">
<div class="form-group">
<!--<div ng-app="myApp" ng-controller="myCtrl" class="form-group">-->
<select class="form-control" name="ac_type">
<option value="D">Day</option>
<option value="W">Week</option>
<option value="M">Month</option>
</select>
<small class="form-text text-muted">A/C Type*</small>
<!--</div>-->
</div>
<br>
<div class="form-group">
<input type="text" class="form-control text-capitalize" name="ac_name" placeholder="Name" required>
<small class="form-text text-muted">A/C Holder Name*</small>
</div>
<div class="form-group">
<input type="text" class="form-control text-uppercase" name="AA_ICARD_NO" placeholder="I-CARD NO" required>
</div>
<table><tr>
<td><div class="form-group">
<input type="text" class="form-control" name="CA_Amount" oninput="cal_rec();" required>
<small class="form-text text-muted">Amount*</small>
</div></td>
<td><div class="form-group">
<input type="text" class="form-control" name="CA_interest" value="8" oninput="cal_rec();" required>
<small class="form-text text-muted">Interest*</small>
</div></td>
<td><div class="form-group">
<input type="text" class="form-control" name="CA_No_Of_Payment" oninput="cal_rec();cal_Re_md();" required>
<small class="form-text text-muted">No Of Payment*</small>
</div></td>
<td><div class="form-group">
<input type="text" class="form-control" name="Mature_Value" required>
<small class="form-text text-muted">Mature Value*</small>
</div></td>
</tr></table>
<div class="form-group">
<input type="text" class="form-control" id="date_today" name="date_today" value="<?php echo date('Y-m-d');?>" required>
<small class="form-text text-muted">Date*</small>
</div>
<div class="form-group">
<input type="text" class="form-control" name="date_mature" required>
<small class="form-text text-muted">Mature Date*</small>
</div>
<div class="form-group">
<input type="text" class="form-control" name="ac_phone" placeholder="Phone No" required>
</div>
<div class="form-group">
<input type="text" class="form-control" name="ac_mail" placeholder="Email">
</div>
<div class="form-group">
<textarea class="form-control text-capitalize" rows="5" name="ac_address" placeholder="Address" required></textarea>
</div>
<hr>
<small class="form-text text-muted"><u>Nominee details*</u></small>
<div class="form-group">
<textarea class="form-control text-capitalize" rows="5" name="AA_NOMINEE_DETAILS" required>Name:
DOB:
Relation:
ID:
</textarea>
</div>
<div class="row">
<div class="col-lg-4 col-md-4 col-md-offset-5 col-sm-12 col-xs-12">
<button type="submit" class="btn btn-primary" >Create New Recurring A/C</button>
</div>
</div>
</form>
</div>

View File

@@ -0,0 +1,247 @@
<div class="container" style="text-align: center;">
<h3> ACCOUNT DETAILS</h3><hr>
</div>
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<?php
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
$conn->set_charset("utf8");
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM `".$GLOBALS['arif_ac']."` WHERE `AA_ACNO`= '".$_GET["no"]."'";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) { if($row["AA_ACTYPE"]=="D")$AA_ACTYPE="Day";if($row["AA_ACTYPE"]=="M")$AA_ACTYPE="Month";if($row["AA_ACTYPE"]=="W")$AA_ACTYPE="Week";
if ($row["AA_TYPE"]== "FD")
echo "
<tr><th colspan='2'><span class='text-center'>Fixed Diposite A/C of ".$row["AA_NAME"]. "</span></tr><tr>
<tr>
<th>ACCOUNT NO.</th>
<td>".$row["AA_ACNO"]. "</td>
</tr>
<tr>
<th>A/C Created</th>
<td>".$row["AA_TIMESTAMP"]. "</td>
</tr>
<tr>
<th>EFFECTIVE DATE</th>
<td>".$row["AA_DATE"]. "</td>
</tr>
<tr>
<th>ACCOUNT HOLDER</th>
<td>".$row["AA_NAME"]. "</td>
</tr>
<tr>
<th>ACCOUNT HOLDER's ID/CARD NO</th>
<td>".$row["AA_ICARD_NO"]. "</td>
</tr>
<tr>
<th>EMAIL ID</th>
<td>".$row["AA_EMAIL"]. "</td>
</tr>
<tr>
<th>PHONE NO.</th>
<td>".$row["AA_PHONE"]. "</td>
</tr>
<tr>
<th>ADDRESS</th>
<td>".$row["AA_ADDRESS"]. "</td>
</tr>
<tr>
<th>ACCOUNT TYPE</th>
<td>Fixed Diposite</td>
</tr>
<tr>
<th>RATE OF INTEREST</th>
<td>".$row["AA_INTEREST"]. "</td>
</tr>
<tr>
<th>AMOUNT PAID</th>
<td>".$row["AA_AMOUNT"]. "</td>
</tr>
<tr>
<th>MATURITY DATE</th>
<td>".$row["AA_DATE_MATURE"]. "</td>
</tr>
<tr>
<th>NOMINEE DETAILS</th>
<td>".$row["AA_NOMINEE_DETAILS"]. "</td>
</tr>
";
elseif ($row["AA_TYPE"]== "Recurring")
echo "
<tr><th colspan='2'><span class='text-center'>Recurring A/C of ".$row["AA_NAME"]. "</span></tr><tr>
<tr>
<th>ACCOUNT NO.</th>
<td>".$row["AA_ACNO"]. "</td>
</tr>
<tr>
<th>ACCOUNT TYPE</th>
<td>".$row["AA_TYPE"]. "</td>
</tr>
<tr>
<th>PAYMENT TERM</th>
<td>".$AA_ACTYPE. "</td>
</tr>
<tr>
<th>A/C Created</th>
<td>".$row["AA_TIMESTAMP"]. "</td>
</tr>
<tr>
<th>EFFECTIVE DATE</th>
<td>".$row["AA_DATE"]. "</td>
</tr>
<tr>
<th>ACCOUNT BALANCE</th>
<td>".$row["AA_BAL"]. "</td>
</tr>
<tr>
<th>ACCOUNT HOLDER</th>
<td>".$row["AA_NAME"]. "</td>
</tr>
<tr>
<th>ID CARD NO</th>
<td>".$row["AA_ICARD_NO"]. "</td>
</tr>
<tr>
<th>EMAIL ID</th>
<td>".$row["AA_EMAIL"]. "</td>
</tr>
<tr>
<th>PHONE NO.</th>
<td>".$row["AA_PHONE"]. "</td>
</tr>
<tr>
<th>ADDRESS</th>
<td>".$row["AA_ADDRESS"]. "</td>
</tr>
<tr>
<th>INTEREST</th>
<td>".$row["AA_INTEREST"]. "</td>
</tr>
<tr>
<th>INSTALLMENT AMOUNT</th>
<td>".$row["AA_INSTALLMENT"]. "</td>
</tr>
<tr>
<th>TOTAL NUMBER OF INSTALLMENTS</th>
<td>".$row["AA_NO_OF_PAYMENT"]. "</td>
</tr>
<tr>
<th>NUMBER OF INSTALLMENTS PAID</th>
<td>".$row["AA_NO_OF_PAYPAID"]. "</td>
</tr>
<tr>
<th>MATURITY DATE</th>
<td>".$row["AA_DATE_MATURE"]. "</td>
</tr>
<tr>
<th>MATURITY AMOUNT</th>
<td>".$row["AA_MATURE_VALUE"]. "</td>
</tr>
<tr>
<th>DATE</th>
<td>".$row["AA_DATE"]. "</td>
</tr>
<tr>
<th>NOMINEE DETAILS</th>
<td>".$row["AA_NOMINEE_DETAILS"]. "</td>
</tr>
";
else
echo "
<tr><th colspan='2'><span class='text-center'>Loan A/C of ".$row["AA_NAME"]. "</span></tr><tr>
<tr>
<th>ACCOUNT NO.</th>
<td>".$row["AA_ACNO"]. "</td>
</tr>
<tr>
<th>PAYMENT TERM</th>
<td>".$AA_ACTYPE. "</td>
</tr>
<tr>
<th>ACCOUNT TYPE</th>
<td>".$row["AA_TYPE"]. "</td>
</tr>
<tr>
<th>A/C Created</th>
<td>".$row["AA_TIMESTAMP"]. "</td>
</tr>
<tr>
<th>EFFECTIVE DATE</th>
<td>".$row["AA_DATE"]. "</td>
</tr>
<tr>
<th>ACCOUNT BALANCE</th>
<td>".$row["AA_BAL"]. "</td>
</tr>
<tr>
<th>ACCOUNT HOLDER</th>
<td>".$row["AA_NAME"]. "</td>
</tr>
<tr>
<th>ID CARD NO</th>
<td>".$row["AA_ICARD_NO"]. "</td>
</tr>
<tr>
<th>EMAIL ID</th>
<td>".$row["AA_EMAIL"]. "</td>
</tr>
<tr>
<th>PHONE NO.</th>
<td>".$row["AA_PHONE"]. "</td>
</tr>
<tr>
<th>ADDRESS</th>
<td>".$row["AA_ADDRESS"]. "</td>
</tr>
<tr>
<th>INTEREST</th>
<td>".$row["AA_INTEREST"]. "</td>
</tr>
<tr>
<th>INSTALLMENT AMOUNT</th>
<td>".$row["AA_INSTALLMENT"]. "</td>
</tr>
<tr>
<th>LOAN AMOUNT</th>
<td>".$row["AA_AMOUNT"]. "</td>
</tr>
<tr>
<th>NUMBER OF PAYMENT</th>
<td>".$row["AA_NO_OF_PAYMENT"]. "</td>
</tr>
<tr>
<th>TERM ENDING DATE</th>
<td>".$row["AA_DATE_MATURE"]. "</td>
</tr>
<tr>
<th>1st GUARANTER DETAILS</th>
<td>".$row["AA_G1_DETAILS"]. "</td>
</tr>
<tr>
<th>2nd GUARANTER DETAILS</th>
<td>".$row["AA_G2_DETAILS"]. "</td>
</tr>
";
}
} else {
echo "0 results";
};
$conn->close();
?>
</table>
</div>

View File

@@ -0,0 +1,102 @@
<div class="container">
<table>
<!-- <tr>
<td>
<form>
<input type="date" name="tday">
<input type="submit" class="btn-info" value="Daily Report">
</form>
</td>
<td>
<form>
<input type="date" name="tmonth">
<input type="submit" class="btn-info" value="Monthly Report">
</form>
</td>
</tr> -->
<tr><td>.</td><td>.</td></tr>
<tr>
<td colspan="2">
<form>
<label for="">From </label><input type="date" name="dFrom">
<label for="">To </label><input type="date" name="dTo">
<input type="submit" class="btn-info" value="Report">
</form>
</td>
</tr>
</table>
</div>
<?php
function report_view($type,$dt) {
$dateFrom=$dt;
if($type!="month" || $type!="day") {
$dateFrom= strtotime($dt); $dateFrom = date("Y-m-d", $dateFrom);
$dateTo= strtotime('+1 day', strtotime($type)); $dateTo = date("Y-m-d", $dateTo);
}
//$dateFrom=$dt;
else{
if($type=="month") {$dateFrom= strtotime('-1 day', strtotime($dt)); $dateFrom = date("Y-m-d", $dateFrom);}
$dateTo = strtotime('+1 '.$type, strtotime($dt));
$dateTo = date("Y-m-d", $dateTo);
}
echo '<div class="container"> <h3>'.$dateFrom." -> ".$dateTo."(Up to)</h3> </div>";
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
$totalAmount=0;
echo '
<div class="container" style="margin-top: 70px;">
<h5>VIEW REPORT::::::::</h5><hr>
</div>
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>Transaction ID</th>
<th>Time</th>
<th>AC No</th>
<th>Name</th>
<th>Amount</th>
</tr>';
$sql = "SELECT * FROM `".$GLOBALS['arif_tran']."` INNER JOIN `".$GLOBALS['arif_ac']."` ON `".$GLOBALS['arif_tran']."`.`AT_ACID`=`".$GLOBALS['arif_ac']."`.`AA_ACNO` WHERE `AT_TIMESTAMP` BETWEEN '".$dateFrom." 00:00:00.000000' AND '".$dateTo." 00:00:00.000000' ORDER BY `arif_tran`.`AT_ID` DESC";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
// $tt=$row["AT_ID"]-10;
echo "
<tr>
<td>".$row["AT_ID"]. "</td>
<td>".$row["AT_TIMESTAMP"]. "</td>
<td>".$row["AT_ACID"]. "</td>
<td>".$row["AA_NAME"]. "</td>
<td>".$row["AT_AMOUNT"]. "</td>
</tr>";$totalAmount+=$row["AT_AMOUNT"];
}
} else {
echo "0 results";
}
$conn->close();
echo '
</table>
<hr> <h2> Total Transaction amount : '.$totalAmount.'</h2>
</div>
';
}
if(isset($_GET['tday']) && $_GET['tday']!="") report_view('day',$_GET['tday']);
if(isset($_GET['tmonth']) && $_GET['tmonth']!="") report_view('month',$_GET['tmonth']);
if(isset($_GET['dFrom']) && $_GET['dTo']!="") report_view($_GET['dTo'],$_GET['dFrom']);
//if(isset($_GET['Type']) && $_GET['Type']=="Loan") view_list_ac('Loan');
// if(isset($_GET['Type']) && $_GET['Type']=="Recurring") view_list_ac('Recurring');
// if(isset($_GET['Type']) && $_GET['Type']=="FD") view_list_ac('FD');
?>

View File

@@ -0,0 +1,76 @@
<div class="container">
<form>
<input type="date" name="tday">
<input type="submit" class="btn-info" value="Daily Report">
</form>
<form>
<input type="date" name="tmonth">
<input type="submit" class="btn-info" value="Monthly Report">
</form>
</div>
<?php
function report_view($type,$dt) {
// $dateTo=$dt;
// $dateFrom = strtotime('-1 '.$type, strtotime($dt));
// $dateFrom = date("Y-m-d", $dateFrom);
$dateFrom=$dt;
if($type=="month") {$dateFrom= strtotime('-1 day', strtotime($dt)); $dateFrom = date("Y-m-d", $dateFrom);}
$dateTo = strtotime('+1 '.$type, strtotime($dt));
$dateTo = date("Y-m-d", $dateTo);
echo $dateFrom." -> ".$dateTo."(Up to)";
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
$totalAmount=0;
echo '
<div class="container" style="margin-top: 70px;">
<h5>VIEW REPORT::::::::</h5><hr>
</div>
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>Transaction ID</th>
<th>Time</th>
<th>AC No</th>
<th>Amount</th>
</tr>';
$sql = "SELECT * FROM `".$GLOBALS['arif_tran']."` WHERE `AT_TIMESTAMP` BETWEEN '".$dateFrom." 00:00:00.000000' AND '".$dateTo." 00:00:00.000000' ORDER BY `arif_tran`.`AT_ID` DESC";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
// $tt=$row["AT_ID"]-10;
echo "
<tr>
<td>".$row["AT_ID"]. "</td>
<td>".$row["AT_TIMESTAMP"]. "</td>
<td>".$row["AT_ACID"]. "</td>
<td>".$row["AT_AMOUNT"]. "</td>
</tr>";$totalAmount+=$row["AT_AMOUNT"];
}
} else {
echo "0 results";
}
$conn->close();
echo '
</table>
<hr> <h2> Total Transaction amount : '.$totalAmount.'</h2>
</div>
';
}
if(isset($_GET['tday']) && $_GET['tday']!="") report_view('day',$_GET['tday']);
if(isset($_GET['tmonth']) && $_GET['tmonth']!="") report_view('month',$_GET['tmonth']);
//if(isset($_GET['Type']) && $_GET['Type']=="Loan") view_list_ac('Loan');
// if(isset($_GET['Type']) && $_GET['Type']=="Recurring") view_list_ac('Recurring');
// if(isset($_GET['Type']) && $_GET['Type']=="FD") view_list_ac('FD');
?>

View File

@@ -0,0 +1,100 @@
<div class="container">
<table>
<!-- <tr>
<td>
<form>
<input type="date" name="tday">
<input type="submit" class="btn-info" value="Daily Report">
</form>
</td>
<td>
<form>
<input type="date" name="tmonth">
<input type="submit" class="btn-info" value="Monthly Report">
</form>
</td>
</tr> -->
<tr><td>.</td><td>.</td></tr>
<tr>
<td colspan="2">
<form>
<label for="">From </label><input type="date" name="dFrom">
<label for="">To </label><input type="date" name="dTo">
<input type="submit" class="btn-info" value="Report">
</form>
</td>
</tr>
</table>
</div>
<?php
function report_view($type,$dt) {
$dateFrom=$dt;
if($type!="month" || $type!="day") {
$dateFrom= strtotime($dt); $dateFrom = date("Y-m-d", $dateFrom);
$dateTo= strtotime('+1 day', strtotime($type)); $dateTo = date("Y-m-d", $dateTo);
}
//$dateFrom=$dt;
else{
if($type=="month") {$dateFrom= strtotime('-1 day', strtotime($dt)); $dateFrom = date("Y-m-d", $dateFrom);}
$dateTo = strtotime('+1 '.$type, strtotime($dt));
$dateTo = date("Y-m-d", $dateTo);
}
echo $dateFrom." -> ".$dateTo."(Up to)";
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
$totalAmount=0;
echo '
<div class="container" style="margin-top: 70px;">
<h5>VIEW REPORT::::::::</h5><hr>
</div>
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>Transaction ID</th>
<th>Time</th>
<th>AC No</th>
<th>Amount</th>
</tr>';
$sql = "SELECT * FROM `".$GLOBALS['arif_tran']."` WHERE `AT_TIMESTAMP` BETWEEN '".$dateFrom." 00:00:00.000000' AND '".$dateTo." 00:00:00.000000' ORDER BY `arif_tran`.`AT_ID` DESC";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
// $tt=$row["AT_ID"]-10;
echo "
<tr>
<td>".$row["AT_ID"]. "</td>
<td>".$row["AT_TIMESTAMP"]. "</td>
<td>".$row["AT_ACID"]. "</td>
<td>".$row["AT_AMOUNT"]. "</td>
</tr>";$totalAmount+=$row["AT_AMOUNT"];
}
} else {
echo "0 results";
}
$conn->close();
echo '
</table>
<hr> <h2> Total Transaction amount : '.$totalAmount.'</h2>
</div>
';
}
if(isset($_GET['tday']) && $_GET['tday']!="") report_view('day',$_GET['tday']);
if(isset($_GET['tmonth']) && $_GET['tmonth']!="") report_view('month',$_GET['tmonth']);
if(isset($_GET['dFrom']) && $_GET['dTo']!="") report_view($_GET['dTo'],$_GET['dFrom']);
//if(isset($_GET['Type']) && $_GET['Type']=="Loan") view_list_ac('Loan');
// if(isset($_GET['Type']) && $_GET['Type']=="Recurring") view_list_ac('Recurring');
// if(isset($_GET['Type']) && $_GET['Type']=="FD") view_list_ac('FD');
?>

View File

@@ -0,0 +1,5 @@
<?php
echo '<h2>Allowed Users</h2><br>';
foreach (glob("CONFIG/*.txt") as $filename) echo substr($filename, 7,-4);
echo '<h2>Add a user</h2><br><input type="text" >';
?>

View File

@@ -0,0 +1,9 @@
<?php
session_unset();
if(isset($_COOKIE['EMAIL'])){
header_remove();
setcookie('EMAIL', $_POST['EMAIL'], time() - (86400 * 30), "/");
echo '<script>window.location.relode();</script>';
}
else echo '<script>window.location.assign("/Admin/");</script>';
?>

View File

@@ -0,0 +1,149 @@
<div class="container" style="margin-top: 20px;">
<form method="get" action="Trans_New"> <input type="text" placeholder="input A/C no and enter" name="no"></form>
</div>
<?php
if(isset($_GET["no"]) && isset($_GET["type"])&&$_GET["type"]=="Loan"){
echo '
<div class="container" style="margin-top: 20px;"> <h5>New Transaction : '.$GLOBALS['post_info'].' </h5><hr></div>
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>Name</th>
<th>Phone</th>
<th>AC No</th>
<th>Remaining Amount</th>
<th>Installment</th>
</tr>
';
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM `".$GLOBALS['arif_ac']."` WHERE `AA_ACNO` = '".$_GET["no"]."' ";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
echo "
<tr>
<td>".$row["AA_NAME"]. "</td>
<td>".$row["AA_PHONE"]. "</td>
<td>".$row["AA_ACNO"]."</td>
<td>".$row["AA_BAL"]. '</td>
<td>
<form method="post" enctype="multipart/form-data">
<!--<input type="hidden" name="FORM_NAME" value="add_installment">-->
<input type="text" name="add_i" value="'.$row['AA_INSTALLMENT'].'">
<input type="hidden" name="AA_ACNO" value="'.$row['AA_ACNO'].'"><input type="submit" class="btn-info" value="Receive"></form>
</td>
</tr>';
}
} else {echo "Check A/C no.";};
$conn->close();
echo '
</table>
</div>
';
}
if(isset($_GET["no"]) && isset($_GET["type"])&&$_GET["type"]=="Recurring"){
echo '
<div class="container" style="margin-top: 70px;"> <h5>New Transaction : '.$GLOBALS['post_info'].' </h5><hr></div>
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>Name</th>
<th>Phone</th>
<th>AC No</th>
<th>Total Deposite</th>
<th>Installment</th>
</tr>
';
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM `".$GLOBALS['arif_ac']."` WHERE `AA_ACNO` = '".$_GET["no"]."' ";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
echo "
<tr>
<td>".$row["AA_NAME"]. "</td>
<td>".$row["AA_PHONE"]. "</td>
<td>".$row["AA_ACNO"]."</td>
<td>".$row["AA_BAL"]. '</td>
<td>
<form method="post" enctype="multipart/form-data">
<input type="hidden" name="FORM_NAME" value="add_installment">
<input type="text" name="add_i" value="'.$row['AA_INSTALLMENT'].'">
<input type="hidden" name="AA_ACNO" value="'.$row['AA_ACNO'].'"><input type="submit" class="btn-info" value="Receive"></form>
</td>
</tr>';
}
} else {echo "Check A/C no.";};
$conn->close();
echo '
</table>
</div>
';
}
?>
<div class="container" style="margin-top: 70px;">
<h5>Past Transactions::</h5><hr>
</div>
<?php
if(isset($_GET["no"])){
echo '
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>SL</th>
<th>Tr No</th>
<th>TimeStamp</th>
<th>User</th>
<th>A/C No</th>
<th>Amount</th>
</tr>
';
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
$sql = "SELECT * FROM `".$GLOBALS['arif_tran']."` WHERE `AT_ACID` = '".$_GET['no']."'";
$result = $conn->query($sql);
$i=0;
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
$i++;
echo "
<tr>
<td>".$i. "</td>
<td>".$row["AT_ID"]. "</td>
<td>".$row["AT_TIMESTAMP"]. "</td>
<td>".$row["AT_USER"]. "</td>
<td>".$row["AT_ACID"]. "</td>
<td>".$row["AT_AMOUNT"]. "</td>
</tr>";
}
} else echo "No Past record Found";
$conn->close();
echo '
</table>
</div>
';
}
?>

View File

@@ -0,0 +1,150 @@
<div class="container" style="margin-top: 20px;">
<form method="get" action="Trans_New"> <input type="text" placeholder="input A/C no and enter" name="no"></form>
</div>
<?php
if(isset($_GET["no"]) && isset($_GET["type"])&&$_GET["type"]=="Loan"){
echo '
<div class="container" style="margin-top: 20px;"> <h5>New Transaction : '.$GLOBALS['post_info'].' </h5><hr></div>
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>Name</th>
<th>Phone</th>
<th>AC No</th>
<th>Remaining Amount</th>
<th>Installment</th>
</tr>
';
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM `".$GLOBALS['arif_ac']."` WHERE `AA_ACNO` = '".$_GET["no"]."' ";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
echo "
<tr>
<td>".$row["AA_NAME"]. "</td>
<td>".$row["AA_PHONE"]. "</td>
<td>".$row["AA_ACNO"]."</td>
<td>".$row["AA_BAL"]. '</td>
<td>
<form method="post" enctype="multipart/form-data">
<input type="hidden" name="FORM_NAME" value="add_installment">
<input type="text" name="add_i" value="'.$row['AA_INSTALLMENT'].'">
<input type="hidden" name="AA_ACNO" value="'.$row['AA_ACNO'].'"><input type="submit" class="btn-info" value="Receive"></form>
</td>
</tr>';
}
} else {echo "Check A/C no.";};
$conn->close();
echo '
</table>
</div>
';
}
if(isset($_GET["no"]) && isset($_GET["type"])&&$_GET["type"]=="Recurring"){
echo '
<div class="container" style="margin-top: 70px;"> <h5>New Transaction : '.$GLOBALS['post_info'].' </h5><hr></div>
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>Name</th>
<th>Phone</th>
<th>AC No</th>
<th>Total Deposite</th>
<th>Installment</th>
</tr>
';
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM `".$GLOBALS['arif_ac']."` WHERE `AA_ACNO` = '".$_GET["no"]."' ";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
echo "
<tr>
<td>".$row["AA_NAME"]. "</td>
<td>".$row["AA_PHONE"]. "</td>
<td>".$row["AA_ACNO"]."</td>
<td>".$row["AA_BAL"]. '</td>
<td>
<form method="post" enctype="multipart/form-data">
<input type="hidden" name="FORM_NAME" value="add_installment">
<input type="text" name="add_i" value="'.$row['AA_INSTALLMENT'].'">
<input type="hidden" name="AA_ACNO" value="'.$row['AA_ACNO'].'"><input type="submit" class="btn-info" value="Receive"></form>
</td>
</tr>';
}
} else {echo "Check A/C no.";};
$conn->close();
echo '
</table>
</div>
';
}
?>
<div class="container" style="margin-top: 70px;">
<h5>Past Transactions::::</h5><hr>
</div>
<?php
if(isset($_GET["no"])){
echo '
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>SL</th>
<th>Tr No</th>
<th>TimeStamp</th>
<th>User</th>
<th>A/C No</th>
<th>Amount</th>
</tr>
';
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
// $sql = "SELECT * FROM `".$GLOBALS['arif_tran']."` WHERE `AT_ACID` = '".$_GET['no']."'";
$sql = "SELECT * FROM `".$GLOBALS['arif_tran']."` WHERE `AT_ACID` = '".$_GET['no']."' ORDER BY `".$GLOBALS['arif_tran']."`.`AT_ID` DESC";
$result = $conn->query($sql);
$i=0;
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
$i++;
echo "
<tr>
<td>".$i. "</td>
<td>".$row["AT_ID"]. "</td>
<td>".$row["AT_TIMESTAMP"]. "</td>
<td>".$row["AT_USER"]. "</td>
<td>".$row["AT_ACID"]. "</td>
<td>".$row["AT_AMOUNT"]. "</td>
</tr>";
}
} else echo "No Past record Found";
$conn->close();
echo '
</table>
</div>
';
}
?>

View File

@@ -0,0 +1,152 @@
<div class="container" style="margin-top: 20px;">
<form method="get" action="Trans_New"> <input type="text" placeholder="input A/C no and enter" name="no"></form>
</div>
<?php
if(isset($_GET["no"]) && isset($_GET["type"])&&$_GET["type"]=="Loan"){
echo '
<div class="container" style="margin-top: 20px;"> <h5>New Transaction : '.$GLOBALS['post_info'].' </h5><hr></div>
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>Name</th>
<th>Phone</th>
<th>AC No</th>
<th>Remaining Amount</th>
<th>Installment</th>
</tr>
';
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM `".$GLOBALS['arif_ac']."` WHERE `AA_ACNO` = '".$_GET["no"]."' ";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
echo "
<tr>
<td>".$row["AA_NAME"]. "</td>
<td>".$row["AA_PHONE"]. "</td>
<td>".$row["AA_ACNO"]."</td>
<td>".$row["AA_BAL"]. '</td>
<td>
<form method="post" enctype="multipart/form-data">
<input type="hidden" name="FORM_NAME" value="add_installment">
<input type="text" name="add_i" value="'.$row['AA_INSTALLMENT'].'">
<input type="hidden" name="AA_ACNO" value="'.$row['AA_ACNO'].'"><input type="submit" class="btn-info" value="Receive"></form>
</td>
</tr>';
}
} else {echo "Check A/C no.";};
$conn->close();
echo '
</table>
</div>
';
}
if(isset($_GET["no"]) && isset($_GET["type"])&&$_GET["type"]=="Recurring"){
echo '
<div class="container" style="margin-top: 70px;"> <h5>New Transaction : '.$GLOBALS['post_info'].' </h5><hr></div>
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>Name</th>
<th>Phone</th>
<th>AC No</th>
<th>Total Deposite</th>
<th>Installment</th>
</tr>
';
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM `".$GLOBALS['arif_ac']."` WHERE `AA_ACNO` = '".$_GET["no"]."' ";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
echo "
<tr>
<td>".$row["AA_NAME"]. "</td>
<td>".$row["AA_PHONE"]. "</td>
<td>".$row["AA_ACNO"]."</td>
<td>".$row["AA_BAL"]. '</td>
<td>
<form method="post" enctype="multipart/form-data">
<input type="hidden" name="FORM_NAME" value="add_installment">
<input type="text" name="add_i" value="'.$row['AA_INSTALLMENT'].'">
<input type="hidden" name="AA_ACNO" value="'.$row['AA_ACNO'].'"><input type="submit" class="btn-info" value="Receive"></form>
</td>
</tr>';
}
} else {echo "Check A/C no.";};
$conn->close();
echo '
</table>
</div>
';
}
?>
<div class="container" style="margin-top: 70px;">
<h5>Past Transactions::::</h5><hr>
</div>
<?php
if(isset($_GET["no"])){
echo '
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>SL</th>
<th>Tr No</th>
<th>TimeStamp</th>
<th>User</th>
<th>A/C No</th>
<th>Amount</th>
</tr>
';
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
// $sql = "SELECT * FROM `".$GLOBALS['arif_tran']."` WHERE `AT_ACID` = '".$_GET['no']."'";
$sql = "SELECT * FROM `".$GLOBALS['arif_tran']."` WHERE `AT_ACID` = '".$_GET['no']."' ORDER BY `".$GLOBALS['arif_tran']."`.`AT_ID` DESC";
$result = $conn->query($sql);
$rowcount=mysqli_num_rows($result);//$rowcount++;
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
echo "
<tr>
<td>".$rowcount. "</td>
<td>".$row["AT_ID"]. "</td>
<td>".$row["AT_TIMESTAMP"]. "</td>
<td>".$row["AT_USER"]. "</td>
<td>".$row["AT_ACID"]. "</td>
<td>".$row["AT_AMOUNT"]. "</td>
</tr>";
$rowcount--;
}
} else echo "No Past record Found";
mysqli_free_result($result);$conn->close();
echo '
</table>
</div>
';
}
?>

View File

@@ -0,0 +1,152 @@
<div class="container" style="margin-top: 20px;">
<form method="get" action="Trans_New"> <input type="text" placeholder="input A/C no and enter" name="no"></form>
</div>
<?php
if(isset($_GET["no"]) && isset($_GET["type"])&&$_GET["type"]=="Loan"){
echo '
<div class="container" style="margin-top: 20px;"> <h5>New Transaction : '.$GLOBALS['post_info'].' </h5><hr></div>
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>Name</th>
<th>Phone</th>
<th>AC No</th>
<th>Remaining Amount</th>
<th>Installment</th>
</tr>
';
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM `".$GLOBALS['arif_ac']."` WHERE `AA_ACNO` = '".$_GET["no"]."' ";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
echo "
<tr>
<td>".$row["AA_NAME"]. "</td>
<td>".$row["AA_PHONE"]. "</td>
<td>".$row["AA_ACNO"]."</td>
<td>".$row["AA_BAL"]. '</td>
<td>
<form method="post" enctype="multipart/form-data">
<input type="hidden" name="FORM_NAME" value="add_installment">
<input type="text" name="add_i" value="'.$row['AA_INSTALLMENT'].'">
<input type="hidden" name="AA_ACNO" value="'.$row['AA_ACNO'].'"><input type="submit" class="btn-info" value="Receive"></form>
</td>
</tr>';
}
} else {echo "Check A/C no.";};
$conn->close();
echo '
</table>
</div>
';
}
if(isset($_GET["no"]) && isset($_GET["type"])&&$_GET["type"]=="Recurring"){
echo '
<div class="container" style="margin-top: 70px;"> <h5>New Transaction : '.$GLOBALS['post_info'].' </h5><hr></div>
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>Name</th>
<th>Phone</th>
<th>AC No</th>
<th>Total Deposite</th>
<th>Installment</th>
</tr>
';
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM `".$GLOBALS['arif_ac']."` WHERE `AA_ACNO` = '".$_GET["no"]."' ";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
echo "
<tr>
<td>".$row["AA_NAME"]. "</td>
<td>".$row["AA_PHONE"]. "</td>
<td>".$row["AA_ACNO"]."</td>
<td>".$row["AA_BAL"]. '</td>
<td>
<form method="post" enctype="multipart/form-data">
<input type="hidden" name="FORM_NAME" value="add_installment">
<input type="text" name="add_i" value="'.$row['AA_INSTALLMENT'].'">
<input type="hidden" name="AA_ACNO" value="'.$row['AA_ACNO'].'"><input type="submit" class="btn-info" value="Receive"></form>
</td>
</tr>';
}
} else {echo "Check A/C no.";};
$conn->close();
echo '
</table>
</div>
';
}
?>
<div class="container" style="margin-top: 70px;">
<h5>Past Transactions::::</h5><hr>
</div>
<?php
if(isset($_GET["no"])){
echo '
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>SL</th>
<th>Tr No</th>
<th>TimeStamp</th>
<th>User</th>
<th>A/C No</th>
<th>Amount</th>
</tr>
';
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
// $sql = "SELECT * FROM `".$GLOBALS['arif_tran']."` WHERE `AT_ACID` = '".$_GET['no']."'";
$sql = "SELECT * FROM `".$GLOBALS['arif_tran']."` WHERE `AT_ACID` = '".$_GET['no']."' ORDER BY `".$GLOBALS['arif_tran']."`.`AT_ID` DESC";
$result = $conn->query($sql);
$rowcount=mysqli_num_rows($result);//$rowcount++;
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
echo "
<tr>
<td>".$rowcount. "</td>
<td>".$row["AT_ID"]. "</td>
<td>".$row["AT_TIMESTAMP"]. "</td>
<td>".$row["AT_ADMIN"]. "</td>
<td>".$row["AT_ACID"]. "</td>
<td>".$row["AT_AMOUNT"]. "</td>
</tr>";
$rowcount--;
}
} else echo "No Past record Found";
mysqli_free_result($result);$conn->close();
echo '
</table>
</div>
';
}
?>

View File

@@ -0,0 +1,66 @@
<div class="container" style="background-color:#e0a3a3;padding:8px;">
<ul class="nav nav-pills nav-justified">
<li <?php if(isset($_GET['Type']) && $_GET['Type']=="FD") echo'class="active"';?>><a href="View_AC?Type=FD">Fixed Deposits</a></li>
<li <?php if(isset($_GET['Type']) && $_GET['Type']=="Loan") echo'class="active"';?>><a href="View_AC?Type=Loan">Loan A/C</a></li>
<li <?php if(isset($_GET['Type']) && $_GET['Type']=="Recurring") echo'class="active"';?>><a href="View_AC?Type=Recurring">Recurring A/Cs</a></li>
</ul>
</div>
<?php
function view_list_ac($type) {
echo '
<div class="container" style="margin-top: 70px;">
<h5>VIEW CUSTOMERS</h5><hr>
</div>
<div class="container">
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>SL</th>
<th>Type</th>
<th>AC No</th>
<th>Name</th>
<th>PHONE</th>
<th>Balance</th>
</tr>';
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM `".$GLOBALS['arif_ac']."` WHERE `AA_TYPE`='".$type."' ORDER BY `AA_ID` DESC";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
$tt=$row["AA_ID"]-10;
echo "
<tr>
<td>".$tt. "</td>
<td>".$row["AA_ACTYPE"].",".$row["AA_TYPE"]. "</td>
<td><a href='./Details?no=".$row["AA_ACNO"]."&type=".$row["AA_TYPE"]."'>".$row["AA_ACNO"]."</a> &nbsp;&nbsp; <a href='./Trans_New?no=".$row["AA_ACNO"]."&type=".$row["AA_TYPE"]."'>Transact</a></td>
<td>".$row["AA_NAME"]. "</td>
<td>".$row["AA_PHONE"]. "</td>
<td>".$row["AA_BAL"]. "</td>
</tr>";
}
} else {
echo "0 results";
};
$conn->close();
echo '
</table>
</div>
';
}
if(isset($_GET['Type']) && $_GET['Type']=="Loan") view_list_ac('Loan');
if(isset($_GET['Type']) && $_GET['Type']=="Recurring") view_list_ac('Recurring');
if(isset($_GET['Type']) && $_GET['Type']=="FD") view_list_ac('FD');
?>

View File

@@ -0,0 +1 @@
admin panel home

View File

@@ -0,0 +1,23 @@
<?php
$lnk2 = explode('?', $lnk);
include("ADMIN_HEADER.php");//print file_get_contents('http://www.example.com/');var_dump(gethostbyaddr($_SERVER['HTTP_REFERER']));// echo $lnk."c";
/*
echo $_SERVER['HTTP_USER_AGENT'] . "\n\n";
$browser = get_browser(null, true);
print_r($browser);echo $_SERVER['HTTP_REFERER'];*/
include("ADMIN_nav.php");
if(isset($_SESSION['EMAIL']) || isset($_COOKIE['EMAIL']) ){
//include("ADMIN_nav.php");
echo "<br>";
if($lnk=="") include("home.php");
elseif(file_exists(__DIR__."/".$lnk.".php")) include($lnk.".php");
elseif(isset($lnk2[1]) && file_exists(__DIR__."/".$lnk2[0].".php") ) include($lnk2[0].".php");
else include("404.php");
}else echo '<center>
<h2>Provide Details to login</h2> <a href="https://siliconpin.com/id/auth"><button class="btn btn-default">Login</button></a> </center>';
include("ADMIN_FOOTER.php");
?>

View File

@@ -0,0 +1,58 @@
<div class="container">
<?php echo $GLOBALS['alert_info'] ?>
</div>
<div class="container">
<form method="post" enctype="multipart/form-data">
<input type="hidden" name="FORM_NAME" value="new_news_entry">
<input type="hidden" name="lang" value="BN">
<div ng-app="myApp" ng-controller="myCtrl" class="form-group">
<select class="form-control" name="news_category"><option ng-repeat="x in names">{{x}}</option></select>
</select>
</div>
<script>
var app = angular.module('myApp', []);
app.controller('myCtrl', function($scope) {
$scope.names = [<?php include APP_DIR."/CONTENT/VARIABLES/news_type_list_en.php";?>];
});
</script>
<div class="form-group">
<input type="text" class="form-control" name="news_link" placeholder="Meta/Link for this news entry">
<small id="emailHelp" class="form-text text-muted">Alphanumeric(A-Z,a-z,0-9).</small>
</div>
<div class="form-group">
<input type="text" class="form-control" name="news_title" placeholder="Title for this new">
</div>
<div class="form-group">
<textarea class="form-control" rows="5" name="news_content" placeholder="News content text"></textarea>
</div>
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<label class="btn btn-default btn-file">
<input name="photo_news" type="file" >
</label>
<!-- Multiple upload not needed for now! <div class="fileinput fileinput-new" data-provides="fileinput">
<span class="btn btn-default btn-file"><span></span><input type="file" multiple /></span>
<span class="fileinput-filename"></span><span class="fileinput-new"></span>
</div>-->
</div>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="form-check">
<label class="form-check-label">
<input type="checkbox" class="form-check-input">
Check me out
</label>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
<!--<div class="row">
<iframe width="100%" height="350" src="https://www.youtube.com/embed/UXJTvnf-meU" frameborder="0" allowfullscreen></iframe>
</div>-->
</form>
</div>

View File

@@ -0,0 +1,57 @@
<div class="container">
<?php echo $GLOBALS['alert_info'] ?>
</div>
<div class="container">
<form method="post" enctype="multipart/form-data">
<input type="hidden" name="FORM_NAME" value="new_news_entry">
<input type="hidden" name="lang" value="EN">
<div ng-app="myApp" ng-controller="myCtrl" class="form-group">
<select class="form-control" name="news_category"><option ng-repeat="x in names">{{x}}</option></select>
</div>
<script>
var app = angular.module('myApp', []);
app.controller('myCtrl', function($scope) {
$scope.names = [<?php include APP_DIR."/CONTENT/VARIABLES/news_type_list_en.php";?>];
});
</script>
<div class="form-group">
<input type="text" class="form-control" name="news_link" placeholder="Meta/Link for this news entry">
<small id="emailHelp" class="form-text text-muted">Alphanumeric(A-Z,a-z,0-9).</small>
</div>
<div class="form-group">
<input type="text" class="form-control" name="news_title" placeholder="Title for this new">
</div>
<div class="form-group">
<textarea class="form-control" rows="5" name="news_content" placeholder="News content text"></textarea>
</div>
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<label class="btn btn-default btn-file">
<input name="photo_news" type="file" >
</label>
<!-- Multiple upload not needed for now! <div class="fileinput fileinput-new" data-provides="fileinput">
<span class="btn btn-default btn-file"><span></span><input type="file" multiple /></span>
<span class="fileinput-filename"></span><span class="fileinput-new"></span>
</div>-->
</div>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="form-check">
<label class="form-check-label">
<input type="checkbox" class="form-check-input">
Check me out
</label>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
<!--<div class="row">
<iframe width="100%" height="350" src="https://www.youtube.com/embed/UXJTvnf-meU" frameborder="0" allowfullscreen></iframe>
</div>-->
</form>
</div>

View File

@@ -0,0 +1,11 @@
<?php echo $_POST["name"]; ?><br>
<?php echo $_POST["email"]; ?>
<div class="container">
<form method="POST">
<input type="text" name="name" placeholder="name" class="frist"/>
<input type="text" name="email" placeholder="email"/>
<input type="submit" value="submit" />
</form>
</div>

View File

@@ -0,0 +1,3 @@
<div class="container">
</div>

View File

@@ -0,0 +1,129 @@
<script>
function update_pri(id) {
var idn='pri'+id;
if (id.length == 0) {
alert("Input Error!");
return;
} else {
var pri=document.getElementById(idn).value;
document.getElementById(idn).disabled = true;
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
document.getElementById(idn).disabled = false;
document.getElementById(idn).value = this.responseText;
}
};
xmlhttp.open("GET", "/execute.php?id=" + id + "&pri="+pri, true);
xmlhttp.send();
}
}
</script>
<script>
function switch_state(id) {
var idn='act'+id;
if (id.length == 0) {
alert("Input Error!");
return;
} else {
var active=document.getElementById(idn).value;
document.getElementById(idn).disabled = true;
console.log(idn);
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
document.getElementById(idn).disabled = false;
document.getElementById(idn).value = this.responseText;
}
};
xmlhttp.open("GET", "/execute2.php?id=" + id + "&active="+active, true);
xmlhttp.send();
}
}
</script>
<div class="container table-responsive">
<table class="table table-striped table-bordered table-hover">
<tr>
<th>ID</th>
<th>TITLE</th>
<th>DATE</th>
<th>CATEGORY</th>
<th>PRIORITY</th>
<th>STATE</th>
</tr>
<?php
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
$conn->set_charset("utf8");
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM ".$GLOBALS['table1'];
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
//echo "id: " . $row["N_TITLE"]. " - Name: " . $row["N_DATE"]. " " . $row["N_CATEGORY"]." " . $row["pri"]. "<br>";
$ID=$row["id"];
echo "
<tr>
<td>" . $ID. "</td>
<td>" . $row["N_TITLE"]. "</td>
<td>" . $row["N_DATE"]. "</td>
<td>" . $row["N_CATEGORY"]. "</td>
<td>
<form method='post'>
<input type='number' name='pri' id='pri" .$ID. "' value='" . $row["pri"]. "'>
<input type='hidden' name='id' value='" .$ID. "'>
<input class='btn btn-success' type='button' name='priority' value='SAVE' onclick='update_pri(" .'"'.$ID.'"'. ")'>
</form>
</td>
<td>
<select name='state' id='act" .$ID. "' onchange='switch_state(" .'"'.$ID.'"'. ")' >
<option>".$row['ACTIVE']."</option>
<option>0</option>
<option>1</option>
</select>
</td>
</tr>";
}
} else {
echo "0 results";
};
$conn->close();
?>
<?php
if(isset($_POST['priority']) && $_POST['priority']=='SUBMIT')
{
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "UPDATE `".$GLOBALS["table1"]."` SET `pri` = '".$_POST['pri']."' WHERE `news`.`id` =".$_POST['id'];
$result = $conn->query($sql);
if(!$result) echo mysqli_error(); else echo "Successfully Updated! <br />";
$conn->close();
}
?>
<?php
if(isset($_POST['statebtn']) && $_POST['statebtn']=='SUBMIT')
{
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "UPDATE `".$GLOBALS["table1"]."` SET `ACTIVE` = '".$_POST['active']."' WHERE `news`.`id` =".$_POST['id'];
$result = $conn->query($sql);
if(!$result) echo mysqli_error(); else echo "Successfully Updated! <br />";
$conn->close();
}
?>
</table>
</div>

View File

@@ -0,0 +1,85 @@
<section class="banner-top">
<div class="container">
<div class="banner">
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<div class="lt-block">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<img src="/CONTENT/THEME/images/banner-img1.jpg" alt="Chicago">
</div>
<div class="item">
<img src="/CONTENT/THEME/images/banner-img1.jpg" alt="Chicago">
</div>
<div class="item">
<img src="/CONTENT/THEME/images/banner-img1.jpg" alt="Chicago">
</div>
</div>
<!-- Left and right controls -->
<a class="left carousel-control" href="#myCarousel" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="rt-block">
<div id="frist" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<!--<ol class="carousel-indicators">
<li data-target="#myCarousel1" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel2" data-slide-to="1"></li>
<li data-target="#myCarousel3" data-slide-to="2"></li>
</ol>-->
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<img src="/CONTENT/THEME/images/banner-img.jpg" alt="Chicago">
</div>
<div class="item">
<img src="/CONTENT/THEME/images/banner-img.jpg" alt="Chicago">
</div>
<div class="item">
<img src="/CONTENT/THEME/images/banner-img.jpg" alt="Chicago">
</div>
</div>
<!-- Left and right controls -->
<a class="left carousel-control" href="#frist" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#frist" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
<div class="rt-block bottom">
<img src="/CONTENT/THEME/images/banner-img1.jpg" alt="Chicago">
</div>
</div>
</div>
</div>
</div>
</section>

View File

@@ -0,0 +1,219 @@
<section class="bottom">
<div class="container">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="top-news">
<div class="border">
<h4>Top news</h4>
</div>
<marquee direction="up" scrollamount="2" behavior="alternate" onmouseover="this.stop();"
onmouseout="this.start();" height="715px">
<?php echo newsPandT('EN','','', '10');
?>
</marquee>
</div>
<div class="top-news gallery">
<div class="border">
<h4>Gallery</h4>
</div>
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="box">
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="box">
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="box">
</div>
</div>
</div>
</div>
<div class="top-news news">
<div class="border">
<h4>Breaking News</h4>
</div>
<marquee direction="up" scrollamount="1" behavior="alternate" onmouseover="this.stop();"
onmouseout="this.start();" height="715px">
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="lt-block">
<img src="/CONTENT/THEME/images/banner-img1.jpg" alt="pic"/>
</div>
</div>
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<div class="rt-block">
<p>Will consult States on bringing petro products into GST:
Narendra Modi</p>
</div>
</div>
</div>
<hr/>
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="lt-block">
<img src="/CONTENT/THEME/images/banner-img1.jpg" alt="pic"/>
</div>
</div>
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<div class="rt-block">
<p>Will consult States on bringing petro products into GST:
Narendra Modi</p>
</div>
</div>
</div>
<hr/>
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="lt-block">
<img src="/CONTENT/THEME/images/banner-img1.jpg" alt="pic"/>
</div>
</div>
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<div class="rt-block">
<p>Will consult States on bringing petro products into GST:
Narendra Modi</p>
</div>
</div>
</div>
<hr/>
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="lt-block">
<img src="/CONTENT/THEME/images/banner-img1.jpg" alt="pic"/>
</div>
</div>
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<div class="rt-block">
<p>Will consult States on bringing petro products into GST:
Narendra Modi</p>
</div>
</div>
</div>
<hr/>
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="lt-block">
<img src="/CONTENT/THEME/images/banner-img1.jpg" alt="pic"/>
</div>
</div>
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<div class="rt-block">
<p>Will consult States on bringing petro products into GST:
Narendra Modi</p>
</div>
</div>
</div>
<hr/>
</marquee>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
<div class="videos">
<div class="border">
</div>
<div class="border">
</div>
<div class="border">
<h4>VIDEOS</h4>
</div>
</div>
<div class="videos new-posts">
<div class="border">
</div>
<div class="border">
</div>
<div class="border">
<h4>NEW POSTS</h4>
</div>
<h5>The unintended consequences of GST</h5>
<img src="/CONTENT/THEME/images/banner-img1.jpg" alt"pic"/>
<h6><i class="fa fa-calendar"></i> 2017-10-01 12:57:34
<i class="fa fa-comments"></i> 1,200</h6>
<p>It has wreaked havoc on the informal sector. Do we have a plan to deal with this?</p>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
<div class="search">
<div class="border">
</div>
<div class="border">
</div>
<div class="border">
<h4>search</h4>
</div>
<from>
<input type="text" name="Enter Search Keywords" placeholder="Enter Search Keywords"
class="control">
</from>
<div class="box">
<div class="border1">
</div>
<div class="border1">
</div>
<div class="border1">
<h5>RECENT NEWS</h5>
</div>
<marquee direction="up" scrollamount="2" behavior="alternate" onmouseover="this.stop();"
onmouseout="this.start();" height="px">
<div class="text">
<p>Cricket: India Women to play ICC Championship opener against
S.A in February</p>
<p>Cricket: India Women to play ICC Championship opener against
S.A in February</p>
<p>Cricket: India Women to play ICC Championship opener against
S.A in February</p>
<p>Cricket: India Women to play ICC Championship opener against
S.A in February</p>
<p>Cricket: India Women to play ICC Championship opener against
S.A in February</p>
</div>
</marquee>
</div>
</div>
<div class="search calendar">
<div class="border">
</div>
<div class="border">
</div>
<div class="border">
<h4>CALENDAR</h4>
</div>
</div>
<div class="search tweet">
<div class="border">
</div>
<div class="border">
</div>
<div class="border">
<h4>TWEET</h4>
</div>
</div>
</div>
</div>
</div>
</section>

View File

@@ -0,0 +1,15 @@
<section class="footer-bottom">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="text-center">
<p>copy right <?php echo date("Y");?></p>
</div>
</div>
</div>
</div>
</section>
</body>
</html>

View File

@@ -0,0 +1,87 @@
<section class="footer">
<div class="container">
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12 ">
<div class="NEWSPAPER">
<h4>NEWSPAPER</h4>
<p>Never missed any post published in our site. Subscribe
to our daly newsletter now.</p>
<h5>Email address:</h5>
<from>
<input type="text" name="Email" placeholder="your Email" />
<input type="submit" value="SUBSCRIBE" class="btn">
</from>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12 ">
<div class="tags">
<h4>Tags</h4>
<ul>
<li><a href="#">National</a></li>
<li><a href="#">Opinion</a></li>
<li><a href="#">Business</a></li>
<li><a href="#">Entertainment</a></li>
<li><a href="#">Economics</a></li>
<li><a href="#">agri form</a></li>
<li><a href="#">Sports</a></li>
<li><a href="#">Cricket</a></li>
<li><a href="#">Football</a></li>
<li><a href="#">Hockey</a></li>
<li><a href="#">International</a></li>
</ul>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12 ">
<div class="Recent-News">
<h4>Recent News</h4>
<marquee direction="up" scrollamount="2.50" behavior="alternate" onmouseover="this.stop();"
onmouseout="this.start();" height="250px">
<div class="text">
<a href="#">Banaras Hindu University (BHU) vice chancellor Girish Chandra
Tripathi,who is being blamed for last months violence and
baton-charge on protesting girl students in the campus, has gone
on leave, citing personal reasons.</a>
<hr/>
<a href="#">Boat carrying Rohingya refugees from Myanmar capsizes off Bangladesh</a>
<hr/>
<a href="#">Boat carrying Rohingya refugees from Myanmar capsizes off Bangladesh</a>
<hr/>
<a href="#">Boat carrying Rohingya refugees from Myanmar capsizes off Bangladesh</a>
<hr/>
<a href="#">Boat carrying Rohingya refugees from Myanmar capsizes off Bangladesh</a>
<hr/>
<a href="#">Boat carrying Rohingya refugees from Myanmar capsizes off Bangladesh</a>
<hr/>
<a href="#">Boat carrying Rohingya refugees from Myanmar capsizes off Bangladesh</a>
<hr/>
<a href="#">Boat carrying Rohingya refugees from Myanmar capsizes off Bangladesh</a>
<hr/>
</div>
</marquee>
</div>
</div>
</div>
</div>
</section>

View File

@@ -0,0 +1,262 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bengal Live</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/CONTENT/THEME/css/bootstrap.min.css">
<link rel="stylesheet" href="/CONTENT/THEME/font-awesome/css/font-awesome.min.css">
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="/CONTENT/THEME/js/bootstrap.min.js"></script>
<style>
/*css for structure -start*/
/*CSS FOR NAV BAR START */
body {padding:0 ; background: rgba(73,135,189,1);
background: -moz-linear-gradient(left, rgba(73,135,189,1) 0%, rgba(73,135,189,1) 0%, rgba(73,135,189,1) 1%, rgba(163,240,230,1) 80%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(73,135,189,1)), color-stop(0%, rgba(73,135,189,1)), color-stop(1%, rgba(73,135,189,1)), color-stop(80%, rgba(163,240,230,1)));
background: -webkit-linear-gradient(left, rgba(73,135,189,1) 0%, rgba(73,135,189,1) 0%, rgba(73,135,189,1) 1%, rgba(163,240,230,1) 80%);
background: -o-linear-gradient(left, rgba(73,135,189,1) 0%, rgba(73,135,189,1) 0%, rgba(73,135,189,1) 1%, rgba(163,240,230,1) 80%);
background: -ms-linear-gradient(left, rgba(73,135,189,1) 0%, rgba(73,135,189,1) 0%, rgba(73,135,189,1) 1%, rgba(163,240,230,1) 80%);
background: linear-gradient(to right, rgba(73,135,189,1) 0%, rgba(73,135,189,1) 0%, rgba(73,135,189,1) 1%, rgba(163,240,230,1) 80%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4987bd', endColorstr='#a3f0e6', GradientType=1 );
}
/* Remove the navbar's default margin-bottom and rounded borders */
.navbar {
margin-bottom: 0;
border-radius: 0;
}
/* Set height of the grid so .sidenav can be 100% (adjust as needed) */
.row.content {height: 450px}
/* Set gray background color and 100% height */
.sidenav {
padding-top: 20px;
background-color: #f1f1f1;
height: 100%;
}
/* Set black background color, white text and some padding */
footer {
background-color: #555;
color: white;
padding: 15px;
}
/* On small screens, set height to 'auto' for sidenav and grid */
@media screen and (max-width: 767px) {
.sidenav {
height: auto;
padding: 15px;
}
.row.content {height:auto;}
}
.box{ padding:0 0 0 0; margin:20px 0 0 0; }
.box .navbar-default{ background:#252628; padding: 0; margin: 0; }
.box .navbar-default .navbar-nav > li > a { color: #fff; transition:ease-out 1s; padding: 17px 17px; }
.box .navbar-default .navbar-nav > li > a:hover{ color: #000; background: #fff; padding: 17px 17px; }
.box .navbar-default .navbar-collapse .navbar-nav .active a.frist{ background: #000;
color:#7DC314; padding: 17px 17px; }
.box .navbar-default .navbar-collapse .navbar-right{ background:#505052; margin:0 0 0 0; }
.navbar { border:none; }
.navbar-default .navbar-collapse .navbar-nav .active a.frist:hover{color: #fff; transition:ease-out 1s; }
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover { color: #fff; }
.navbar-collapse { padding: 0; }
/*CSS FOR NAV BAR END */
/*css for section start*/
.top{ background:#fff; padding: 0; margin: 0; }
.top .lt-block{ background:0; padding:20px 0 20px 0; margin: 0; }
.top .lt-block h4{ font-family:'arial'; font-size:20px; color:#000; line-height:22px;
font-weight:500; padding:0; margin:0; }
.top .rt-block{ background:0; text-align:right; padding:20px 0 20px 0; margin: 0; }
.top .rt-block ul{ list-style:none; padding:0; margin:0; }
.top .rt-block ul li{ display:inline-block; font-family:'arial'; font-size:16px; color:#000;
line-height:18px; font-weight:400; padding:0 0 0 7px; margin:0; }
.top .rt-block ul li a{ text-decoration:none; color:#000; padding:0 0 0 0; transition: 1s ease; }
.top .rt-block ul li a:hover{ color:#7DC314; }
.top .rt-block ul li span{ padding:0 7px 0 0; }
/*css for section start*/
/*css for section-banner-top- start*/
.banner-top { background:#; padding:0; margin:0; }
.banner-top .banner { background-color:#fff; padding: 20px; margin: 20px 0 0 0; }
.banner-top .banner .lt-block { background-color:#000; padding: 0; min-height:400px;
margin: 0; box-sizing: border-box; }
.banner-top .banner .rt-block { background-color:#000; padding: 0; min-height:200px;
margin: 0; box-sizing: border-box; }
.banner-top .banner .rt-block img{ width:100%; height:100%; }
.banner-top .banner .bottom { background-color:red; padding: 0; min-height:200px;
margin: 30px 0 0 0; box-sizing: border-box; }
.banner-top .banner .bottom img { width:100%; min-height:100%; }
/*css for section-banner-top-end*/
/*css for section-bottom-start*/
.bottom { background:#; padding:0; margin:0; }
/*for the bottom-top-news-start*/
.bottom .top-news{ background-color:#fff; padding:15px; margin:30px 0 0 0; }
.bottom .top-news .border{ background:#000; padding:5px 0 5px 0; margin:0 0 20px 0; position: relative; }
.bottom .top-news .border h4{ font-family:0; font-size:25px; color:#000; line-height:27px; font-weight:600;
background:#fff; display:inline-block; padding:0 15px 0 15px; margin:0 0 0 15px;
position: absolute ; left:0; bottom:-7px; }
.bottom .top-news .lt-block{ padding:0; margin:0; }
.bottom .top-news .lt-block img{ width:100%; padding:0; margin:0; }
.bottom .top-news .rt-block{ padding:0; margin:0; }
.bottom .top-news .rt-block p{ font-family:0; font-size:16px; color:#000; line-height:18px;
font-weight:400; padding:0; margin:0; }
/*for the bottom-top-news-end*/
/*for the bottom-gallery-start*/
.bottom .gallery{ background-color:#fff; min-height: 300px; padding:15px; margin:0;
box-sizing: border-box; }
.bottom .gallery .border{ background:#000; padding:5px 0 5px 0; margin:0 0 20px 0;
position: relative; }
.bottom .gallery .border h4{ font-family:0; font-size:25px; color:#000; line-height:27px;
font-weight:600;
background:#fff; display:inline-block; padding:0 15px 0 15px; margin:0 0 0 15px;
position: absolute ; left:0; bottom:-7px; }
.bottom .gallery .box{ background-color:#000; min-height: 200px; padding:0 ; margin:0; }
/*for the bottom-gallery-end*/
/*for the bottom-news-start*/
.bottom .news{ background-color:#fff; padding:15px; margin:0; }
.bottom .news .border{ background:green; padding:5px 0 5px 0; margin:0 0 20px 0; position: relative; }
.bottom .news .border h4{ font-family:0; font-size:25px; color:#000; line-height:27px; font-weight:600;
background:#fff; display:inline-block; padding:0 15px 0 15px; margin:0 0 0 15px;
position: absolute ; left:0; bottom:-7px; }
.bottom .news .lt-block{ padding:0; margin:0; }
.bottom .news .lt-block img{ width:100%; padding:0; margin:0; }
.bottom .news .rt-block{ padding:0; margin:0; }
.bottom .news .rt-block p{ font-family:0; font-size:16px; color:#000; line-height:18px;
font-weight:400; padding:0; margin:0; }
/*for the bottom-news-end*/
/*for the bottom-videos-start*/
.bottom .videos{ background-color:#fff; min-height: 400px; padding:20px 15px 0 15px; margin:30px 0 0 0; }
.bottom .videos .border{ border-top:1px solid #000; padding:0px 0 1px 0; margin:0; position: relative; }
.bottom .videos .border h4{ font-family:0; font-size:25px; color:#000; line-height:27px; font-weight:600;
background:#fff; display:inline-block; padding:0 15px 0 15px; margin:0 0 0 15px;
position: absolute ; left:0; bottom:-9px; }
/*for the bottom-videos-end*/
/*for the bottom-new-posts-start*/
.bottom .new-posts { background-color:#fff; min-height: 400px; padding:20px 15px 0 15px; margin:0; }
.bottom .new-posts img{ width:100%; }
.bottom .new-posts .border{ border-top:1px solid #000; padding:0px 0 1px 0; margin:0; position: relative; }
.bottom .new-posts .border h4{ font-family:0; font-size:25px; color:#000; line-height:27px;
font-weight:600; background:#fff; display:inline-block; padding:0 15px 0 15px; margin:0 0 0 15px;
position: absolute ; left:0; bottom:-9px; }
.bottom .new-posts h5{ font-family:0; font-size:15px; color:#000; line-height:17px; font-weight:400;
padding:20px 0 15px 0; margin:0; }
.bottom .new-posts h6{ font-family:0; font-size:15px; color:#000; line-height:17px; font-weight:400;
padding:10px 0 10px 0; margin:0; }
.bottom .new-posts p{ font-family:0; font-size:15px; color:#000; line-height:17px; font-weight:400;
padding:0; margin:0; }
/*for the bottom-new-posts-end*/
/*for the bottom-search-start*/
.bottom .search{ background-color:#fff; min-height: 400px; padding:15px; margin:30px 0 0 0; }
.bottom .search .border{border-top:1px solid #000; padding:0px 0 1px 0; margin:0; position:relative;}
.bottom .search .border h4{ font-family:0; font-size:25px; color:#000; line-height:27px;
font-weight:600; background:#fff; display:inline-block; padding:0 15px 0 15px; margin:0 0 0 15px;
position: absolute ; left:0; bottom:-9px; }
.bottom .search .control { width:100%; background:#ccc; height:40px;border:1px solid #4444;
font-size:14px; color:#fff; line-height:18px; font-weight:400; padding:0 12px 0 12px;
box-sizing:border-box; margin:20px 0 20px 0; border-radius:5px; }
.bottom .search .box { border-bottom:1px solid #000; }
.bottom .search .box .border1{ border-top:1px solid #000; padding:0px 0 1px 0; margin:0;
position:relative;}
.bottom .search .box .border1 h5{ font-family:0; font-size:18px; color:#000; line-height:20px;
font-weight:600; background:#fff; display:inline-block; padding:0 15px 0 15px; margin:0 0 0 15px;
position: absolute ; left:0; bottom:-7px; z-index:9; }
.bottom .search .box .text{ padding:0; margin:20px 0 0 0; }
/*for the bottom-search-end*/
/*.bottom .search .keyword{background-color:#04510f; min-height: 100px; padding:0 ; margin:0 0 30px 0; }
.bottom .search .RECENT-NEWS{ background-color:#92e59e; min-height: 200px; padding:0 ; margin:0; }
.bottom .search .CATEGORY{ background-color:#000; min-height: 100px; padding:0 ; margin:0; }*/
/*for the bottom-calendar-start*/
.bottom .calendar{ background-color:#fff; min-height:300px; padding:15px; margin:0; }
.bottom .calendar .border{border-top:1px solid #000; padding:0px 0 1px 0; margin:0; position:relative;}
.bottom .calendar h4{ font-family:0; font-size:25px; color:#000; line-height:27px;
font-weight:600; background:#fff; display:inline-block; padding:0 15px 0 15px; margin:0 0 0 15px;
position: absolute ; left:0; bottom:-9px; }
/*for the bottom-calendar-end*/
/*for the bottom-TWEET-start*/
.bottom .tweet{ background-color:#fff; min-height:300px; padding:15px; margin:0; }
.bottom .tweet .border{border-top:1px solid #000; padding:0px 0 1px 0; margin:0; position:relative;}
.bottom .tweet .border h4{ font-family:0; font-size:25px; color:#000; line-height:27px;
font-weight:600; background:#fff; display:inline-block; padding:0 15px 0 15px; margin:0 0 0 15px;
position: absolute ; left:0; bottom:-9px; }
/*for the bottom-TWEET-end*/
/*css for section-bottom-end*/
/*css for section-footer-start*/
/*css for section-footer-NEWSPAPER-START*/
.footer{ background:#202020; padding: 30px 0 30px 0; margin: 0; }
.footer .NEWSPAPER{ background: #; padding: 15px; margin: 0; }
.footer .NEWSPAPER h4{ font-family:0; font-size:35px; color:#fff; line-height:37px;
font-weight:600; padding:0 0 10px 0; margin:0; }
.footer .NEWSPAPER p{ font-family:0; font-size:16px; color:#fff; line-height:20px;
font-weight:400; padding:0 0 13px 0; margin:0; border-bottom:1px solid #444444;}
.footer .NEWSPAPER h5{ font-family:0; font-size:18px; color:#fff; line-height:20px;
font-weight:400; padding:13px 0 10px 0; margin:0; }
.footer .NEWSPAPER input[type="text"]{ width:100%; background:none; border:1px solid #444444; height:40px;
font-family:#; font-size:14px; color:#fff; line-height:18px; font-weight:400; padding:0 12px 0 12px;
box-sizing:border-box; margin:0 0 10px 0; }
.footer .NEWSPAPER .btn{ background:#444444; font-family:#; font-size:14px; color:#FADA1A; line-height:18px;
font-weight:600; padding:12px 15px; margin:0; transition:1s ease; }
.footer .NEWSPAPER .btn:hover{ background:#fff; color:#000; transition:1s ease; }
/*css for section-footer-NEWSPAPER-end*/
/*css for section-footer-TAGS-start*/
.footer .tags{ padding:15PX; margin:0; }
.footer .tags h4{ font-family:0; font-size:35px; color:#FFF; line-height:37px;
font-weight:600; padding:0 0 10px 0; margin:0; }
.footer .tags ul{ padding:7px 0 0 0; margin:0; }
.footer .tags ul li{ display:inline-block; list-style:none; border:1px solid #ccc;
font-family:#; font-size:14px; color:#fff; line-height:16px; font-weight:400; padding:5px 7px;
margin:0 0px 5px 0; }
.footer .tags ul li a{ text-decoration:none; color:#fff; transition:1s ease; }
.footer .tags ul li a:hover{ color:#7DC314; transition:1s ease; }
/*css for section-footer-TAGS-end*/
/*css for section-footer-Recent-News-start*/
.footer .Recent-News { padding:15px; margin:0; }
.footer .Recent-News h4 { font-family:0; font-size:35px; color:#FFF; line-height:37px;
font-weight:600; padding:0 0 10px 0; margin:0; }
.footer .Recent-News .text{ padding:0; margin:0; }
.footer .Recent-News .text a{ text-decoration:none; font-family:#; font-size:15px; color:#fff;
line-height:24px; font-weight:400; padding:0; margin:0; }
/*css for section-footer-Recent-News-end*/
/*css for section-footer-end*/
/*css for section-footer-bottom-start*/
.footer-bottom{ background:#202020; border-top:1px solid #4444; padding: 20px 0 20px 0; margin:0; }
.footer-bottom .text-center{ padding:0; margin:0; }
.footer-bottom .text-center p{ font-family:#; font-size:15px; color:#fff;
line-height:17px; font-weight:400; padding:0; margin:0; }
/*css for section-footer-end*/
/*css for structure -end*/
</style>
</head>

View File

@@ -0,0 +1,29 @@
<?php
echo "Website for Gramin Venture will be live soon";
exit();
$lnk2 = explode('?', $lnk);
include("ADMIN_HEADER.php");//print file_get_contents('http://www.example.com/');var_dump(gethostbyaddr($_SERVER['HTTP_REFERER']));// echo $lnk."c";
if(!isset($_COOKIE)) {
//echo "Cookie named '" . $cookie_name . "' is not set!";
} else {
//echo "Value is: " . $_COOKIE["cookie_name"];
var_dump($_COOKIE);
}/*
echo $_SERVER['HTTP_USER_AGENT'] . "\n\n";
$browser = get_browser(null, true);
print_r($browser);echo $_SERVER['HTTP_REFERER'];*/
include("ADMIN_nav.php");
if(isset($_SESSION['EMAIL'])){
//include("ADMIN_nav.php");
echo "<br>";
if($lnk=="") include("home.php");
elseif(file_exists(__DIR__."/".$lnk.".php")) include($lnk.".php");
elseif(isset($lnk2[1]) && file_exists(__DIR__."/".$lnk2[0].".php") ) include($lnk2[0].".php");
else include("404.php");
}else echo '<center>
<h2>Provide Details to login</h2> <a href="https://siliconpin.com/id/auth"><button class="btn btn-default">Login</button></a> </center>';
include("ADMIN_FOOTER.php");
?>

View File

@@ -0,0 +1,34 @@
<section class="box">
<div class="container">
<nav class="navbar navbar-default">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!-- <a class="navbar-brand" href="#">Logo</a>-->
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li class="active"><a class="frist" href="#">Newspaper</a></li>
<li><a href="#">Home</a></li>
<li><a href="#">National</a></li>
<li><a href="#">Opinion</a></li>
<li><a href="#">Business</a></li>
<li><a href="#">Entertainment</a></li>
<li><a href="#">Sports</a></li>
<li><a href="#">International</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<!-- <li><a href="#"><span class="glyphicon glyphicon-log-in"></span> <i class="fa fa-facebook" aria-hidden="true">
</i> </a></li>-->
<li><a href="#"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
<li><a href="#"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
<li><a href="#"><i class="fa fa-google-plus" aria-hidden="true"></i></a></li>
<li><a href="#"><i class="fa fa-youtube" aria-hidden="true"></i></a></li>
</ul>
</div>
</nav>
</div>
</section>

View File

@@ -0,0 +1,25 @@
<section class="top">
<div class="container">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="lt-block">
<h4>Welcome to bengallive !</h4>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="rt-block">
<ul>
<li><span><i class="fa fa-home" aria-hidden="true"></i></span><a href="#">Home</a></li>
<li><span><i class="fa fa-comments" aria-hidden="true"></i></span>/
<a href="#">Contact</a></li>
<li><span><i class="fa fa-question-circle" aria-hidden="true"></i></span>/
<a href="#">FAQ</a></li>
</ul>
</div>
<div class="claer"></div>
</div>
</div>
</div>
</section>

View File

@@ -0,0 +1 @@
404 error code! not found

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,172 @@
.portfolio-header {
position: relative;
/*background-size:100% auto;
background-repeat: no-repeat;*/
background-image: url(/Diz/THEME/IMJ/images/header-bg.jpg);
}
.portfolio-header .mdl-layout__header-row {
padding: 0;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.mdl-layout__title {
font-size: 14px;
text-align: center;
font-weight: 300;
}
.is-compact .mdl-layout__title span {
display: none;
}
.portfolio-logo-row {
min-height: 200px;
}
.is-compact .portfolio-logo-row {
min-height: auto;
}
.portfolio-logo {
background: url(/Diz/THEME/IMJ/images/logo.png) 50% no-repeat;
background-size: cover;
height: 150px;
width: 150px;
margin: auto auto 10px;
}
.is-compact .portfolio-logo {
height: 50px;
width: 50px;
margin-top: 7px;
}
.portfolio-navigation-row {
background-color: rgba(0, 0, 0, 0.08);
text-transform: uppercase;
height: 45px;
}
.portfolio-navigation-row .mdl-navigation {
text-align: center;
max-width: 900px;
width: 100%;
}
.portfolio-navigation-row .mdl-navigation__link {
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
line-height: 42px;
}
.portfolio-header .mdl-layout__drawer-button {
background-color: rgba(197, 197, 197, 0.44);
}
.portfolio-navigation-row .is-active {
position: relative;
font-weight: bold;
}
.portfolio-navigation-row .is-active:after {
content: "";
width: 70%;
height: 2px;
display: block;
position: absolute;
bottom: 0;
left: 0;
background-color: rgb(255,64,129);
left: 15%;
}
.portfolio-card .mdl-card__title {
padding-bottom: 0;
}
.portfolio-blog-card-full-bg {
background: url(images/example-blog03.jpg) center / cover;
}
.portfolio-blog-card-event-bg {
background: url(images/example-blog05.jpg) center / cover;
}
.portfolio-blog-card-strip-bg {
background: url(images/example-blog06.jpg) center / cover;
}
.portfolio-blog-card-compact .mdl-card__title {
padding-bottom: 0;
}
.portfolio-blog-card-bg > .mdl-card__actions {
height: 52px;
padding: 16px;
background: rgba(0, 0, 0, 0.2);
}
img.article-image {
width: 100%;
height: auto;
}
.portfolio-max-width {
max-width: 900px;
margin: auto;
}
.portfolio-copy {
max-width: 700px;
}
.no-padding {
padding: 0;
}
.no-left-padding{
padding-left: 0;
}
.no-bottom-padding {
padding-bottom: 0;
}
.padding-top {
padding: 10px 0 0;
}
.portfolio-share-btn {
position: relative;
float: right;
top: -4px;
}
.demo-card-event > .mdl-card__actions {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
box-sizing: border-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.portfolio-contact .mdl-textfield {
width: 100%;
}
.portfolio-contact form {
max-width: 550px;
margin: auto;
}
footer {
background-image: url(images/footer-background.png);
background-size: cover;
}

View File

@@ -0,0 +1,172 @@
.portfolio-header {
position: relative;
/*background-size:100% auto;
background-repeat: no-repeat;*/
background-image: url(/Diz/THEME/IMJ/images/header-bg.jpg);
}
.portfolio-header .mdl-layout__header-row {
padding: 0;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.mdl-layout__title {
font-size: 14px;
text-align: center;
font-weight: 300;
}
.is-compact .mdl-layout__title span {
display: none;
}
.portfolio-logo-row {
min-height: 200px;
}
.is-compact .portfolio-logo-row {
min-height: auto;
}
.portfolio-logo {
background: url(images/logo.png) 50% no-repeat;
background-size: cover;
height: 150px;
width: 150px;
margin: auto auto 10px;
}
.is-compact .portfolio-logo {
height: 50px;
width: 50px;
margin-top: 7px;
}
.portfolio-navigation-row {
background-color: rgba(0, 0, 0, 0.08);
text-transform: uppercase;
height: 45px;
}
.portfolio-navigation-row .mdl-navigation {
text-align: center;
max-width: 900px;
width: 100%;
}
.portfolio-navigation-row .mdl-navigation__link {
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
line-height: 42px;
}
.portfolio-header .mdl-layout__drawer-button {
background-color: rgba(197, 197, 197, 0.44);
}
.portfolio-navigation-row .is-active {
position: relative;
font-weight: bold;
}
.portfolio-navigation-row .is-active:after {
content: "";
width: 70%;
height: 2px;
display: block;
position: absolute;
bottom: 0;
left: 0;
background-color: rgb(255,64,129);
left: 15%;
}
.portfolio-card .mdl-card__title {
padding-bottom: 0;
}
.portfolio-blog-card-full-bg {
background: url(images/example-blog03.jpg) center / cover;
}
.portfolio-blog-card-event-bg {
background: url(images/example-blog05.jpg) center / cover;
}
.portfolio-blog-card-strip-bg {
background: url(images/example-blog06.jpg) center / cover;
}
.portfolio-blog-card-compact .mdl-card__title {
padding-bottom: 0;
}
.portfolio-blog-card-bg > .mdl-card__actions {
height: 52px;
padding: 16px;
background: rgba(0, 0, 0, 0.2);
}
img.article-image {
width: 100%;
height: auto;
}
.portfolio-max-width {
max-width: 900px;
margin: auto;
}
.portfolio-copy {
max-width: 700px;
}
.no-padding {
padding: 0;
}
.no-left-padding{
padding-left: 0;
}
.no-bottom-padding {
padding-bottom: 0;
}
.padding-top {
padding: 10px 0 0;
}
.portfolio-share-btn {
position: relative;
float: right;
top: -4px;
}
.demo-card-event > .mdl-card__actions {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
box-sizing: border-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.portfolio-contact .mdl-textfield {
width: 100%;
}
.portfolio-contact form {
max-width: 550px;
margin: auto;
}
footer {
background-image: url(images/footer-background.png);
background-size: cover;
}

View File

@@ -0,0 +1,171 @@
.portfolio-header {
position: relative;
/*background-size:100% auto;
background-repeat: no-repeat;*/
background-image: url(/CONTENT/THEME/ASSETS/images/header-bg.jpg);
}
.portfolio-header .mdl-layout__header-row {
padding: 0;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.mdl-layout__title {
font-size: 14px;
text-align: center;
font-weight: 300;
}
.is-compact .mdl-layout__title span {
display: none;
}
.portfolio-logo-row {
min-height: 200px;
}
.is-compact .portfolio-logo-row {
min-height: auto;
}
.portfolio-logo {
background: url(/CONTENT/THEME/ASSETS/images/logo-en.png) 50% no-repeat;
background-size: cover;
height: 150px;
width: 150px;
margin: auto auto 10px;
}
.is-compact .portfolio-logo {
height: 50px;
width: 50px;
margin-top: 7px;
}
.portfolio-navigation-row {
background-color: rgba(0, 0, 0, 0.08);
text-transform: uppercase;
height: 45px;
}
.portfolio-navigation-row .mdl-navigation {
text-align: center;
max-width: 900px;
width: 100%;
}
.portfolio-navigation-row .mdl-navigation__link {
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
line-height: 42px;
}
.portfolio-header .mdl-layout__drawer-button {
background-color: rgba(197, 197, 197, 0.44);
}
.portfolio-navigation-row .is-active {
position: relative;
font-weight: bold;
}
.portfolio-navigation-row .is-active:after {
content: "";
width: 70%;
height: 2px;
display: block;
position: absolute;
bottom: 0;
left: 0;
background-color: rgb(255,64,129);
left: 15%;
}
.portfolio-card .mdl-card__title {
padding-bottom: 0;
}
.portfolio-blog-card-full-bg {
background: url(images/example-blog03.jpg) center / cover;
}
.portfolio-blog-card-event-bg {
background: url(images/example-blog05.jpg) center / cover;
}
.portfolio-blog-card-strip-bg {
background: url(images/example-blog06.jpg) center / cover;
}
.portfolio-blog-card-compact .mdl-card__title {
padding-bottom: 0;
}
.portfolio-blog-card-bg > .mdl-card__actions {
height: 52px;
padding: 16px;
background: rgba(0, 0, 0, 0.2);
}
img.article-image {
width: 100%;
height: auto;
}
.portfolio-max-width {
max-width: 900px;
margin: auto;
}
.portfolio-copy {
max-width: 700px;
}
.no-padding {
padding: 0;
}
.no-left-padding{
padding-left: 0;
}
.no-bottom-padding {
padding-bottom: 0;
}
.padding-top {
padding: 10px 0 0;
}
.portfolio-share-btn {
position: relative;
float: right;
top: -4px;
}
.demo-card-event > .mdl-card__actions {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
box-sizing: border-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.portfolio-contact .mdl-textfield {
width: 100%;
}
.portfolio-contact form {
max-width: 550px;
margin: auto;
}
footer {
background-image: url(images/footer-background.png);
background-size: cover;
}

File diff suppressed because one or more lines are too long

View File

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

8041
old/CONTENT/THEME/css/bootstrap.min.css vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,7 @@
/**
* Owl Carousel v2.3.0
* Copyright 2013-2017 David Deutsch
* Licensed under ()
*/
.owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y;touch-action:manipulation;-moz-backface-visibility:hidden}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}
.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;width:100%}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.no-js .owl-carousel,.owl-carousel.owl-loaded{display:block}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-nav button.owl-next,.owl-carousel .owl-nav button.owl-prev,.owl-carousel button.owl-dot{background:0 0;color:inherit;border:none;padding:0!important;font:inherit}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.owl-carousel .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item img.owl-lazy{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:-webkit-transform .1s ease;transition:transform .1s ease}.owl-carousel .owl-video-play-icon:hover{-webkit-transform:scale(1.3,1.3);-ms-transform:scale(1.3,1.3);transform:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%}

View File

@@ -0,0 +1,50 @@
/**
* Owl Carousel v2.3.0
* Copyright 2013-2017 David Deutsch
* Licensed under ()
*/
/*
* Default theme - Owl Carousel CSS File
*/
.owl-theme .owl-nav {
margin-top: 10px;
text-align: center;
-webkit-tap-highlight-color: transparent; }
.owl-theme .owl-nav [class*='owl-'] {
color: #FFF;
font-size: 14px;
margin: 5px;
padding: 4px 7px;
background: #D6D6D6;
display: inline-block;
cursor: pointer;
border-radius: 3px; }
.owl-theme .owl-nav [class*='owl-']:hover {
background: #869791;
color: #FFF;
text-decoration: none; }
.owl-theme .owl-nav .disabled {
opacity: 0.5;
cursor: default; }
.owl-theme .owl-nav.disabled + .owl-dots {
margin-top: 10px; }
.owl-theme .owl-dots {
text-align: center;
-webkit-tap-highlight-color: transparent; }
.owl-theme .owl-dots .owl-dot {
display: inline-block;
zoom: 1;
*display: inline; }
.owl-theme .owl-dots .owl-dot span {
width: 10px;
height: 10px;
margin: 5px 7px;
background: #D6D6D6;
display: block;
-webkit-backface-visibility: visible;
transition: opacity 200ms ease;
border-radius: 30px; }
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
background: #869791; }

View File

@@ -0,0 +1,249 @@
body{ background-color:#ccc; }
/*==========================hard-start======================*/
.hard { background: #fff; padding: 12px 0 12px 0; margin: 0; }
.hard .lt-block{ padding: 0; margin: 0; }
.hard .lt-block h3{ font-family: ; font-size:16px ; color: #000; line-height: 18px; font-weight: 400; padding: 0; margin: 0; }
.hard .rt-block{ float: right; padding:0; margin: 0;}
.hard .rt-block ul{ padding: 0; margin: 0; }
.hard .rt-block ul li{ display:inline-block; text-align: right; text-decoration: none; padding: 0 12px 0 0; margin: 0; }
.hard .rt-block ul li a{ padding: 0; margin: 0; }
/*==========================hard-start======================*/
.low-body { background:#65e851; padding: 0; min-height: 0; }
.low-body .navbar-default{ background-color: #343534; border: 0; padding:0; margin:0; }
.low-body .navbar-default .navbar-nav>li>a{ font-size: 16px; color: #fff !important; line-height: 18px; font-weight: bold; }
.low-body .navbar-default .navbar-nav>li>a:hover{ background: #fff; color: #000 !important; transition: all 600ms ease-out; }
.low-body .navbar-default .navbar-nav>.active>a{ background: #000; color: #088939 !important; }
.low-body .navbar-collapse{ padding-left: 0 !important; }
.low-body .banner{ background: #; padding:0; margin: 20px 0 20px 0; }
.low-body .banner .frist{ background:#fff; padding: 15px 0 15px 0; margin: 0; }
.low-body .banner .lt-block{ background: #95b3e2; min-height: 400px; padding: 0; margin: 0; }
.low-body .banner .lt-block img{ width: 100%; }
.low-body .banner .rt-block{ background: #95b3e2; min-height: 227px; padding: 0; margin: 0; }
.low-body .banner .rt-block .wrapper-1 .example-1 ul li img{ width: 100%; min-height: 100% !important; }
.low-body .banner .bottom{ background: #2c6acc; min-height:150px; padding: 0; margin:30px 0 0 0; }
.low-body .banner .bottom img{ width: 100%; min-height: height:100%; }
.low-body .Top{ padding: 0; margin:0 ; }
.low-body .Top .Top-news{ background:#fff; min-height:300px; padding:0 20px 0 20px; margin:0 !important;
}
.low-body .Top .Top-news h3{ font-family: 0; font-size: 25px; color: #fff; line-height: 27px; font-weight: 600;
padding: 0 0 0 20px; margin:0 0 20px 0; }
.low-body .Top .Top-news .img-block{ padding: 0; margin: 0 0 0 0; }
.low-body .Top .Top-news .img-block img{ width: 100%; }
.low-body .Top .Top-news .text-block h4{ font-family: 0; font-size: 18px; color: #000; line-height: 20px; font-weight: 500;
padding: 0 !important; margin:0 !important; }
.low-body .Top .Gallery{ background:#a442f4; min-height:200px; padding: 0 ; margin: 0; }
.low-body .Top .Gallery .item{ height: 150px; padding: 0; margin: 0 20px 0 20px ; }
.low-body .Top .Gallery .item img{ width: 100%; height: 100%; padding: 0; margin: 0 20px 0 20px; }
.low-body .Top .Breaking-News{ background:#fff; min-height:200px; padding: 50px 20px 0 20px ; margin: 0; }
.low-body .Top .Breaking-News .img-block{ margin: 20px 0 30px 0; padding: 0; }
.low-body .Top .Breaking-News .dwon-box{ background-color: #2f3056; height: 10px; position: relative; padding: 0; margin: 0;}
.low-body .Top .Breaking-News .dwon-box h3{ font-size: 30px; color:#3a47ff; position:absolute ; left: 0; top: -11px; padding:0; z-index: 9999;}
.low-body .Top .videos{ background:#000; min-height:300px; padding: 0; margin: 0; }
.low-body .Top .NEW-POSTS{ background:#fff; min-height:450px; padding: 0; margin: 0; }
.low-body .Top .search{ background:#000; min-height:300px; padding: 0; margin: 0; }
.low-body .Top .CALENDAR{ background:#fff; min-height:200px; padding: 0; margin: 0; }
.low-body .Top .TWEET{ background:#fff; min-height:230px; padding: 0; margin: 0; }
.footer{ background: #000; padding: 30px 0 30px 0; margin: 0; }
.footer .NEWSPAPER{ background: #fff; min-height: 300px; padding: 0; margin: 0 0 30px 0; }
.footer .Tags{ background: #fff; min-height: 300px; padding: 0; margin: 0 0 30px 0; }
.footer .Recent-News{ background: #fff; min-height: 300px; padding: 0; margin: 0 0 30px 0; }
.footer .footer-bottom{ border-top: 2px solid #fff; padding: 0; min-height: 0; }
.footer .footer-bottom .text-center { padding: 0; min-height: 0; }
.footer .footer-bottom .text-center h4 { font-family: ; font-size:16px ; color: #fff; line-height: 18px; font-weight: 400; padding: 20px 0 0 0; margin: 0;
}
.wrapper-1 {
width: 100%;
margin: 0 auto;
}
/*style for img in case of low download speed*/
.example-1 {
overflow: hidden;
width: 100%;
position: relative;
}
.example-1 ul {
overflow: hidden;
margin: 0;
zoom: 1;
}
.example-1 ul li { float: left; }
.example-1 ul li img { width: 100%; }
/*style for dots*/
.dots-1 {
position: absolute;
bottom: 10px;
right: 10px;
margin: 0;
padding: 0;
text-align: center;
}
.dots-1 li {
display: inline-block;
*display: inline;
*zoom: 1;
width: 15px;
height: 15px;
margin: 0 5px;
background: #963;
cursor: pointer;
}
.dots-1 li:hover, .dots-1 li.active { background: #000; }
.wrapper-2 {
width: 100%;
margin: 0 auto;
}
/*style for img in case of low download speed*/
.example-2 {
overflow: hidden;
width: 100%;
position: relative;
}
.example-2 ul {
overflow: hidden;
margin: 0;
zoom: 1;
}
.example-2 ul li { float: left; }
.example-2 ul li img { width: 100%; }
.dots-2 {
position: absolute;
bottom: 20px;
left: 50%;
width: 300px;
margin: 0 0 0 -150px;
padding: 0;
text-align: center;
}
.dots-2 li {
display: inline-block;
*display: inline;
*zoom: 1;
width: 15px;
height: 15px;
margin: 0 5px;
border-radius: 50%;
background: #fff;
cursor: pointer;
}
.dots-2 li:hover, .dots-2 li.active { background: #ff7f02; }
/*=========================gallery==============================*/
/*=========================gallery-end==============================*/

View File

@@ -0,0 +1,7 @@
I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project,
Fort Awesome (https://fortawesome.com). It makes it easy to put the perfect icons on your website. Choose from our awesome,
comprehensive icon sets or copy and paste your own.
Please. Check it out.
-Dave Gandy

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 434 KiB

View File

@@ -0,0 +1,34 @@
// Animated Icons
// --------------------------
.@{fa-css-prefix}-spin {
-webkit-animation: fa-spin 2s infinite linear;
animation: fa-spin 2s infinite linear;
}
.@{fa-css-prefix}-pulse {
-webkit-animation: fa-spin 1s infinite steps(8);
animation: fa-spin 1s infinite steps(8);
}
@-webkit-keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}

Some files were not shown because too many files have changed in this diff Show More