G:
/
PleskVhosts
/
seeonsoft.com
/
hp.thefalconunited.com
/
up file
home
<!DOCTYPE html> <html lang="ar"> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <head> <script type="text/javascript"> window.onafterprint = window.close; window.print(); </script> <style> table { border-spacing: 3px; padding:2px; } </style> <script> /* function printpage() { window.print(); } */ </script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <style> @page { size: A4; margin: 13px !important; } @media print { #footer { position:fixed; margin-left:-0.75%; bottom:0; } body {-webkit-print-color-adjust: exact; page-break-after:always;/*zoom : 98%;*/} .noprint {display:none;} #tables { padding-left:100px; padding-right:100px; } } @media print { table { page-break-inside: auto; } tr{ page-break-inside: avoid; page-break-after: auto; } img-container{ page-break-inside: avoid; page-break-after: auto; } /* #sme{display: block; width: 100%; height: 100%;page-break-inside: avoid;} */ } #container { margin-bottom: 2em; min-height: 100%; clear: both; padding: 0 2em; text-align: justify; padding-left:100px; padding-right:100px; } </style> </head> <body style='color:#336;font-size:12px; '> <?PHP $client = $_GET['id']; include('config.php'); $result2 = $js->prepare('SELECT * FROM `marketingclients` WHERE `id` = :client'); $result2->bindParam(':client', $client); $result2->execute(); while($row2 = $result2->fetch(PDO::FETCH_ASSOC)) { $contact_person = $row2['contact_person']; $remarks = strtoupper($row2['remarks']); $compname = $row2['compname']; $sdate = $row2['entrydate']; $crno = $row2['crno']; $phone = $row2['compmob']; $email = $row2['compemail']; $comploc = $row2['comploc']; $results = $js->prepare('SELECT * FROM `locations` WHERE id = :comploc '); $results->execute(array(':comploc' => $comploc)); while($rows = $results->fetch(PDO::FETCH_ASSOC)) { $lid = $rows['id']; $locname = $rows['loc_name']; } if($locname == '') { $locname = $comploc; } } ?> <script> function myFunction() { window.print(); } </script> <style type="text/css" media="print"> body { /* zoom:75%;*/ /*or whatever percentage you need, play around with this number*/ } </style> <style type="text/css"> @media print { table.paging thead td, table.paging tfoot td { height: .4in; } footer{ position: fixed; } footer { bottom: 0; } .noprint {display:none;} } </style> <?php $resultcomp = $js->query('SELECT * FROM `organization` '); $resultcomp->execute(); while($rowcomp = $resultcomp->fetch(PDO::FETCH_ASSOC)) { $crno = $rowcomp['crno']; $cmpname = $rowcomp['orgname']; $pobox = $rowcomp['pobox']; $pcode = $rowcomp['pcode']; $orgloc = $rowcomp['orgloc']; $orgho = $rowcomp['orgho']; $orgmob = $rowcomp['orgmob']; $orgemail = $rowcomp['orgemail']; $website = $rowcomp['orgwebsite']; } $qedate = date('d-m-Y', strtotime($qdate)); ?> <table width="100%"> <thead> <tr> <td align="center"><img src="images/dmc logo.png" style="margin:5px;" > </td> </tr> <tr> <th> <hr style="height:5px; color:#F6921E; background-color:#F6921E;"><br> </th> </tr> </thead> <br> <table align="left"> <tr> <td>COMPANY</td> <td>:</td> <td><?php echo $compname?></td> </tr> <tr> <td>CONTACT PERSON</td> <td>:</td> <td><?php echo $contact_person?></td> </tr> <tr> <td>CONTACT</td> <td>:</td> <td><?php echo $phone?></td> </tr> </table> <table align="right"> <tr> <td>DATE OF VISIT</td> <td>:</td> <td><?php echo $sdate?></td> </tr> <tr> <td>LOCATION</td> <td>:</td> <td><?php echo $locname?></td> </tr> <tr> <td>EMAIL</td> <td>:</td> <td><?php echo $email?></td> </tr> </table> <table width="100%" style="border-collapse:collapse;"> <tr> <td style="padding-left:5px;"> REMARKS : <?php echo $remarks; ?> </tr> </table> <center><div align="center" style="margin-top:35px; width:100%;"><strong>FOLLOW-UPS</strong></div></center> <div style="margin-top:10px;"> <table class="table table-bordered" id="mydatatable" width="100%" cellspacing="23" cellpadding="23" border="1" style="border-collapse:collapse;"> <thead> <tr align="center" style="background-color:#1B75BB; color:#fff; text-transform:uppercase; line-height:30px;"> <th width="16%">Date</th> <th>Remarks</th> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr><tr> <td> </td> <td> </td> </tr><tr> <td> </td> <td> </td> </tr><tr> <td> </td> <td> </td> </tr><tr> <td> </td> <td> </td> </tr><tr> <td> </td> <td> </td> </tr><tr> <td> </td> <td> </td> </tr><tr> <td> </td> <td> </td> </tr><tr> <td> </td> <td> </td> </tr> </thead>