<?php session_start(); ob_start(); if (empty($_SESSION['username'])) { header('location:index.php'); } $cod = $_SESSION['con_id']; require 'headwithsearch.php'; require 'varfilter.php'; require 'database.php'; require 'functions/sam_img_lib.php'; $username = $_SESSION['username']; require 'functions/DataInsert.php'; if (isset($_POST['subadd'])) { $mdata = $_POST['mdata']; $nj = new DataInsert(); $nj->INSERT($mdata, 'My_Bills', $username); } ?> <link rel="stylesheet" href="//code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css"> <script src="//code.jquery.com/jquery-1.10.2.js"></script> <script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css"> <script> $(function() { $( "#datepicker" ).datepicker({ showButtonPanel: true }); }); </script>
?> " style="float: right;">Delete</a> <input type="submit" class="btn btn-inverted" style="float:right;margin-right: 33px;" value="Edit" name="editktna"> </div> </form> </div> <?php $j++; } } ?> <?php if ($flag == 0) { $nj = new DataInsert(); $r = $nj->SELECT('My_Bills', 'DESC', $username); $j = 1; while ($res = mysql_fetch_array($r)) { ?> <div class="hero-unit1 h_top2 r_b2" <?php if ($j % 2 == 0) { ?> style="background: #E3EEF6 !important; border-radius:0px; color:#336586 !important; font-weight:bold;" <?php } else { ?> style=" background:#fff !important; border-radius:0px !important; color:#336586; font-weight:bold;" <?php } ?>