Server IP : 92.204.138.22 / Your IP : 18.191.205.52 Web Server : Apache System : Linux ns1009439.ip-92-204-138.us 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64 User : internationaljou ( 1019) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/internationaljou/public_html/admin/ |
Upload File : |
<?php include("header.php"); include("left-menu.php");?> <noscript> <div class="alert alert-block col-md-12"> <h4 class="alert-heading">Warning!</h4> <p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p> </div> </noscript> <div id="content" class="col-lg-10 col-sm-10"> <!-- content starts --> <div> <ul class="breadcrumb"> <li> <a href="#">Home</a> </li> <li> <a href="#">Upcoming Conference </a> </li> </ul> </div> <div class=" row"> <div class="col-md-3 col-sm-3 col-xs-12"> <a data-toggle="tooltip" title="" class="well top-block" href="#"> <i class="glyphicon glyphicon-home blue"></i> <div>2022 Conference</div> <?php include("config.php"); $sql = mysqli_query($conn,"select count(conference_id) as total from `upcoming_conference` where Year(STR_TO_DATE(conferencedate,'%d/%m/%Y'))='2022'"); while ($row = mysqli_fetch_array($sql)) { ?> <div><?php echo $row['total']; ?></div> <?php }?> </a> </div> <div class="col-md-3 col-sm-3 col-xs-12"> <a data-toggle="tooltip" title="" class="well top-block" href="#"> <i class="glyphicon glyphicon-home blue"></i> <div>2021 Conference</div> <?php include("config.php"); $sql = mysqli_query($conn,"select count(conference_id) as total from `upcoming_conference` where Year(STR_TO_DATE(conferencedate,'%d/%m/%Y'))='2021'"); while ($row = mysqli_fetch_array($sql)) { ?> <div><?php echo $row['total']; ?></div> <?php }?> </a> </div> <div class="col-md-3 col-sm-3 col-xs-12"> <a data-toggle="tooltip" title="" class="well top-block" href="#"> <i class="glyphicon glyphicon-home blue"></i> <div>2020 Conference</div> <?php include("config.php"); $sql = mysqli_query($conn,"select count(conference_id) as total from `upcoming_conference` where Year(STR_TO_DATE(conferencedate,'%d/%m/%Y'))='2020'"); while ($row = mysqli_fetch_array($sql)) { ?> <div><?php echo $row['total']; ?></div> <?php }?> </a> </div> <div class="col-md-3 col-sm-3 col-xs-12"> <a data-toggle="tooltip" title="" class="well top-block" href="#"> <i class="glyphicon glyphicon-star green"></i> <div>2019 Conference</div> <?php $sql = mysqli_query($conn,"select count(conference_id) as total from `upcoming_conference` where Year(STR_TO_DATE(conferencedate,'%d/%m/%Y'))='2019'"); while ($row = mysqli_fetch_array($sql)) { ?> <div><?php echo $row['total']; ?></div> <?php }?> </a> </div> <div class="col-md-3 col-sm-3 col-xs-12"> <a data-toggle="tooltip" title="" class="well top-block" href="#"> <i class="glyphicon glyphicon-star yellow"></i> <div>2018 Conference</div> <?php $sql = mysqli_query($conn,"select count(conference_id) as total from `upcoming_conference` where Year(STR_TO_DATE(conferencedate,'%d/%m/%Y'))='2018'"); while ($row = mysqli_fetch_array($sql)) { ?> <div><?php echo $row['total']; ?></div> <?php }?> </a> </div> <div class="col-md-3 col-sm-3 col-xs-12"> <a data-toggle="tooltip" title="" class="well top-block" href="#"> <i class="glyphicon glyphicon-star yellow"></i> <div>2017 Conference</div> <?php $sql = mysqli_query($conn,"select count(conference_id) as total from `upcoming_conference` where Year(STR_TO_DATE(conferencedate,'%d/%m/%Y'))='2017'"); while ($row = mysqli_fetch_array($sql)) { ?> <div><?php echo $row['total']; ?></div> <?php }?> </a> </div> <div class="col-md-3 col-sm-3 col-xs-12"> <a data-toggle="tooltip" title="" class="well top-block" href="#"> <i class="glyphicon glyphicon-star yellow"></i> <div>2016 Conference</div> <?php $sql = mysqli_query($conn,"select count(conference_id) as total from `upcoming_conference` where Year(STR_TO_DATE(conferencedate,'%d/%m/%Y'))='2016'"); while ($row = mysqli_fetch_array($sql)) { ?> <div><?php echo $row['total']; ?></div> <?php }?> </a> </div> <div class="col-md-3 col-sm-3 col-xs-12"> <a data-toggle="tooltip" title="" class="well top-block" href="#"> <i class="glyphicon glyphicon-star yellow"></i> <div>2015 Conference</div> <?php $sql = mysqli_query($conn,"select count(conference_id) as total from `upcoming_conference` where Year(STR_TO_DATE(conferencedate,'%d/%m/%Y'))='2015'"); while ($row = mysqli_fetch_array($sql)) { ?> <div><?php echo $row['total']; ?></div> <?php }?> </a> </div> <div class="col-md-3 col-sm-3 col-xs-12"> <a data-toggle="tooltip" title="" class="well top-block" href="#"> <i class="glyphicon glyphicon-star yellow"></i> <div>2014 Conference</div> <?php $sql = mysqli_query($conn,"select count(conference_id) as total from `upcoming_conference` where Year(STR_TO_DATE(conferencedate,'%d/%m/%Y'))='2014'"); while ($row = mysqli_fetch_array($sql)) { ?> <div><?php echo $row['total']; ?></div> <?php }?> </a> </div> </div> <div class="row"> <div class="box col-md-12"> <div class="box-inner"> <div class="box-header well" data-original-title=""> <h2><i class="glyphicon glyphicon-home"></i> View Upcoming Conference</h2> <div class="box-icon"> <a href="#" class="btn btn-setting btn-round btn-default"><i class="glyphicon glyphicon-cog"></i></a> <a href="#" class="btn btn-minimize btn-round btn-default"><i class="glyphicon glyphicon-chevron-up"></i></a> <a href="#" class="btn btn-close btn-round btn-default"><i class="glyphicon glyphicon-remove"></i></a> </div> </div> <div class="box-content"> <div class="alert alert-info"><a class="btn btn-success" href="add_upcoming_conference.php"><i class="glyphicon glyphicon-plus icon-white"></i> Add New Conference</a></div> <table class="table table-striped table-bordered bootstrap-datatable datatable responsive"> <thead> <tr> <th width='5%'>S.NO</th> <th width='35%'>Conference Name</th> <th width='10%'>Submission last</th> <th width='10%'>Conference Date</th> <th width='5%'>Registeration Last Date </th> <th width='10%'>Venue</th> <th width='5%'>Status</th> <th width='20%'>Action</th> </tr> </thead> <tbody> <?php $i=0; $sqls = mysqli_query($conn,"select * from upcoming_conference order by STR_TO_DATE(conferencedate,'%d/%m/%Y') desc"); while ($row = mysqli_fetch_array($sqls)) { $i++; ?> <tr> <td class="center"><?php echo $i ?></td> <td class="center"><?php echo $row['conferencename'] ?></td> <td class="center"><?php echo $row['lastdate'];?></td> <td class="center"><?php echo $row['conferencedate'];?></td> <td class="center"><?php echo $row['lastdate_registration'] ?></td> <td class="center"><?php echo $row['venue'] ?></td> <td class="center"> <span class="label-success label label-default"><?php if($row['Status']=='C') { echo "Open"; } else if($row['Status']=='D') { echo "Closed";} else { echo "Use Later"; } ?></span></td> <td class="center"> <a class="btn btn-success" href="edit_upcoming_conference.php?cid=<?php echo $row['conference_id'] ?>"> <i class="glyphicon glyphicon-edit icon-white"></i> Edit </a> <a class="btn btn-success" onclick='confirmationDelete(this);return false;' href="delete_upcoming_conference.php?cid=<?php echo $row['conference_id'] ?>" > <i class="glyphicon glyphicon-trash icon-white"></i> Delete </a> </td> </tr><?php }?> </tbody> </table> </div> </div> </div> </div> <?php include("footer.php"); ?>