forked from Mehul2205/Recruitment
-
Notifications
You must be signed in to change notification settings - Fork 0
saurabhyadavz/Recruitment-Portal
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
<?php require 'server.php'; session_start(); $firstname=$_SESSION['name']; $lastname=$_SESSION['lastname']; $department=$_SESSION['department']; $post=$_SESSION['post']; $img_url="images/".$_SESSION['id'].".jpg"; if(!file_exists($img_url)) { $img_url = "images/generic.jpg"; } if (isset($_GET['title'])) { $title = $_GET['title']; $short_description = $_GET['short_description']; $inventors = $_GET['inventors']; $country = $_GET['country']; $patent_number = $_GET['patent_number']; $patent_issuing_date = $_GET['patent_issuing_date']; $application_number = $_GET['application_number']; $application_date = $_GET['application_date']; $status = $_GET['status']; $stmt = $conn->prepare("INSERT INTO patents (id, title, short_description, inventors, country, patent_number, patent_issuing_date, application_number, application_date, status) VALUES (?,?,?,?,?,?,?,?,?,?)"); $stmt->bind_param("ssssssssss", $_SESSION['id'], $title, $short_description, $inventors, $country, $patent_number, $patent_issuing_date, $application_number, $application_date, $status); $stmt->execute(); } ?> <!DOCTYPE html> <html lang="en" class=" "><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- Meta, title, CSS, favicons, etc. --> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="scroll-viewwport" content="width=device-width, initial-scale=1"> <title>Patents</title> <!-- Bootstrap --> <link href="css/bootstrap.min.css" rel="stylesheet"> <!-- Font Awesome --> <link href="css/font-awesome.min.css" rel="stylesheet"> <!-- NProgress --> <link href="css/nprogress.css" rel="stylesheet"> <link href="css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet"> <link href="css/select2.min.css" rel="stylesheet"> <!-- Custom Theme Style --> <link href="css/custom.min.css" rel="stylesheet"> </head> <body class="nav-md" cz-shortcut-listen="true"> <div class="container body"> <div class="main_container"> <div class="col-md-3 left_col"> <div class="left_col scroll-view"> <div class="navbar nav_title" style="border: 0;"> <a href="#" class="site_title"><span>Application Portal</span></a> </div> <!-- menu profile quick info --> <div class="profile"> <div class="profile_pic"> <img src="<?php echo $img_url ?>" alt="Profile Picture" class="img-circle profile_img"> </div> <div class="profile_info"> <span>Welcome,</span> <h2><?php echo $firstname." ".$lastname?></h2> </div> </div> <!-- /menu profile quick info --> <div id="sidebar-menu" class="main_menu_side hidden-print main_menu"> <div class="menu_section"> <h3>Application Details</h3> <ul class="nav side-menu"> <li><a id="menu_1"><i class="fa fa-user"></i> Personal Details <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu"> <li id="Application Details__Personal Details__Personal Details"> <a href="detail.php"></i> Personal Details</a> </li> <li id="Application Details__Personal Details__Contact"> <a href="contact.php"></i> Contact</a> </li> <li id="Application Details__Personal Details__Permanent Address"> <a href="permanent_add.php"></i> Permanent Address</a> </li> <li id="Application Details__Personal Details__Correspondence Address"> <a href="corr_add.php"></i> Correspondence Address</a> </li> </ul> </li> <li><a id="menu_2"><i class="fa fa-university"></i> Academic Qualification <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu" style=""> <li id="Application Details__Academic Qualification__Secondary Exam"> <a href="secondary.php"></i> Secondary Exam</a> </li> <li id="Application Details__Academic Qualification__Higher Secondary Exam"> <a href="higher_secondary.php"></i> Higher Secondary Exam</a> </li> <li id="Application Details__Academic Qualification__Bachelor's Degree"> <a href="bachelor.php"></i> Bachelor's Degree</a> </li> <li id="Application Details__Academic Qualification__Master's Degree"> <a href="master.php"></i> Master's Degree</a> </li> <li id="Application Details__Academic Qualification__PhD"> <a href="phd.php"></i> PhD</a> </li> <li id="Application Details__Academic Qualification__Other Degree/Diploma"> <a href="other.php"></i> Other Degree/Diploma</a></li> </ul> </li> <li><a id="menu_3"><i class="fa fa-wpforms"></i> Publications <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu" style=""> <li id="Application Details__Publications__Publication Summary"> <a href="psummary.php"></i> Publication Summary</a> </li> </ul> </li> <li><a id="menu_4"><i class="fa fa-industry"></i> Work Experience <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu" style=""> <li id="Application Details__Work Experience__Experience Summary"> <a href="expsummary.php"></i> Experience Summary</a> </li> <li id="Application Details__Work Experience__Work Experience"> <a href="wrok_experience.php"></i> Work Experience</a> </li> </ul> </li> <li><a id="menu_5"><i class="fa fa-wpforms"></i> Sponsored Projects <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu" style=""> <li id="Application Details__Sponsored Projects__Sponsored Projects"> <a href="spon_project.php"></i> Sponsored Projects</a> </li> </ul> </li> <li><a id="menu_6"><i class="fa fa-wpforms"></i> Other Achievements <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu" style=""> <li id="Application Details__Other Achievements__Awards"> <a href="awards.php"></i> Awards</a> </li> <li id="Application Details__Other Achievements__Scolarships"> <a href="scolarships.php"></i> Scolarships</a> </li> <li id="Application Details__Other Achievements__Recognition"> <a href="recognition.php"></i> Recognition</a> </li> </ul> </li> <li><a id="menu_7"><i class="fa fa-wpforms"></i> Patents <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu" style=""> <li id="Application Details__Patents__Patents"> <a href="patents.php"></i> Patents</a> </li> </ul> </li> <li><a id="menu_8"><i class="fa fa-wpforms"></i> Member of Professional Bodies <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu" style=""> <li id="Application Details__Member of Professional Bodies__Member of Professional Bodies"> <a href="members.php"></i> Member of Professional Bodies</a> </li> </ul> </li> <li><a id="menu_9"><i class="fa fa-wpforms"></i> Student Supervised <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu" style=""> <li id="Application Details__Student Supervised__Students Supervised"> <a href="supevised.php"></i> Students Supervised</a> </li> </ul> </li> <li><a id="menu_10"><i class="fa fa-wpforms"></i> Elearning Material <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu" style=""> <li id="Application Details__Elearning Material__Elearning Material"> <a href="elearning.php"></i> Elearning Material</a> </li> </ul> </li> <li><a id="menu_11"><i class="fa fa-wpforms"></i> References <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu" style=""> <li id="Application Details__References__References"> <a href="refrences.php"></i> References</a> </li> </ul> </li> <li><a id="menu_12"><i class="fa fa-wpforms"></i> Short term Courses Conducted <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu" style=""> <li id="Application Details__Short term Courses Conducted__Short term Courses"> <a href="stcourses.php"></i> Short term Courses</a> </li> </ul> </li> <li><a id="menu_13"><i class="fa fa-wpforms"></i> Outreach Activity <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu" style=""> <li id="Application Details__Outreach Activity__Outreach Activity"> <a href="outreach.php"></i> Outreach Activity</a> </li> </ul> </li> <li><a id="menu_14"><i class="fa fa-wpforms"></i> Additional Details <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu" style=""> <li id="Application Details__Additional Details__Additional Details"> <a href="add_details.php"></i> Additional Details</a> </li> </ul> </li> </ul> </div> </div> <!-- /sidebar menu --> </div> </div> <!-- top navigation --> <div class="top_nav"> <div class="nav_menu"> <nav> <div class="nav toggle"> <a id="menu_toggle"><i class="fa fa-bars"></i></a> </div> <ul class="nav navbar-nav navbar-right"> <li class=""> <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> <?php echo $firstname." ".$lastname?> <span class=" fa fa-angle-down"></span> </a> <ul class="dropdown-menu dropdown-usermenu pull-right"> </ul> </li> </ul> </nav> </div> </div> <!-- /top navigation --> <!-- page content --> <div class="right_col" role="main" style="min-height: 1087px;"> <div class=""> <div class="page-title"> <div class="title_left"> <h3>Patents</h3> </div> </div> <div class="row"> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="x_panel"> <div class="x_title"> <h2>Please provide your latest information for the post of <?php echo " ".$post."(".$department.")" ?><br>You can add as many entries as you want.</h2> <div class="clearfix"></div> </div> <?php $sql = "SELECT i, id, title, short_description, inventors, country, patent_number, patent_issuing_date, application_number, application_date, status FROM patents WHERE id=".$_SESSION['id']; $result = $conn->query($sql); $i=1; if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { echo "<div class='bg-success'>"; echo "<strong>Entry</strong>".$i."<br>"; echo "<strong>title:</strong> ".$row['title']; echo "  <strong>short_description:</strong> ".$row['short_description']; echo "  <strong>inventors:</strong> ".$row['inventors']; echo "  <strong>country:</strong> ".$row['country']; echo "  <strong>patent_number: </strong>".$row['patent_number']; echo "  <strong>patent_issuing_date:</strong> ".$row['patent_issuing_date']; echo "  <strong>application_number:</strong> ".$row['application_number']; echo "  <strong>application_date:</strong> ".$row['application_date']; echo "  <strong>status:</strong> ".$row['status']; echo "</div><br>"; $i=$i+1; } } ?> <div class="x_content"> <div class="jumbotron"> <form> <div class="form-group"> <label for="id_title">Invention</label> <input class="form-control" id="id_title" maxlength="500" name="title" type="text"> </div> <div class="form-group"> <label for="id_short_description">Short description</label> <textarea class="form-control" cols="40" id="id_short_description" name="short_description" rows="10"></textarea> </div> <div class="form-group"> <label for="id_inventors">Inventor(s)</label> <input class="form-control" id="id_inventors" maxlength="500" name="inventors" type="text"> </div> <div class="form-group"> <label for="id_country">Country</label> <input class="form-control" id="id_country" maxlength="100" name="country" type="text" value="India"> </div> <div class="form-group"> <label for="id_patent_number">Patent number</label> <input class="form-control" id="id_patent_number" maxlength="500" name="patent_number" type="text"> </div> <div class="form-group"> <label for="id_patent_issuing_date">Patent issuing date</label> <input class="form-control" id="id_patent_issuing_date" name="patent_issuing_date" type="date"> </div> <div class="form-group"> <label for="id_application_number">Application number</label> <input class="form-control" id="id_application_number" maxlength="500" name="application_number" type="text"> <p class="help-block"><small>For pending patents</small></p> </div> <div class="form-group"> <label for="id_application_date">Application date</label> <input class="form-control" id="id_application_date" name="application_date" type="date"> <p class="help-block"><small>For pending patents</small></p> </div> <div class="form-group"> <label for="id_status">Status</label> <select class="form-control" id="id_status" name="status" tabindex="-1" aria-hidden="true"> <option value="Patent Granted">Patent Granted</option> <option value="Patent Pending">Patent Pending</option> </select> </div> <div class="form-group"> <button type="submit" class="btn btn-primary">Submit</button> <a class="btn btn-danger" href="clear.php?table=patents">Clear</a> </div> </form> </div> </div> </div> </div> </div> </div> </div> <!-- /page content --> </div> </div> <!-- jQuery --> <script src="js/jquery.min.js.download"></script> <!-- Bootstrap --> <script src="js/bootstrap.min.js.download"></script> <!-- FastClick --> <script src="js/fastclick.js.download"></script> <!-- NProgress --> <script src="js/nprogress.js.download"></script> <script src="js/jquery.easypiechart.min.js.download"></script> <script src="js/bootstrap-progressbar.min.js.download"></script> <script src="js/moment.min.js.download"></script> <script src="js/daterangepicker.js.download"></script> <script src="js/daterangepicker.js.download"></script> <script src="js/select2.full.min.js.download"></script> <!-- Custom Theme Scripts --> <script src="js/custom.min.js.download"></script> <script type="text/javascript"> </script> </body> </html>
About
No description, website, or topics provided.
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 79.0%
- HTML 13.0%
- CSS 7.9%
- JavaScript 0.1%