?> <?php echo $form->error($model, 'pdf_en'); ?> </div> <div class="row"> <?php echo $form->labelEx($model, 'pdf_th'); ?> <br/> <?php if (!$model->isNewRecord) { echo $model->pdf_th . " "; if ($model->pdf_th) { echo cHtml::link('view', '../../uploads/documents/' . $model->pdf_th); } } ?> <br /> <?php echo $form->fileField($model, 'pdf_th', array('style' => 'border: none;box-shadow:none')); ?> <?php echo $form->error($model, 'pdf_th'); ?> </div> <div class="row"> <?php echo $form->labelEx($model, 'last_update');
<br /> <?php echo $form->fileField($model, 'pdf_en', array('style' => 'border: none;box-shadow:none')); ?> <?php echo $form->error($model, 'pdf_en'); ?> </div> <div class="row"><br/> <label>อัพโหลดไฟล์ pdf<br/>(ภาษาไทย)</label><br/> <?php if (!$model->isNewRecord) { echo $model->pdf_th . " "; if ($model->pdf_th) { echo cHtml::link('ดูไฟล์ต้นฉบับ', '../../uploads/news/pdf/' . $model->pdf_th); } } ?> <br /> <?php echo $form->fileField($model, 'pdf_th', array('style' => 'border: none;box-shadow:none')); ?> <?php echo $form->error($model, 'pdf_th'); ?> </div> <div class="row"> <?php echo $form->labelEx($model, 'create_date');
?> <?php echo $form->error($model, 'pdf_en'); ?> </div> <div class="row"> <?php echo $form->labelEx($model, 'pdf_th'); ?> <br/> <?php if (!$model->isNewRecord) { echo $model->pdf_th . " "; if ($model->pdf_th) { echo cHtml::link('view', '../../uploads/student_services/' . $model->pdf_th); } } ?> <br /> <?php echo $form->fileField($model, 'pdf_th', array('style' => 'border: none;box-shadow:none')); ?> <?php echo $form->error($model, 'pdf_th'); ?> </div> <div class="row"> <?php echo $form->labelEx($model, 'last_update');
<?php echo $form->error($model,'vdo_link'); ?> </div> <div class="row buttons"><br/> </div> <div class="row"><br/> <label>อัพโหลดไฟล์ pdf<br/>(ภาษาอังกฤษ)</label><br/> <?php if(!$model->isNewRecord) {echo $model->pdf_en." "; if($model->pdf_en) {echo cHtml::link('ดูไฟล์ต้นฉบับ', '../../uploads/news/pdf/'.$model->pdf_en);} }?><br /> <?php echo $form->fileField($model,'pdf_en',array('style'=>'border: none;box-shadow:none')); ?> <?php echo $form->error($model,'pdf_en'); ?> </div> <div class="row"><br/> <label>อัพโหลดไฟล์ pdf<br/>(ภาษาไทย)</label><br/> <?php if(!$model->isNewRecord) {echo $model->pdf_th." "; if($model->pdf_th) {echo cHtml::link('ดูไฟล์ต้นฉบับ', '../../uploads/news/pdf/'.$model->pdf_th);} }?><br /> <?php echo $form->fileField($model,'pdf_th',array('style'=>'border: none;box-shadow:none')); ?> <?php echo $form->error($model,'pdf_th'); ?> </div> <div class="row"> <?php echo $form->labelEx($model,'create_date'); ?> <?php list($year,$month,$day) = explode('-',$model->create_date); $crate_date = $day.'/'.$month.'/'.$year; $this->widget('zii.widgets.jui.CJuiDatePicker', array( 'model' => $model, 'attribute' => 'create_date', 'language'=>'th', 'options'=>array( 'showAnim'=>'fold',
echo $form->fileField($model, 'pdf_en', array('style' => 'border: none;box-shadow:none')); ?> <?php echo $form->error($model, 'pdf_en'); ?> </div> <div class="row"> <?php echo $form->labelEx($model, 'pdf_th'); ?> <?php if (!$model->isNewRecord) { echo $model->pdf_th . " "; if ($model->pdf_th) { echo cHtml::link('view', '../../uploads/pdf/' . $model->pdf_th); } } ?> <br /> <?php echo $form->fileField($model, 'pdf_th', array('style' => 'border: none;box-shadow:none')); ?> <?php echo $form->error($model, 'pdf_th'); ?> </div> <div class="row"> <?php echo $form->labelEx($model, 'images');