Latex za izvoze: IZVOZ-51: Izpis odgovorov vseh ustreznih respondentov
This commit is contained in:
parent
22fc60f974
commit
3c2d86ab78
@ -89,6 +89,8 @@ class LatexSurvey{
|
||||
SurveySetting::getInstance()->Init($this->anketa);
|
||||
$this->export_data_show_recnum = SurveySetting::getInstance()->getSurveyMiscSetting('export_data_show_recnum'); //ali je potrebno pokazati recnum ob vsakem respondentu
|
||||
$this->exportDataPageBreak = (int)SurveySetting::getInstance()->getSurveyMiscSetting('export_data_PB'); //ali mora vsak izpis odgovorov respondenta zaceti na svoji strani
|
||||
|
||||
SurveyStatusProfiles::Init($this->anketa);
|
||||
|
||||
//if ( SurveyInfo::getInstance()->SurveyInit($this->anketa['id']) && $this->init())
|
||||
if ( SurveyInfo::getInstance()->SurveyInit($this->anketa) )
|
||||
@ -452,12 +454,13 @@ class LatexSurvey{
|
||||
global $lang, $site_url;
|
||||
$tex = '';
|
||||
$izbranStatusProfile = SurveyStatusProfiles :: getStatusAsQueryString();
|
||||
|
||||
$sqluString = "SELECT id, last_status, lurker, recnum FROM srv_user WHERE ank_id = '".$this->anketa."' ".$izbranStatusProfile." AND deleted='0' AND preview='0' ORDER BY recnum";
|
||||
//echo $sqluString;
|
||||
$sqlu = sisplet_query($sqluString);
|
||||
|
||||
$numOfUsers = mysqli_num_rows($sqlu); //stevilo respondentov
|
||||
|
||||
|
||||
if($numOfUsers > 300){
|
||||
$tex .= $lang['srv_export_all_respondent_data_error'].' ('.$numOfUsers.').';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user