Ejemplo n.º 1
0
    padding: 0px;
    width: 100%;
    border: 1px solid #C4BABA;
} 
table tr{
     border-bottom: 2px solid #048AC2;
}
.head {
    background-color: #049CDB;
  
    color: #FFF;
}</style>';
$data.=$export_data[0];
$data.="<br/><br/><table   class=' generaltable resulttbl' id='tableData'><thead class='head'><tr>
                                   <th>Roll NO</th>
                                   <th>Full Name</th>
                                  <th>Grade</th>
                                   <th>Rank</th><th>Department</th><th>Section</th><th>Watchlist</th></tr></thead><tbody>";
$data.=$export_data[1];
//var_dump($export_data[1]);
$data.="</tbody></table>";
//echo $data;
$exportresult=new Export_Reports();
	$html =$data;
	$exportresult->report_download_pdf($html);

//echo json_encode(array('pdf' => $xx));
//echo "HIII";

?>
Ejemplo n.º 2
0
    color: #FFF;
    margin-top:20px;
}
thead  {
    text-decoration:none;
    font-size: 12px !important;
    color: black;
}

 td   {
    background-color: #FFF;

     color: black;
}
a{
text-decoration: none;
color: black;
}
input[type=checkbox]{
display:none;
}
</style>
'. getWatchlistByCoursePdf($cid);
    $exportresult->report_download_pdf($contents1);

}
?>