2014-03-17 13:07:13 +00:00
{$videoFields = $Upload->load_video_fields($input)}
{$requiredFields = $videoFields[0]}
{$sharingOptions = $videoFields[1]}
{$dateAndLocation = $videoFields[2]}
2016-03-11 00:40:25 -08:00
{$custom_fields = $videoFields[4]}
2014-04-02 13:38:12 +00:00
< div class = "uploaderContainer clearfix" id = "uploaderContainer" >
2014-03-17 13:07:13 +00:00
< div class = "upload-area col-md-12" >
< div class = "fileUploaderForm" >
2014-04-02 11:15:23 +00:00
< div class = "dragDropContainer" id = "dragDrop" >
2014-12-09 08:10:55 +00:00
< span class = "upload-logo" > < / span >
< strong class = "block-title" > Drag & Drop Files Here< / strong >
2015-07-02 13:04:16 +00:00
< p > Video can be 1000 MB in size, 120 Min in Duration and of any common format You can also upload HD videos< / p >
2014-03-17 13:07:13 +00:00
< / div >
2014-04-02 11:15:23 +00:00
< div class = "selectButtonContainer" >
< a id = "selectFiles" href = "javascript:;" class = "btn btn-primary btn-lg selectFiles" > Select Videos< / a >
2014-12-09 08:10:55 +00:00
<!-- <p>Video can be 1000 MB in size, 120 Min in Duration and Any common format<br>You can also upload HD videos</p> -->
2014-03-17 13:07:13 +00:00
< / div >
2014-04-02 11:15:23 +00:00
<!-- <a id="uploadFiles" class="btn btn - success" href="javascript:;">Upload</a> -->
2014-03-17 13:07:13 +00:00
< / div >
2014-04-02 11:15:23 +00:00
< / div >
< / div >
< div id = "uploadDataContainer" class = "uploadDataContainer hidden" >
< div class = "uploadingProgressContainer" >
2014-12-09 12:37:06 +00:00
< div class = "alert alert-block alert-info" >
2015-05-27 11:41:49 +00:00
< p > < b > Selected Files< / b > Uploading in progress < small style = "color:white;" > < span id = "progressNumber" > 0%< / span > Complete of Video < span id = "videoNumber" > < / span > < / small > < / p >
2014-04-02 11:15:23 +00:00
< / div >
< / div >
2014-04-03 12:28:47 +00:00
< div class = "align-right hidden" id = "uploadMore" >
2014-04-02 11:47:54 +00:00
< a href = "#" class = "btn btn-primary uploadMoreVideos" id = "uploadMoreVideos" > Upload More Videos< / a >
< / div >
2014-04-02 11:15:23 +00:00
< div id = "files" > < / div >
< div id = "allUploadForms" class = "tab-content allUploadForms" > < / div >
2013-10-07 12:17:06 +00:00
< / div >
2015-11-17 13:40:59 +00:00
< form action = "#" id = "updateVideoInfoForm" class = "hidden" enctype = "multipart/form-data" >
2014-04-02 11:15:23 +00:00
< div class = "row" >
< div class = "col-md-8" >
< div class = "" id = "updateVideoInfo" >
< fieldset class = "" >
< legend class = "" > {$requiredFields.group_name}< / legend >
< / fieldset >
< div class = "requiredFields" >
2014-07-03 07:25:45 +00:00
{foreach $requiredFields.fields as $field}
2014-04-02 11:15:23 +00:00
< div class = "form-group" >
{$field.class='form-control'}
{$field.notShowSeprator='yes'}
{if $field.type == 'radiobutton'}
{$field.label_class='radio'}
{$field.class=''}
{$formObj->createField($field)}
{elseif $field.type == 'checkbox'}
{$categories = $field}
{else}
< label for = "{$field.id}" > {$field.title}< / label >
{$formObj->createField($field)}
{/if}
2014-03-17 13:07:13 +00:00
< / div >
2014-04-02 11:15:23 +00:00
{/foreach}
2015-11-17 13:40:59 +00:00
{ANCHOR place="upload_video_form"}
2014-04-02 11:15:23 +00:00
< / div >
2016-04-27 19:22:49 +05:00
{if $custom_flag & & $custom_fields!=""}
< div class = "formSection clear" >
< h4 > {$custom_fields.group_name} < i class = "glyphicon glyphicon-chevron-down pull-right" > < / i > < / h4 >
< div class = "sectionContent hidden" >
{foreach $custom_fields.fields as $field}
< div class = "form-group" >
{$field.class='form-control'}
{$field.notShowSeprator='yes'}
{if $field.type == 'radiobutton'}
{$field.label_class='radio'}
{$field.class=''}
{$formObj->createField($field)}
{elseif $field.type == 'checkbox'}
< h4 > {$field.title}< / h4 >
{$field.label_class='checkbox'}
{$field.class='checkbox'}
{$formObj->createField($field)}
{else}
< label for = "{$field.id}" > {$field.title}< / label >
{$formObj->createField($field)}
{/if}
< / div >
{/foreach}
< / div >
2016-03-11 00:40:25 -08:00
< / div >
2016-04-27 19:22:49 +05:00
{/if}
2014-04-02 11:15:23 +00:00
< div class = "formSection clear" >
< h4 > {$dateAndLocation.group_name} < i class = "glyphicon glyphicon-chevron-down pull-right" > < / i > < / h4 >
< div class = "sectionContent hidden" >
{foreach $dateAndLocation.fields as $field}
< div class = "form-group" >
{$field.class='form-control'}
{$field.notShowSeprator='yes'}
{if $field.type == 'radiobutton'}
{$field.label_class='radio'}
{$field.class=''}
{$formObj->createField($field)}
{elseif $field.type == 'checkbox'}
< h4 > {$field.title}< / h4 >
{$field.label_class='checkbox'}
{$field.class='checkbox'}
{$formObj->createField($field)}
{else}
< label for = "{$field.id}" > {$field.title}< / label >
{$formObj->createField($field)}
{/if}
< / div >
{/foreach}
2014-03-17 13:07:13 +00:00
< / div >
< / div >
2014-04-02 11:15:23 +00:00
< div class = "formSection clear" >
< h4 > {$sharingOptions.group_name}< i class = "glyphicon glyphicon-chevron-down pull-right" > < / i > < / h4 >
< div class = "sectionContent hidden" >
{foreach $sharingOptions.fields as $field}
< div class = "form-group" >
{$field.class='form-control'}
{$field.notShowSeprator='yes'}
{if $field.type == 'radiobutton'}
{$field.label_class='radio'}
{$field.class=''}
{$formObj->createField($field)}
{else}
< label for = "{$field.id}" > {$field.title}< / label >
{$formObj->createField($field)}
{/if}
2014-03-17 13:07:13 +00:00
< / div >
2014-04-02 11:15:23 +00:00
{/foreach}
2014-03-17 13:07:13 +00:00
< / div >
< / div >
2014-04-02 11:15:23 +00:00
< div class = "pad-bottom-sm text-right" >
2014-07-03 07:25:45 +00:00
< button class = "btn btn-primary btn-lg" id = "saveVideoDetails" > Submit Now< / button >
2014-04-02 11:15:23 +00:00
< / div >
2014-03-17 13:07:13 +00:00
< / div >
2014-04-02 11:15:23 +00:00
< / div >
< div class = "col-md-4 uploadFormSidebarDiv" >
< h4 > {$categories.title}< / h4 >
< small > {$categories.hint_1}< / small >
< div class = "categoriesContainer" >
{$categories.label_class='checkbox'}
{$categories.class='checkbox'}
{$formObj->createField($categories)}
< / div >
<!-- <div class="cb - box pad - bottom terms - contatiner">
< div class = "checkbox" >
< label class = "light" >
< input type = "checkbox" value = "" >
I have read and agree to submission policy
< / label >
< / div >
< div class = "checkbox" >
< label class = "light" >
< input type = "checkbox" value = "" >
I have read and agree to terms and conditions
< / label >
< / div >
< div class = "checkbox" >
< label class = "light" >
< input type = "checkbox" value = "" >
Remember these settings
< / label >
< / div >
< / div > -->
< / div >
2014-03-17 13:07:13 +00:00
< / div >
2014-04-02 11:15:23 +00:00
< / form >