tce__pdf__all__questions_8php

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.
tce_pdf_all_questions.php File Reference

Namespaces

 com\tecnick\tcexam\admin
 TCExam Administration Area.
 

Variables

if((isset($_REQUEST[‘expmode’]) AND($_REQUEST[‘expmode’] > 0)) AND(isset($_REQUEST[‘module_id’]) AND($_REQUEST[‘module_id’] > 0)) AND(isset($_REQUEST[‘subject_id’]) AND($_REQUEST[‘subject_id’] > 0))) else
 
if(!F_isAuthorizedUser(K_TABLE_MODULES, ‘module_id’, $module_id, ‘module_user_id’)) $show_answers = true
 
if(isset($_REQUEST[‘hide_answers’]) AND($_REQUEST[‘hide_answers’]==1)) $doc_title = unhtmlentities($l[’t_questions_list’])
 
 $doc_description = F_compact_string(unhtmlentities($l[‘hp_select_all_questions’]))
 
 $page_elements = 6
 
 $qtype = array(’S’, ’M’, ’T’, ‘0’)
 
 $qright = array(’ ‘, ‘*‘)
 
 $dirvalue = ‘L’
 
 $isunicode = (strcasecmp($l[‘a_meta_charset’], ‘UTF-8’) == 0)
 
 $pdf = new TCPDFEX(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, $isunicode)
 
 $defalign = $l[‘a_meta_dir’]==‘rtl’ ? ‘R’ : ‘L’
 
if(defined(’K_DIGSIG_ENABLE’) AND K_DIGSIG_ENABLE$cell_height_ratio = (K_CELL_HEIGHT_RATIO + 0.1)
 
 $page_width = $pdf->getPageWidth() - PDF_MARGIN_LEFT - PDF_MARGIN_RIGHT
 
 $data_cell_height = round(($cell_height_ratio * PDF_FONT_SIZE_DATA) / $pdf->getScaleFactor(), 2)
 
 $main_cell_height = round(($cell_height_ratio * PDF_FONT_SIZE_MAIN) / $pdf->getScaleFactor(), 2)
 
 $data_cell_width = round($page_width / $page_elements, 2)
 
 $data_cell_width_third = round($data_cell_width / 3, 2)
 
 $data_cell_width_half = round($data_cell_width / 2, 2)
 
 $andmodwhere = “
 
if($expmode< 3) $sqlm = F_select_modules_sql($andmodwhere)
 
 $msg = "\x50\x6f\x77\x65\x72\x65\x64\x20\x62\x79\x20\x54\x43\x45\x78\x61\x6d\x20\x28\x77\x77\x77\x2e\x74\x63\x65\x78\x61\x6d\x2e\x6f\x72\x67\x29"
 
 $lnk = "\x68\x74\x74\x70\x3a\x2f\x2f\x77\x77\x77\x2e\x74\x63\x65\x78\x61\x6d\x2e\x6f\x72\x67"
 

Detailed Description

Creates a PDF document containing exported questions.

Variable Documentation

$andmodwhere = “

if (defined(’K_DIGSIG_ENABLE’) AND K_DIGSIG_ENABLE) $cell_height_ratio = (K_CELL_HEIGHT_RATIO + 0.1)

$data_cell_height = round(($cell_height_ratio * PDF_FONT_SIZE_DATA) / $pdf->getScaleFactor(), 2)

$data_cell_width = round($page_width / $page_elements, 2)

$data_cell_width_half = round($data_cell_width / 2, 2)

$data_cell_width_third = round($data_cell_width / 3, 2)

$defalign = $l[‘a_meta_dir’]==‘rtl’ ? ‘R’ : ‘L’

$dirvalue = ‘L’

$doc_description = F_compact_string(unhtmlentities($l[‘hp_select_all_questions’]))

if (isset($_REQUEST[‘hide_answers’]) AND($_REQUEST[‘hide_answers’]==1)) $doc_title = unhtmlentities($l[’t_questions_list’])

$isunicode = (strcasecmp($l[‘a_meta_charset’], ‘UTF-8’) == 0)

$lnk = "\x68\x74\x74\x70\x3a\x2f\x2f\x77\x77\x77\x2e\x74\x63\x65\x78\x61\x6d\x2e\x6f\x72\x67"

$main_cell_height = round(($cell_height_ratio * PDF_FONT_SIZE_MAIN) / $pdf->getScaleFactor(), 2)

$msg = "\x50\x6f\x77\x65\x72\x65\x64\x20\x62\x79\x20\x54\x43\x45\x78\x61\x6d\x20\x28\x77\x77\x77\x2e\x74\x63\x65\x78\x61\x6d\x2e\x6f\x72\x67\x29"

$page_elements = 6

$page_width = $pdf->getPageWidth() - PDF_MARGIN_LEFT - PDF_MARGIN_RIGHT

$qright = array(’ ‘, ‘*‘)

$qtype = array(’S’, ’M’, ’T’, ‘0’)

if (!F_isAuthorizedUser(K_TABLE_MODULES, ‘module_id’, $module_id, ‘module_user_id’)) $show_answers = true

if ($expmode< 3) $sqlm = F_select_modules_sql($andmodwhere)

if ($rm=F_db_query($sqlm, $db)) else
Initial value:
{
exit
Definition: tce_show_result_user.php:51

 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy