PATH:
home
/
letacommog
/
letaweb
/
admin
/
widgets
/
views
/
modules
<div class="form row"> <h3><?php echo $this->title; ?></h3> <p class="description"><?php echo $this->description; ?></p> <?php echo CHtml::form('', 'post', array('name' => 'form'.$this->page_id, 'class'=>'form-horizontal', 'id' => 'form'.$this->page_id)); ?> <?php $defaultButtonClass = $this->getDefaultSkin('button', 0); $submitButtonSkin = $this->getSubModuleSkin('submit'); if ($submitButtonSkin == false) { $submitButtonSkin = $defaultButtonClass; } $resetButtonSkin = $this->getSubModuleSkin('reset'); if ($resetButtonSkin == false) { $resetButtonSkin = $defaultButtonClass; } ?> <div class="form-group"> <p class="text-success" id="form<?php echo $this->page_id ?>success"></p> <p class="text-danger" id="form<?php echo $this->page_id ?>error"></p> </div> <div class="form-group controls"> <input type="email" name="form<?php echo $this->page_id; ?>[email]" class=""/> <span class="module-button submit_button <?php echo $submitButtonSkin ?>"> <button class="button" type="submit"> <i class="font-left-icon"></i> <span class="button_text"><?php echo $this->submit_button; ?></span> <i class="font-right-icon"></i> </button> </span> </div> <div class="form-actions align-right"> </div> <?php echo CHtml::endForm(); ?> </div> <script type="text/javascript"> $(document).ready(function() { $('#form<?php echo $this->page_id ?>').submit(function(e) { e.preventDefault(); $.ajax({ url:'<?php echo Yii::app()->createUrl('builder/ajax/module_id/'.$this->page_id.'?'.http_build_query(array('module_data'=>$this->data))); ?>', data:$(this).serialize(), method:'POST', success: function(json) { $('#form<?php echo $this->page_id ?> .text-success, #form<?php echo $this->page_id ?> .text-danger').html(''); json = $.parseJSON(json); if(json['error'] != undefined) { $('#form<?php echo $this->page_id ?>error').html(json['error']); } else $('#form<?php echo $this->page_id ?>success').html('<?php echo $this->successmsg; ?>'); }, error: function(xhr, ajaxOptions, thrownError) { $('#form<?php echo $this->page_id ?> .text-success, #form<?php echo $this->page_id ?> .text-danger').html(''); alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } }); return false; }); //$('#form<?php echo $this->page_id ?>').forms({type:'contact',ownerEmail:'<?php echo $this->mailto; ?>',mailHandlerURL:'<?php echo Yii::app()->createUrl('builder/ajax/module_id/'.$this->page_id.'?'.http_build_query(array('module_data'=>$this->data))); ?>'}); }); </script>
[+]
..
[-] contactform.php
[edit]
[-] ihover.php
[edit]
[-] modal.php
[edit]
[-] news_slideshow.php
[edit]
[-] news_gallery_item1.php
[edit]
[-] facebookvideo.php
[edit]
[-] social_buttons.php
[edit]
[-] share_buttons_item0.php
[edit]
[-] audio_player.php
[edit]
[-] mini_news_list_item5.php
[edit]
[-] simplelist.php
[edit]
[+]
contactform
[-] spacer.php
[edit]
[-] newsdetail_item3.php
[edit]
[-] share_buttons.php
[edit]
[-] cycleslider.php
[edit]
[-] facebookcomment.php
[edit]
[-] video.php
[edit]
[-] linklist.php
[edit]
[-] newslist.php
[edit]
[-] newsdetail_item2.php
[edit]
[-] facebooklike.php
[edit]
[-] newscategory.php
[edit]
[-] newscomment.php
[edit]
[-] mini_news_list_item4.php
[edit]
[-] recentnews_item.php
[edit]
[-] news_gallery_item0.php
[edit]
[-] share_buttons_item1.php
[edit]
[-] share_buttons_item6.php
[edit]
[-] image.php
[edit]
[-] pricetable.php
[edit]
[-] gallery.php
[edit]
[-] menu_functions.php
[edit]
[-] youtube.php
[edit]
[-] newscomment_item.php
[edit]
[-] statcounter.php
[edit]
[-] icon.php
[edit]
[-] facebookpost.php
[edit]
[-] facebookpage.php
[edit]
[+]
script
[+]
productlist
[-] menu.php
[edit]
[-] flash.php
[edit]
[-] typedtext.php
[edit]
[-] news_monthlist.php
[edit]
[-] countdown.php
[edit]
[-] carousel.php
[edit]
[+]
newslist
[-] iframe.php
[edit]
[-] newsdetail_item1.php
[edit]
[-] linklist_functions.php
[edit]
[-] rssfeed.php
[edit]
[-] navbar.php
[edit]
[-] embed.php
[edit]
[-] infobox.php
[edit]
[-] common_functions.php
[edit]
[-] infobanner.php
[edit]
[-] html.php
[edit]
[-] share_buttons_item5.php
[edit]
[-] text.php
[edit]
[-] share_buttons_item2.php
[edit]
[-] newsdetail.php
[edit]
[-] title.php
[edit]
[-] mailchimp.php
[edit]
[-] recentnews.php
[edit]
[-] testmodule.php
[edit]
[-] slideshow.php
[edit]
[-] button.php
[edit]
[-] newscomment_form.php
[edit]
[-] googlemap.php
[edit]
[-] backtotop.php
[edit]
[-] alert.php
[edit]
[-] fancytext.php
[edit]
[-] tagcloud.php
[edit]
[-] facebooksend.php
[edit]
[-] ecommerce_top_bar.php
[edit]
[-] news_gallery_item2.php
[edit]
[-] share_buttons_item3.php
[edit]
[-] newscomment_reply_form.php
[edit]
[-] share_buttons_item4.php
[edit]
[-] infotable.php
[edit]
[-] progress_bar.php
[edit]
[-] newsdetail_item0.php
[edit]
[-] line.php
[edit]
[-] news_gallery.php
[edit]