function content_566fe799964dc6_11999449($_smarty_tpl)
 {
     if (!is_callable('smarty_modifier_stripslashes')) {
         include '/var/www/flock/Smarty/libs/plugins/modifier.stripslashes.php';
     }
     echo smarty_modifier_stripslashes($_smarty_tpl->tpl_vars['formapp']->value);
 }
    function content_56657127efae42_71407498($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_stripslashes')) {
            include '/var/www/flockmails-refined/Smarty/libs/plugins/modifier.stripslashes.php';
        }
        ?>
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<?php 
        echo $_smarty_tpl->getSubTemplate("inner_meta.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Meta"), 0);
        ?>

</head>
<body>
    <!--[if lt IE 7]>
        <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
    <![endif]-->
    <section class="commen-base">
    	<?php 
        echo $_smarty_tpl->getSubTemplate("dashboard_left.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Dashboard Left"), 0);
        ?>

		 <!-- flock-sidebar -->
        <div class="right-panel">
        	<div class="container-fluid">
            	<div class="commen-heading">
                	<h2>Custom Templates</h2>
                </div><!-- commen-hading -->
                <div class="cs-base">
                        <form action="" method="post" name="searchfrm" id="adminform">
                            <div class="cs-filter">
                                <div class="row">
                        	<div class="col-sm-2 col-md-1">
                            	<p>Filter</p>
                                </div>
                                <div class="col-sm-10 col-md-3">
                            	<input type="text" class="form-control commen-text-feild" name="keyword" value="<?php 
        echo $_REQUEST['keyword'];
        ?>
" placeholder="Keyword">
                                </div>

                                <div class="col-md-12 visible-md"></div>
                                <div class="col-sm-6 col-lg-1">
                            	<input type="submit"  name="search" class="apply-bt" value="Apply">
                                </div>
                                </div>
                        </div>
                        </form>
                    <div class="compaine-content">
						<?php 
        if ($_smarty_tpl->tpl_vars['errorString']->value != '') {
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['errorString']->value;
            ?>
 <?php 
        }
        ?>
					<?php 
        if ($_REQUEST['confirmMessage'] != '') {
            ?>
							<span style="text-align:center; color:#FF0000; font-size:12px;">
							<?php 
            echo $_REQUEST['confirmMessage'];
            ?>

						</span>		
						<?php 
        }
        ?>
						
                    	<div class="cc-top">
                            <a  href="createtemplates.php" class="cm-create">Create New</a>
							<?php 
        if ($_smarty_tpl->tpl_vars['listCnt']->value > 0) {
            ?>
                            <a href="#" class="cm-delete" onClick="javascript:document.contacts.submit();">Delete</a>
							<?php 
        }
        ?>
                        </div><!-- cc-top -->
						<?php 
        if ($_smarty_tpl->tpl_vars['listCnt']->value > 0) {
            ?>
						
						<div class="cc-tbr-head">
                        	<div class="row">
                            	<div class="col-lg-5">
                                	<h5>Email Address</h5>
                                </div>
                                <div class="col-lg-2">
                                	<h5>Added DATE</h5>
                                </div>
                                <div class="col-lg-2">
                                	<h5>Email Format</h5>
                                </div>
                                <div class="col-lg-3">
                                	<h5>Actions</h5>
                                </div>
                            </div>
                        </div>
						
						
						<div class="cc-tbr-div">
                        	<ul>
							<?php 
            $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['item']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['contacts']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
                $_smarty_tpl->tpl_vars['item']->_loop = true;
                ?>
                            	<li>
                                    <div class="row">
                                        <div class="col-lg-5">
                                            <div class="tbr-first tbr-height">
                                                <h5><?php 
                echo smarty_modifier_stripslashes($_smarty_tpl->tpl_vars['item']->value['template_name']);
                ?>
</h5>
                                            </div>
                                        </div>
                                        <div class="col-lg-2">
                                            <div class="tbr-second tbr-height">
                                                <p><?php 
                echo $_smarty_tpl->tpl_vars['item']->value['template_created_date'];
                ?>
</p>
                                            </div>
                                        </div>
                                        <div class="col-lg-2">
                                            <div class="tbr-second tbr-height">
                                                <p><?php 
                if ($_smarty_tpl->tpl_vars['item']->value['template_format'] == 'h') {
                    ?>
															HTML
														<?php 
                } elseif ($_smarty_tpl->tpl_vars['item']->value['template_format'] == 'ht') {
                    ?>
															HTML & Text
															<?php 
                } else {
                    ?>
															Text
															<?php 
                }
                ?>
</p>
                                            </div>
                                        </div>
                                        <div class="col-lg-3">
                                            <div class="tbr-button-div">
											<div class="visible-lg" style="padding-top:6px;"></div>
											<a href="<?php 
                echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
                ?>
edit_contact.php?SubscriberId=<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['subscriber_id'];
                ?>
&list_id=<?php 
                echo $_REQUEST['list_id'];
                ?>
" class="bt-edit">Edit</a>
												
											<a href="<?php 
                echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
                ?>
contactlist_contacts.php?action=delete&delid=<?php 
                echo base64_encode(base64_encode($_smarty_tpl->tpl_vars['item']->value['subscriber_id']));
                ?>
&list_id=<?php 
                echo $_REQUEST['list_id'];
                ?>
" onClick="return confirm('Are you sure, you want to delete this list?')" class="bt-delete"></a>
													
                                              </div>
                                        </div>
                                    </div>
                                </li>
                            <?php 
            }
            ?>
  
							  
                            </ul>
                        </div>
						
						<?php 
        } else {
            ?>
							 <div class="cc-list" style=" padding:12px 12px; text-align:center; color:#FF0000; ">
							 No contactlist added yet!!
							 </div>
						<?php 
        }
        ?>
                    </div><!-- compaine-content -->
					
					 <?php 
        if ($_smarty_tpl->tpl_vars['listCnt']->value > 0) {
            ?>
					 <div class="pagination">
							<?php 
            echo $_smarty_tpl->tpl_vars['pager']->value->showPager(1, 1, 1);
            ?>

					</div>     
					  <?php 
        }
        ?>
	 
					
                </div><!-- cs-base -->
            </div><!-- right-panel -->
        </div>
    </section><!-- commen-base -->
	<?php 
        echo $_smarty_tpl->getSubTemplate("inner_js.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Inner page js"), 0);
        ?>

	
<?php 
        echo $_smarty_tpl->getSubTemplate("end.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "End of the page"), 0);
    }
    function content_566f9fa98487b4_98999617($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_stripslashes')) {
            include '/var/www/flock/Smarty/libs/plugins/modifier.stripslashes.php';
        }
        ?>
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
		<title><?php 
        echo $_smarty_tpl->tpl_vars['metaDetails']->value['page_title'];
        ?>
</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <link rel="stylesheet" href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
css/bootstrap.min.css">

        <link rel="stylesheet" href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
css/bootstrap-theme.min.css">
        
        
        <!-- Owl Carousel Assets -->
        <link href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
css/owl.carousel.css" rel="stylesheet">
        
        <!-- dont use -->
        <link href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
css/owl.theme.css" rel="stylesheet">
        <!-- dont use -->
        <link href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
css/owl.transitions.css" rel="stylesheet">
        
		<!-- fancy box -->
		<link href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
css/jquery.fancybox.css" rel="stylesheet" >
		
		<link href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
css/main.css" rel="stylesheet" >
        <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>
		
		
		
		<script type="text/javascript">
		var a = Math.ceil(Math.random() * 10);
		var b = Math.ceil(Math.random() * 10);
		var c = a + b;
		
		
		
		function DrawBotBoot()
		{
		document.write("<a>What is "+ a + " + " + b +" ? </a>");
		document.write("<input id='BotBootInput'  name='BotBootInput'  type='text' class='form-control space'  />");
		}
		
		
		function ValidBotBoot(){
		var d = document.getElementById('BotBootInput').value;
		if (d == c)
		{
			document.getElementById('botvalue').value=d;
			return true;
		}
		else
		{
		alert('Wrong secutiry code');
		return false
		}
		}
	
	function ValidateForm()
	{
		if(document.contactfrm.fullname.value=="")
		  {
		   alert("Enter yout name");
		   return false;
		  }
		 else  if(document.contactfrm.email.value=="")
		  {
		   alert("Enter the email");
		   return false;
		  }
		  else if (echeck(document.contactfrm.email.value)==false)
		  {
				return false
			} 
		 else  if(document.contactfrm.comments.value=="")
		  {
		   alert("Enter the comment");
		   return false;
		  }
		else if(document.contactfrm.BotBootInput.value=="")
		  {
		   alert("Enter the security code");
		   return false;
		  }
		  else if (ValidBotBoot()==false)
		  {
			return false;
		  }
		  else
		  {
			return true;
		  }
	}
	
	
	
	/// email validation function.
		function echeck(str) {
	
			var at="@"
			var dot="."
			var lat=str.indexOf(at)
			var lstr=str.length
			var ldot=str.indexOf(dot)
			if (str.indexOf(at)==-1){
			   alert("Invalid E-mail ID")
			   return false
			}
	
			if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
			   alert("Invalid E-mail ID")
			   return false
			}
	
			if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
				alert("Invalid E-mail ID")
				return false
			}
	
			 if (str.indexOf(at,(lat+1))!=-1){
				alert("Invalid E-mail ID")
				return false
			 }
	
			 if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
				alert("Invalid E-mail ID")
				return false
			 }
	
			 if (str.indexOf(dot,(lat+2))==-1){
				alert("Invalid E-mail ID")
				return false
			 }
			
			 if (str.indexOf(" ")!=-1){
				alert("Invalid E-mail ID")
				return false
			 }
	
			 return true					
		}
		
	</script>	
    </head>
    <body>
        <!--[if lt IE 7]>
            <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
        <![endif]-->
    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="top-line"></div>
  
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand logo" href="#top-section"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/logo.png" class="img-responsive" alt="logo"></a>
        </div>
        <div class="navbar-collapse collapse">
        <div class="nave-main">
          <ul>
		  	<li class="active"><a href=""> HOME </a></li>
          	<li><a href="#Section-1"> FEATURES </a></li>
            <li><a href="#Section-2">GALLERY</a></li>
            <li><a href="#Section-3">PRICING</a></li>
            <li><a href="#Section-4">ABOUT</a></li>
            <li><a href="#foot-sec">Contact</a></li>
          </ul>
          
		  
		  <a href="register.php" class="signup">Sign Up </a>
          <a href="login.php" class="login">Login</a>
		  
           
		  
          </div>
          
        </div><!--/.navbar-collapse -->
      
    </div>
    
    
     <header id="top-section">
			
            <div class="slide-bg">
            	<div class="slide-bg-main">
                	<div class="container">
                    	<div class="row">
                            <div class="col-sm-6 ">
                                <div class="slide-left">
                                    <h2>The <span>Best</span></h2>
                                    <h1> EMAIL MARKETING <span>TOOL</span></h1>
                                    <h3>Marketing made easy, sending mails easier!</h3>
                                    <a>Easily import/export contacts</a>
                                    <a>Build re-usable template</a>
                                    <a>Real time delivery</a>
                                </div><!-- slide-left -->
                            </div><!-- col-sm-6 -->
                    
                            <div class="col-sm-5 pull-right ">
                                <div class="slide-right">
                                    <a>Start off your journey with <span>Flock Mails!</span></a>
									<form name="getstform" method="post" action="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
register.php">
                                    <input type="submit" name="getstarted" value="Get Started Now" class="get-started">
									</form>
                                    <p>Be a part of our <span>650,000</span> happy Flock Mail users</p>
                                </div><!-- slide-right -->
                            </div><!-- col-sm-5 -->
                        </div>
                        <div class="row">
                            <div class="col-sm-8 col-xs-offset-2">
                                <div id="slide">
                                    <div id="owl-slide" class="owl-carousel owl-theme">
                                      <div class="item"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/1.jpg"></div>
                                      <div class="item"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/2.jpg"></div>
                                      <div class="item"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/3.jpg"></div>
                                      <div class="item"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/4.jpg"></div>
                                      <div class="item"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/5.jpg"></div>
                                      <div class="item"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/6.jpg"></div>
                                      <div class="item"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/7.jpg"></div>
                                    </div>
                                </div>
                            </div> 
                        </div> 
                    </div>
                    <div class="clearfix"></div>
                </div><!-- slide-bg-main -->
            </div><!-- slide-bg -->
            
     </header><!-- header -->

        <!--  SECTION-1 -->  
    <section id="Section-1">
		<div class="content-col">
        	<h2>Features</h2>
            <h3>Create newsletters & email campaigns with ease</h3>
            <p>An e-mail marketing software, Flock Mails was designed to help you put your business back on track.</p>
            
            <div class="tab-main">
            	<!-- the tabs -->
                <ul class="tabs responsive">
                    <li><a href="#" class="img-foc1"><span>Create and send great looking emails</span></a></li>
                    <li><a href="#" class="img-foc2"><span>Generate different types of Forms</span></a></li>
                    <li><a href="#" class="img-foc3"><span>Private Label Email Delivery</span></a></li>
                    <li><a href="#" class="img-foc4"><span>Statistics with interactive charts</span></a></li>
                </ul>
                 
                <!-- tab "panes" -->
                <div class="panes">
                    <div>
                    	<div class="item">
							<div class="tb-slide1">
								<div class="col-sm-5 col-xs-offset-7">
									<h3>Create and send great looking emails</h3>
									<p>
										It doesn't take long to send the mail you want! With Flock Mails, be ready to send effective marketing mails within a matter of munitues, thanks to our in-built professional templates that cater to all your business needs. The easy to use FckEditor allows you to check and preview your content while modifying it to look better, other features like autoresponders help you cater to a greater niche of people.
									</p>
								</div><!-- col-sm-5 col-xs-offset-7 -->
							</div><!-- tb-slide1 -->
						  </div>
                    </div>
                    <div>
						<div class="item">
							<div class="tb-slide1">
								<div class="col-sm-5 col-xs-offset-7">
									<h3>Generate different types of Forms</h3>
									<p>
										You would need to generate forms when you run your campaign and Flock Mails come to the rescue here too. Our Forms have all the necessary features including Subscribe and Unsubscribe buttons, so that you could reach across to potential customers without sounding intrusive. More, all email contacts are registered automatically on the Flock Mail contact lists - to help you manage things better!
									</p>
								</div><!-- col-sm-5 col-xs-offset-7 -->
							</div><!-- tb-slide1 -->
						  </div>
							  
						</div>
                    <div>
						<div class="item">
							<div class="tb-slide1">
								<div class="col-sm-5 col-xs-offset-7">
									<h3>Private Label Email Delivery</h3>
									<p>
										Well, as a business you are definitely trying to promote your own brand and no others'! This is why our emails will have your brand logo sent along with it and nothing else. Don't worry, no links, pictures or logos outside your wish will be allowed in the mails you send.
									</p>
								</div><!-- col-sm-5 col-xs-offset-7 -->
							</div><!-- tb-slide1 -->
						  </div>
					</div>
                    <div>
						<div class="item">
							<div class="tb-slide1">
								<div class="col-sm-5 col-xs-offset-7">
									<h3>Statistics with interactive charts</h3>
									<p>
										Understanding the customers' needs is one of the first benchmarks to success. Our analytics include complete analyzing, tracking and reporting which gives you an insight into things like none before. Get to know what worked and what didn't and understand how you could do better! Customer behaviour goes a long way to know how successful a product would be, after all! 
									</p>
								</div><!-- col-sm-5 col-xs-offset-7 -->
							</div><!-- tb-slide1 -->
						  </div>
					</div>
                </div>
                <div class="clearfix"></div>
            </div><!-- tab-main -->
        </div><!-- content-col -->
    </section>
    <!-- Section-1 -->
    
    <!-- / SECTION-1 -->

        
    <!-- SECTION-2 -->
    <section id="Section-2">
    	<div class="content-co2">
    		<h2>Gallery</h2>
    		<h3>Beautiful Email Templates</h3>
    		<p>Professionally Designed Email Templates from Flock Mails Team, great looking email templates!</p>
			<div class="overlaybase">
    			<div class="gallery owl-carousel">
    			<div class="galery-item">
    				<div class="col-xs-2">
    					<div class="gla-thumb">
    						<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t1.png" rel="gallery-1" class="img-th">
                            	<div class="hover">
                                	<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom">
                                </div><!-- hover -->
                                <div class="thumb">
                                	<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t1.png" class="img-responsive" alt="1">
                                </div>
    						</a>   						
						</div><!-- gla-thumb -->
    				</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t2.png" class="img-th" rel="gallery-1">
								<div class="hover">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom">
								</div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t2.png" class="img-responsive" alt="1">
								</div>
							</a>							
						</div><!-- gla-thumb -->
					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">					
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t3.png" class="img-th" rel="gallery-1">
								<div class="hover">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom">
								</div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t3.png" class="img-responsive" alt="1">
								</div>
							</a>							
						</div><!-- gla-thumb -->  
					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">  
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t4.png" class="img-th" rel="gallery-1">
								<div class="hover">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom">
								</div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t4.png" class="img-responsive" alt="1">
								</div>
							</a>							
						<!-- gla-thumb -->					
						</div><!-- col-xs-2 -->
					</div>
					<div class="col-xs-2">
						<div class="gla-thumb">
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t5.png" class="img-th" rel="gallery-1">
								<div class="hover"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom"></div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t5.png" class="img-responsive" alt="1">
								</div>

							</a>							
						</div><!-- gla-thumb -->

					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">				
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t6.png" class="img-th" rel="gallery-1">
								<div class="hover"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom"></div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t6.png" class="img-responsive" alt="1">
								</div>
							</a>							
						</div><!-- gla-thumb -->
    
					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">					
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t7.png" class="img-th" rel="gallery-1">
								<div class="hover"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom"></div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t7.png" class="img-responsive" alt="1">
								</div>
							</a>							
						</div><!-- gla-thumb -->
					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">					
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t8.png" class="img-th" rel="gallery-1">
								<div class="hover"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom"></div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t8.png" class="img-responsive" alt="1">
								</div>
							</a>							
						</div><!-- gla-thumb -->
					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">				
							<a href="#" class="img-th" rel="gallery-1">
								<div class="hover"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom"></div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t9.png" class="img-responsive" alt="1">
								</div>
							</a>					
						</div><!-- gla-thumb -->
					
					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">				
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t10.png" class="img-th" rel="gallery-1">
								<div class="hover"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom"></div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t10.png" class="img-responsive" alt="1">
								</div>
							</a>							
						</div><!-- gla-thumb -->
					
					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">					
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t11.png" class="img-th" rel="gallery-1">
								<div class="hover"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom"></div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t11.png" class="img-responsive" alt="1">
								</div>
							</a>
						</div><!-- gla-thumb -->
					
					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">					
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t12.png" class="img-th" rel="gallery-1">
								<div class="hover"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom"></div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t12.png" class="img-responsive" alt="1">
								</div>
							</a>
						</div><!-- gla-thumb -->
					</div><!-- col-xs-2 -->
   
    
					<div class="clearfix"></div> 
				</div>
				<div class="galery-item">
    				<div class="col-xs-2">
    					<div class="gla-thumb">
    						<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t1.png" class="img-th" rel="gallery-1">
                            	<div class="hover">
                                	<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom">
                                </div><!-- hover -->
                                <div class="thumb">
                                	<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t1.png" class="img-responsive" alt="1">
                                </div>
    						</a>   						
						</div><!-- gla-thumb -->
    				</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t2.png" class="img-th" rel="gallery-1">
								<div class="hover">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom">
								</div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t2.png" class="img-responsive" alt="1">
								</div>
							</a>
						</div><!-- gla-thumb -->
					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">					
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t3.png" class="img-th" rel="gallery-1">
								<div class="hover">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom">
								</div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t3.png" class="img-responsive" alt="1">
								</div>
							</a>
						</div><!-- gla-thumb -->  
					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">  
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t4.png" class="img-th" rel="gallery-1">
								<div class="hover">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom">
								</div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t4.png" class="img-responsive" alt="1">
								</div>
							</a>
						<!-- gla-thumb -->					
						</div><!-- col-xs-2 -->
					</div>
					<div class="col-xs-2">
						<div class="gla-thumb">
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t5.png" class="img-th" rel="gallery-1">
								<div class="hover"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom"></div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t5.png" class="img-responsive" alt="1">
								</div>
							</a>
						</div><!-- gla-thumb -->

					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">
					
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t6.png" class="img-th" rel="gallery-1">
								<div class="hover"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom"></div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t6.png" class="img-responsive" alt="1">
								</div>
							</a>
							
						</div><!-- gla-thumb -->
    
					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">
					
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t7.png" class="img-th" rel="gallery-1">
								<div class="hover"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom"></div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t7.png" class="img-responsive" alt="1">
								</div>
							</a>
							
						</div><!-- gla-thumb -->
					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">
					
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t8.png" class="img-th" rel="gallery-1">
								<div class="hover"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom"></div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t8.png" class="img-responsive" alt="1">
								</div>
							</a>
						</div><!-- gla-thumb -->
					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">
					
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t9.png" class="img-th" rel="gallery-1">
								<div class="hover"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom"></div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t9.png" class="img-responsive" alt="1">
								</div>
							</a>
							
						</div><!-- gla-thumb -->
					
					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">
					
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t10.png" class="img-th" rel="gallery-1">
								<div class="hover"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom"></div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t10.png" class="img-responsive" alt="1">
								</div>
							</a>
							
						</div><!-- gla-thumb -->
					
					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">
					
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t11.png" class="img-th" rel="gallery-1">
								<div class="hover"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom"></div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t11.png" class="img-responsive" alt="1">
								</div>
							</a>
						</div><!-- gla-thumb -->
					
					</div><!-- col-xs-2 -->
					<div class="col-xs-2">
						<div class="gla-thumb">
						
							<a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t12.png" class="img-th" rel="gallery-1">
								<div class="hover"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/zoom.png" class=" img-responsive" alt="zoom"></div><!-- hover -->
								<div class="thumb">
									<img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/gallery-t12.png" class="img-responsive" alt="1">
								</div>
							</a>
						</div><!-- gla-thumb -->
					</div><!-- col-xs-2 -->
   
    
					<div class="clearfix"></div> 
				</div>
			</div><!-- gallery -->
			<span class="overlay"></span>
    		</div>
    
    <!--<div class="gallery">
    
		<div class="clearfix"></div>
    </div> gallery -->
    <div class="gallery-ft">
    <p>Customize one of our designer email templates or create your own email design from scratch.</p>
    <button class="view-all">View All Templates</button>
    </div><!-- gallery-ft -->
    
    </div><!-- content-co2 -->
    </section> 
    <!-- / SECTION-2 -->
    
        <!-- SECTION-3 -->
<section id="Section-3">
		<div class="pricing-bg">
        	<h2>Pricing</h2>
            <h3>Affordable Email Marketing... for Every One</h3>
            <p>Whether you're a frequent sender or just starting out, we offer a range of options that suit the way you send.</p>
            <div class="pr-table">
            	<div class="container">
                    <div class="row">
                      <?php 
        if ($_smarty_tpl->tpl_vars['packageCnt']->value > 0) {
            ?>
						<?php 
            $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['item']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['packages']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
                $_smarty_tpl->tpl_vars['item']->_loop = true;
                ?>
                       	 <div class="col-md-3 col-sm-6">
                            <div class="price">
                                <div class="price-top">
                                    
                                    <div class="range"><sub>$</sub><?php 
                echo smarty_modifier_stripslashes($_smarty_tpl->tpl_vars['item']->value['package_amount']);
                ?>
  <sup>/mo</sup></div><!-- range -->
                                   
                                </div><!-- price-top -->
                                    <h4><?php 
                echo smarty_modifier_stripslashes($_smarty_tpl->tpl_vars['item']->value['package_name']);
                ?>
</h4>
                                    <ul>
                                        <li class="li-first">
                                            up to <span><?php 
                echo smarty_modifier_stripslashes($_smarty_tpl->tpl_vars['item']->value['max_no_of_subscribers']);
                ?>
</span> subscribers<br>
                                            for <span><?php 
                echo smarty_modifier_stripslashes($_smarty_tpl->tpl_vars['item']->value['total_no_of_days']);
                ?>
</span>  days 
											
											<?php 
                if ($_smarty_tpl->tpl_vars['item']->value['no_of_emails'] >= 100000) {
                    ?>
											Unlimited
											<?php 
                } else {
                    ?>
											<?php 
                    echo smarty_modifier_stripslashes($_smarty_tpl->tpl_vars['item']->value['no_of_emails']);
                    ?>

											<?php 
                }
                ?>
											 Mails 
                                        </li>
                                        <li>No Setup fee</li>
                                        <li>Free Newsletter Templates</li>
                                        <li>User Friendly Interface</li>
                                        <li>Tracking and Reporting</li>
                                    </ul>
									<form name="getstform<?php 
                echo smarty_modifier_stripslashes($_smarty_tpl->tpl_vars['item']->value['package_setting_id']);
                ?>
" method="post" action="<?php 
                echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
                ?>
register.php">
                                    <input type="submit" name="started" value="Get Started" class="started">
									</form>
                            </div><!-- price -->
                        </div>
						
						<?php 
            }
            ?>
						<?php 
        }
        ?>


						
                    </div>
                </div>
            </div><!-- pr-table -->
        </div><!-- pricing-bg -->
    </section>
    <!-- / SECTION-3 -->
    
          <!-- SECTION-4 -->
    <section id="Section-4">
		<div class="content-co2">
        	<h2>About</h2>
            <h3>Flock Mails</h3>
            <p>As a bulk email marketing software, Flock Mails changes exactly this notion</p>
            <div class="container">
            <div class="row">
                    <div class="col-sm-7 col-xs-offset-4">
                        <p>
                            An e-mail marketing software, Flock Mails was designed to help you put your business back on track. Flock Mails doesn't just help you in carrying out email marketing campaigns but also give you the edge you need. It's simple actually. People are fed up receiving unsolicited emails in their inboxes and rarely check emails which they find are not appealing to them.
                        </p>
                        <p>
                        As a bulk email marketing software, Flock Mails changes exactly this notion. Be it the easy to use interface, the amazing tracking features available or the sophisticated nuances required in a comprehensive email marketing program, 
        Flock Mails has it all. Let the Marketing campaign begin!
                        </p>
                    </div><!-- col-sm-8 -->
                </div>
            </div>
        </div><!-- content-co2 -->
        
        <div class="green">
        	<div class="container">
            	<div class="row">
                    <div class="col-sm-12">
                        <div id="slide3">
                            <div id="owl-slide3" class="owl-carousel owl-theme">
                     
                              <div class="item">
                                <div class="col-sm-3 col-xs-offset-1">
                                    <div class="testi-img">
                                        
                                    </div><!-- testi-img -->
                                    <div class="testi-img-in">
                                            <img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/test2.png" class="img-responsive" alt="testi1">
                                    </div><!-- testi-img-in -->
                                </div><!-- col-sm-3 -->
                                
                                <div class="col-sm-8">
                                    <h3>Trusted by over 100,000 happy customers</h3>
                                    <div class="test-bg">
                                        <p>
                                           Flockmails provided a way to reach out to new customers and old ones without tarnishing the prestige of our brand.....
                                        </p>
                                        <h5>Clint Stover</h5>
                                    </div><!-- test-bg -->
                                </div><!-- col-sm-8 -->
                              </div>
                              
                              <div class="item">
                                <div class="col-sm-3 col-xs-offset-1">
                                    <div class="testi-img">
                                        
                                    </div><!-- testi-img -->
                                    <div class="testi-img-in">
                                            <img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/test1.png" class="img-responsive" alt="testi1">
                                    </div><!-- testi-img-in -->
                                </div><!-- col-sm-3 -->
                                
                                <div class="col-sm-8">
                                    <h3>Trusted by over 100,000 happy customers</h3>
                                    <div class="test-bg">
                                        <p>
                                            I have been using Flockmails for a few months now and am completely satisfied with your service! It's very user friendly and my email campaigns have been very successful.....
                                        </p>
                                        <h5>Andrea Marley</h5>
                                    </div><!-- test-bg -->
                                </div><!-- col-sm-8 -->
                              </div>
							  
							  
							  <div class="item">
                                <div class="col-sm-3 col-xs-offset-1">
                                    <div class="testi-img">
                                        
                                    </div><!-- testi-img -->
                                    <div class="testi-img-in">
                                            <img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/test2.png" class="img-responsive" alt="testi1">
                                    </div><!-- testi-img-in -->
                                </div><!-- col-sm-3 -->
                                
                                <div class="col-sm-8">
                                    <h3>Trusted by over 100,000 happy customers</h3>
                                    <div class="test-bg">
                                        <p>
                                          Flockmails have performed beyond our expectations. They held our hands as true partner in our email newsletter business. .......
                                        </p>
                                        <h5>Stephen Amell</h5>
                                    </div><!-- test-bg -->
                                </div><!-- col-sm-8 -->
                              </div>
							  
							  
							  <div class="item">
                                <div class="col-sm-3 col-xs-offset-1">
                                    <div class="testi-img">
                                        
                                    </div><!-- testi-img -->
                                    <div class="testi-img-in">
                                            <img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/test3.png" class="img-responsive" alt="testi1">
                                    </div><!-- testi-img-in -->
                                </div><!-- col-sm-3 -->
                                
                                <div class="col-sm-8">
                                    <h3>Trusted by over 100,000 happy customers</h3>
                                    <div class="test-bg">
                                        <p>
                                           I have had great success with Flockmails! The email campaigns elicited such a great response in no time. The people at Flockmails are highly responsive and nice to work with.....
                                        </p>
                                        <h5>Thelma Cruse</h5>
                                    </div><!-- test-bg -->
                                </div><!-- col-sm-8 -->
                              </div>
                         
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div><!-- green -->
    </section> 
    <!-- / SECTION-4 -->
    
    
    

    
    <!-- FOOTER -->
    <footer id="foot-sec">
		<form name="contactfrm" method="post" action="" onSubmit="return ValidateForm();">
		<div class="content-co2">
        	<h2>Contact Us</h2>
            <h3>Want to learn more about Smart Marketing?</h3>
            <p>Fill out the short form below to get in touch with the Flockmails team.</p>
            <div class="container">
            	<div class="row">
                    <div class="col-sm-6">
                        
                          <div class="form-group">
                            <input type="text" class="form-control"  name="fullname" placeholder="Name *">
                          </div>
                          <div class="form-group">
                        
                            <input type="text" class="form-control"  name="email" placeholder="Email Address *">
                          </div>
                          <div class="form-group">
                        
                            <input type="text" class="form-control" name="phone" placeholder="Telephone Number">
                          </div>
                       
                    </div><!-- col-sm-6 -->
                    <div class="col-sm-6">
                        
                          <div class="form-group">
                            <script type="text/javascript">DrawBotBoot()</script> 
							<input type="hidden" name="botvalue" id="botvalue" value="">  
                          </div>
                          
                          <textarea class="form-control" name="comments" rows="5">Message *</textarea>
                        
                    </div><!-- col-sm-6 -->
                </div>
            </div>
            <div class="btn-contact">
					<input type="hidden" name="sendcontact" value="1">
				  <input type="submit"  name="submitcontact" class="view-all"  value="SUBMIT Your Message"/>
            </div>
            
        </div><!-- content-co2 -->
		</form>
        <div class="fot-col">
        	<div class="container">
            	<div class="row">
                    <div class="col-sm-6 con-left">
                        <div class="ft-logo"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/ft-logo.png" alt="ft-logo"></div>
                            <div class="address">
                                <img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/address-icon.png" width="71" height="71" alt="address">
                                <h4 class="col-xs-offset-1">Contact Info</h4>
                                <p class="col-xs-offset-1">
                                    Mindlabs Systems Pvt. Ltd. <br>
                                    7/453 Z, III Floor, Trans Square Building ,<br>
                                    Mavelipuram, Kakkanad, Cochin, Kerala, India PIN : 682030
                                </p>
                            </div><!-- address -->
                        
                        <div class="address2">
                            <img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/call-icon.png" width="71" height="71" alt="call">
                            <h4 class="col-xs-offset-2">Connect Us</h4>
                            <p class="col-xs-offset-2">We like to hear from you</p>
                            <p class="col-xs-offset-5"><strong>+91-484-6532355</strong></p>
                            <p class="col-xs-offset-5"><strong>+91-484-6455799</strong></p>
                        </div><!-- address2 -->
                        <div class="address2">
                            <img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
img/mail-icon.png" width="71" height="71" alt="call">
                            <h4 class="col-xs-offset-2">E- Mail Us</h4>
                            <p class="col-xs-offset-2">Send us a mail</p>
                            <p class="col-xs-offset-5"><strong>info@mindlabs-systems.com</strong></p>
                        </div><!-- address2 -->
                    </div><!-- col-sm-6 -->
                    <div class="col-sm-6 map">
                        <div class="map-canvas">
                              <div class="conovlay"></div>
                              <iframe frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.co.in/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=+&amp;q=mindlabs&amp;ie=UTF8&amp;hq=mindlabs&amp;hnear=Ernakulam,+Kerala&amp;ll=10.021533,76.343509&amp;spn=0.091788,0.169086&amp;t=m&amp;z=13&amp;iwloc=A&amp;cid=1260946913123483233&amp;output=embed"></iframe>
                              </div>
                    </div><!-- col-sm-6 -->
                </div>
            </div>
        </div><!-- fot-col -->
        <div class=" ft-bottom">
        	<div class="container">
                <a>  Copyright 2007-2013 flockmails.com. All Rights Reserved.</a>
                <div class="social">
                    <a href="#" class="fb"></a>
                    <a href="#" class="twe"></a>
                    <a href="#" class="g-p"></a>
                    <a href="#" class="in"></a>
                </div>
            </div>
        </div>
    </footer>
	<a href="javascript:void(0)" class="scroll-top"></a>
	<!-- / FOOTER -->


    	
    

    	
        <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/vendor/jquery-1.11.0.min.js"></script>

        <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/vendor/bootstrap.min.js"></script>

        
       
        
        <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/owl.carousel.min.js"></script>
        <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/jquery.tools.min.js"></script>
 		<script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/jquery.fancybox.js"></script>
		 <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/jquery.uniform.js"></script>
		
 		<script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/homemain.js"></script>
		<script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/plugins.js"></script>
       
    </body>
</html><?php 
    }
    function content_566ea7cbc7c181_71034768($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_stripslashes')) {
            include '/var/www/flock/Smarty/libs/plugins/modifier.stripslashes.php';
        }
        ?>
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<?php 
        echo $_smarty_tpl->getSubTemplate("inner_meta.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Meta"), 0);
        ?>

<link rel='stylesheet prefetch' href='<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
css/font-awesome.css'>
</head>
<body>
    <!--[if lt IE 7]>
        <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
    <![endif]-->
    <section class="commen-base  sidebar-toggle">
    	<?php 
        echo $_smarty_tpl->getSubTemplate("dashboard_left.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Dashboard Left"), 0);
        ?>

		 <!-- flock-sidebar -->
        
		<div class="right-panel pst-right-panel">
        	<div class="container-fluid">
            	<div class="commen-heading">
                	<h2>Create Template</h2>
                </div><!-- commen-heading -->
                <form method="post" action="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
createtemplates_next.php" enctype="multipart/form-data">
                <div class="ps-code-base">
                	<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.                    </p>
                    <div class="ps-code-feilds">
                        <?php 
        if ($_smarty_tpl->tpl_vars['errorString']->value != '') {
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['errorString']->value;
            ?>
 <?php 
        }
        ?>
                    	<div class="row">
                        	<div class="col-sm-6">
                            	<label class="form-label">Template Names</label>
                                <input type="text" class="form-control commen-text-feild" placeholder="Template Name" name="template_name" id="template_name" value="<?php 
        echo smarty_modifier_stripslashes($_POST['template_name']);
        ?>
">
                            </div>
                            
                        </div>
                    </div>
                    <div class="ps-code-fes">
                        
                        <div class="row"  ng-app="textAngularTest" ng-controller="wysiwygeditor">
                            <div class="col-md-7">
                             <div text-angular="text-angular" name="htmlcontent" ng-model="htmlcontent" ta-disabled='disabled' class="code-preview"></div>
                            </div>    
                            <div class="col-md-5">
                                <div class="source-code-base">
                                    <h5>Edit code</h5>
                                    <div class="source-editor">
                                        <textarea class="form-control code-edit-feild" ng-model="htmlcontent" name="template_html_content" id="template_html_content"><?php 
        echo smarty_modifier_stripslashes($_POST['template_html_content']);
        ?>
</textarea>
                                    </div>
                                    <div class="source-save">
                                      <a href="javascript:void(0)" class="file-mgr">File manager</a>									</div><!-- source-save  -->
                                    </div><!-- source-code-base -->
                            </div>
                        </div>
                        
						<div class="sc-submit-base">
                                                    <input type="submit" name="submit" class="cm-submit" value="Create">
						</div><!-- sc-submit-base -->
                    </div><!-- ps-code-fes -->
                </div><!-- ps-code-base -->
                </form>
            </div><!-- right-panel -->
        </div>
		
    </section><!-- commen-base -->
    
    
    
    <?php 
        echo $_smarty_tpl->getSubTemplate("filemanager_popup.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Dashboard Left"), 0);
        ?>

    
	<?php 
        echo $_smarty_tpl->getSubTemplate("inner_js.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Inner page js"), 0);
        ?>

	
	 <script>
	var validationSettings = {
		errorMessagePosition : 'element',
		borderColorOnError : ''
	};

	$('#addcontactfrm')
		.submit(function() {
			if ($(this).validate(false, validationSettings))
				return true;

			return false;
		})
		.validateOnBlur(false, validationSettings)
		.showHelpOnFocus();

</script>
	
	
	  <script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.2.4/angular.min.js'></script>
  <script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.2.4/angular-sanitize.min.js'></script>
  <script src='<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
angular/textAngular.min.js'></script>
  
  <script>
       
       angular.module("textAngularTest", ['textAngular']);
	function wysiwygeditor($scope) {
		$scope.orightml = document.getElementById("template_html_content").value;;
		$scope.htmlcontent = $scope.orightml;
		$scope.disabled = false;
	};
  </script>
   
  
<?php 
        echo $_smarty_tpl->getSubTemplate("end.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "End of the page"), 0);
    }
    function content_566fe853bd6e45_24426655($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_stripslashes')) {
            include '/var/www/flock/Smarty/libs/plugins/modifier.stripslashes.php';
        }
        ?>
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<?php 
        echo $_smarty_tpl->getSubTemplate("inner_meta.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Meta"), 0);
        ?>

    <link href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
bootstrap-colorpicker/src/bootstrap.colorpickersliders.css" rel="stylesheet" type="text/css" media="all">

    <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/vendor/jquery-1.11.1.min.js"></script>
    <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/vendor/bootstrap.min.js"></script>
    <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/run_prettify.min.js"></script>
    <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/tinycolor.min.js"></script>
    <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
bootstrap-colorpicker/src/bootstrap.colorpickersliders.js"></script>
</head>
<body>
    <!--[if lt IE 7]>
        <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
    <![endif]-->
    <section class="commen-base">
    	<?php 
        echo $_smarty_tpl->getSubTemplate("dashboard_left.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Dashboard Left"), 0);
        ?>

		 <!-- flock-sidebar -->
        
		<div class="right-panel">
        	<div class="container-fluid">
            	<div class="commen-heading">
                	<h2>Edit Website Form</h2>
                </div><!-- commen-heading -->
				<form name="createformfrm" id="createformfrm" method="post" action="">
                <div class="send-email-base">
					<?php 
        if ($_smarty_tpl->tpl_vars['errorString']->value != '') {
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['errorString']->value;
            ?>
 <?php 
        }
        ?>
                	<p>Fill out the form below to edit a website form.</p>
                    <h3 class="commen-h3">Form Name & Type</h3>
                    <div class="sd-form-1">
                    	<div class="row">
                        	<div class="col-md-6">
                            	<label class="form-label">Choose a Form Type</label>
                                <div class="cm-sl-mode">
								<select name="form_type" id="form_type" class="sl-select" onChange="document.createformfrm.submit();" data-validation="required">
									<option value="" <?php 
        if ($_REQUEST['form_type'] == '') {
            ?>
 selected <?php 
        }
        ?>
>Select</option>
									<option value="s" <?php 
        if ($_REQUEST['form_type'] == 's') {
            ?>
 selected <?php 
        }
        ?>
>Subscription</option>
									<option value="u" <?php 
        if ($_REQUEST['form_type'] == 'u') {
            ?>
 selected <?php 
        }
        ?>
>Unsubscribe</option>
									<option value="m" <?php 
        if ($_REQUEST['form_type'] == 'm') {
            ?>
 selected <?php 
        }
        ?>
>Modify Details</option>
									<option value="f" <?php 
        if ($_REQUEST['form_type'] == 'f') {
            ?>
 selected <?php 
        }
        ?>
>Send to Friend</option>
							  </select>
							  
                                </div><!-- cm-sl-mode -->
                                <span class="smallipop cs-tooltip">
                                    <span class="smallipop-hint">
                                    	Choose the type of form you will be creating.<br>A <i>subscription</i> form lets visitors subscribe to your contact list.<br>An <i>unsubscribe</i> form allow visitors to unsubscribe from your contact list. This is optional, and an unsubscribe link can be added to your email campaigns automatically instead.<br>A <i>modify details</i> form allows contacts to modify their subscription information.<br>Finally, a <i>send to a friend</i> form lets users share your email campaign with their friends.
                                    </span>
                                </span><!-- cs-tooltip -->
                            </div>
                            <div class="col-md-6">
                            	<label class="form-label">Name this Form</label>
                                <div class="cm-sl-mode">
                                	<input type="text" class="form-control commen-text-feild" name="form_name" id="form_name" value="<?php 
        echo smarty_modifier_stripslashes($_REQUEST['form_name']);
        ?>
"  data-validation="required">
                                </div><!-- cm-sl-mode -->
                                <span class="smallipop cs-tooltip">
                                    <span class="smallipop-hint">
                                    	Assign a name for your form
                                    </span>
                                </span><!-- cs-tooltip -->
                            </div>
                            
                            
                            <div class="visible-lg col-xs-12"></div>
                            
							<?php 
        if ($_REQUEST['form_type'] == 's' || $_REQUEST['form_type'] == 'u') {
            ?>
							<div class="col-md-4">
                            	<label class="form-label" style="margin-top:4px; color:#333333;">Use Double Opt-In Confirmation? </label>
								<span class="smallipop cs-tooltip">
                                    <span class="smallipop-hint">
                                    	Do you want the contact to receive a confirmation email with a link they must click to verify their action before they are added to or remove from your list?<br>Double opt-in is the industry standard, so if you\'re unsure you should tick this box.
                                    </span>
                                </span>
                            </div>
                            <div class="col-md-8">
                            	<div class="commen-check">
                                	<label>
                                		<input name="require_confirm" type="checkbox" value="1" <?php 
            if ($_REQUEST['require_confirm'] == '1') {
                ?>
 checked="checked" <?php 
            }
            ?>
 class="cm-checkbox">
                                     Yes, use double opt-in email confirmation
                                    </label>
									
                                    <!-- cs-tooltip -->
                                </div>
								
                            </div>
							 <div class="visible-lg col-xs-12"></div>
							<div class="col-md-4">
                            	<label class="form-label" style="margin-top:4px; color:#333333;">Send a "Thank You" Email?</label>
								<span class="smallipop cs-tooltip">
                                    <span class="smallipop-hint">
                                    	If you tick this box then a thank you email will be sent to the contact once they fill out the form. You can customize the thank you email on the next page.
                                    </span>
                                </span>
                            </div>
                            <div class="col-md-8">
                            	<div class="commen-check">
                                	<label>
                                		<input name="send_thankyoumail" type="checkbox" value="1" <?php 
            if ($_REQUEST['send_thankyoumail'] == '1') {
                ?>
 checked="checked" <?php 
            }
            ?>
 class="cm-checkbox"/>
                                     Yes, send the contact a thank you email
                                    </label>
									
                                    <!-- cs-tooltip -->
                                </div>
								
                            </div>
							
							<?php 
        }
        ?>
                        </div>
                    </div><!-- sd-form-1-->
                
					
					<h3 class="commen-h3" style="padding-top:30px;">Advanced Options</h3>
                    <div class="sd-form-1">
                    	<div class="row">
                        	<div class="col-md-6">
                            	<label class="form-label">Form Back Ground Color</label>
                                <div class="cm-sl-mode">
                                	 <input type="text" class="form-control commen-text-feild" id="full-popoverback" name="design_color" size="7" maxlength="7" value="<?php 
        echo $_REQUEST['design_color'];
        ?>
" data-color-format="hex">
									
									
                                </div><!-- cm-sl-mode -->
								 <script>
								$("input#full-popoverback").ColorPickerSliders({
								  placement: 'bottom',
								  size: 'sm',
								  color: 'white',
								  sliders: false,
								  hsvpanel: true,
								  previewformat: 'hex',
								  previewontriggerelement:false
								});
							  </script>
                                <span class="smallipop cs-tooltip">
                                    <span class="smallipop-hint">
                                    	Select the background color to be applied for your form.
                                    </span>
                                </span><!-- cs-tooltip -->
								
                            </div>
                            <div class="col-md-6">
                            	<label class="form-label">Form Letter Color</label>
                                <div class="cm-sl-mode">
                                	<input type="text" class="form-control commen-text-feild" id="full-popoverletter" name="letter_color" size="7" maxlength="7" value="<?php 
        echo $_REQUEST['letter_color'];
        ?>
" data-color-format="hex">
                                </div><!-- cm-sl-mode -->
								<script>
								$("input#full-popoverletter").ColorPickerSliders({
								  placement: 'bottom',
								  size: 'sm',
								  color: 'black',
								  sliders: false,
								  hsvpanel: true,
								  previewformat: 'hex',
								  previewontriggerelement:false
								});
							  </script>
                                <span class="smallipop cs-tooltip">
                                    <span class="smallipop-hint">
                                    	Select the font color to be applied for your form.
                                    </span>
                                </span><!-- cs-tooltip -->
                            </div>
                            <div class="visible-lg col-xs-12"></div>
							<?php 
        if ($_REQUEST['form_type'] == 's' || $_REQUEST['form_type'] == 'm') {
            ?>
                            <div class="col-md-6">
                            	<label class="form-label">Email Campaign Format   </label>
                                <div class="cm-sl-mode">
                                <select id="form_format" name="form_format" class="sl-select">
									<option value="c" <?php 
            if ($_REQUEST['form_format'] == '' || $_REQUEST['form_format'] == 'c') {
                ?>
 selected <?php 
            }
            ?>
 >Allow Contact to Choose</option>
									<option value="fh" <?php 
            if ($_REQUEST['form_format'] == 'fh') {
                ?>
 selected <?php 
            }
            ?>
>HTML</option>
									<option value="ft" <?php 
            if ($_REQUEST['form_format'] == 'ft') {
                ?>
 selected <?php 
            }
            ?>
>Text</option>
							  </select>
                                </div><!-- cm-sl-mode -->
                                <span class="smallipop cs-tooltip">
                                    <span class="smallipop-hint">
                                    	Select format in which email need to be sent
                                    </span>
                                </span><!-- cs-tooltip -->
                            </div>
                           	<?php 
        }
        ?>
		
							<div class="visible-lg col-xs-12"></div>
							<?php 
        if ($_REQUEST['form_type'] != 'f') {
            ?>
							<div class="col-md-4">
                            	<label class="form-label" style="margin-top:4px; color:#333333;">Use CAPTCHA Form Security?</label>
								<span class="smallipop cs-tooltip">
                                    <span class="smallipop-hint">
                                    	Captcha (an acronym for \'Completely Automated Public Turing Test to Tell Computers and Humans Apart\') is a type of challenge-response test used in computing to determine whether or not the user is human. This helps prevent automated submission of your forms. If this is on, the form will ask for a \'security code\' to be entered in before the user can complete the website form.<br>If you are placing your form on a different domain to the one used for the application your contacts will have issues using captcha on browsers such as Safari as they do not allow third party cookies to be set by default.
                                    </span>
                                </span>
                            </div>
                            <div class="col-md-8">
                            	<div class="commen-check">
                                	<label>
                                		<input name="use_captcha" type="checkbox" value="1" <?php 
            if ($_REQUEST['use_captcha'] == '1') {
                ?>
 checked="checked" <?php 
            }
            ?>
 class="cm-checkbox"/>
                                     Yes, use CAPTCHA form security (recommended) 
                                    </label>
									
                                    <!-- cs-tooltip -->
                                </div>
								
                            </div>
							<?php 
        }
        ?>
							
                            
                        </div>
                    </div><!-- sd-form-1-->
					<?php 
        if ($_REQUEST['form_type'] != 'f') {
            ?>
					<h3 class="commen-h3" style="padding-top:30px;">Choose Contact Lists</h3>
                    <div class="sd-form-1">
                    	<div class="row">
                        	<div class="col-md-6">
                            	<label class="form-label">Select Contact Lists</label>
                                <div class="cm-sl-mode">
                                 <div class="ffs-scroll">
                                        	<ul>
											<?php 
            if ($_smarty_tpl->tpl_vars['numLists']->value > 0) {
                ?>
											<?php 
                $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['item']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['contactListArr']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
                    $_smarty_tpl->tpl_vars['item']->_loop = true;
                    ?>
											<?php 
                    $_smarty_tpl->tpl_vars['listid'] = new Smarty_variable($_smarty_tpl->tpl_vars['item']->value['list_id'], null, 0);
                    ?>
											
                                            <li>
											<div class="commen-check">
                                			<label><input  name="contctarr[]" type="checkbox" class="cm-checkbox" value="<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['list_id'];
                    ?>
" <?php 
                    if (in_array($_smarty_tpl->tpl_vars['listid']->value, $_smarty_tpl->tpl_vars['contctarr']->value)) {
                        ?>
 checked="checked" <?php 
                    }
                    ?>
><?php 
                    echo smarty_modifier_stripslashes($_smarty_tpl->tpl_vars['item']->value['list_name']);
                    ?>
</label>
											</div>
											</li>
											<?php 
                }
                ?>
											<?php 
            }
            ?>
                                            </ul>
                                 </div>
                                </div><!-- cm-sl-mode -->
                                <span class="smallipop cs-tooltip">
                                    <span class="smallipop-hint">
                                    	Select your required contact lists
                                    </span>
                                </span><!-- cs-tooltip -->
								
                            </div>
                   
                            
                        </div>
                    </div><!-- sd-form-1-->
						<?php 
        }
        ?>
			
					
                    <div class="button-panel">
                    	<input type="submit" class="cm-submit" name="submit" value="Submit">
                    </div><!-- button-panel -->
                </div><!-- send-email-base -->
				</form>
            </div><!-- right-panel -->
        </div>
		
    </section><!-- commen-base -->
	


	 <script>
	var validationSettings = {
		errorMessagePosition : 'element',
		borderColorOnError : ''
	};

	$('#createformfrm')
		.submit(function() {
			if ($(this).validate(false, validationSettings))
				return true;

			return false;
		})
		.validateOnBlur(false, validationSettings)
		.showHelpOnFocus();
		
</script>
	
    <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/jquery.matchHeight-min.js"></script>
    <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/chartist.min.js"></script>
	<script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/easyResponsiveTabs.js"></script>
    <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/jquery.fs.selecter.min.js"></script>
    <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/jquery.uniform.min.js"></script>
    <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/jquery.smallipop.min.js"></script>
	<script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/jquery.mCustomScrollbar.min.js"></script>
	<script type="text/javascript" src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/jquery.formvalidator.js"></script>
<link href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlAssetsBase;
        ?>
css/validation-style.css?upd=1.5" type="text/css" rel="stylesheet"/>

    <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/jquery.fancybox.js"></script>
    <script src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
js/main.js"></script>
<?php 
        echo $_smarty_tpl->getSubTemplate("end.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "End of the page"), 0);
    }
    function content_56657544b7db11_99416079($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_stripslashes')) {
            include '/var/www/flockmails-refined/Smarty/libs/plugins/modifier.stripslashes.php';
        }
        ?>
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<?php 
        echo $_smarty_tpl->getSubTemplate("inner_meta.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Meta"), 0);
        ?>

</head>
<body>
    <!--[if lt IE 7]>
        <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
    <![endif]-->
    <section class="commen-base">
    	<?php 
        echo $_smarty_tpl->getSubTemplate("dashboard_left.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Dashboard Left"), 0);
        ?>

		 <!-- flock-sidebar -->
        
		<div class="right-panel">
        	<div class="container-fluid">
            	<div class="commen-heading">
                	<h2>Templates</h2>
                </div><!-- commen-heading -->
                <div class="code-ur-own-bs">
                	<div class="commen-tab">
                        <div class="tab-margin">
                            <ul class="resp-tabs-list clearfix">
				<li><a href="#">Code Your Own</a></li>
                               <li><a href="#">Themes</a></li>
                            </ul>
                        </div>
                        <div class="resp-tabs-container">
                        	<div class="tab-items">
                                <div class="cods-grid">
                                    <div class="row">
                                        <div class="col-md-4">
                                            <div class="code-block">
                                                <div class="code-img">
                                                    <span class="code-default"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlImageBase;
        ?>
img-code-1.png" class="img-responsive"></span>
                                                    <span class="code-over"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlImageBase;
        ?>
img-code-1-h.png" class="img-responsive"></span>
                                                </div><!-- code-img --->
                                                <div class="code-content">
                                                    <h4>Paste in code</h4>
                                                    <p>Lorem Ipsum is simply dummy text of the printing and typesetting
                                                    </p>
                                                    <a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
createtemplates_next.php" class="code-link"></a>
                                                </div><!--- code-content -->
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="code-block">
                                                <div class="code-img">
                                                    <span class="code-default"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlImageBase;
        ?>
img-code-2.png" class="img-responsive"></span>
                                                    <span class="code-over"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlImageBase;
        ?>
img-code-2-h.png" class="img-responsive"></span>
                                                </div><!-- code-img --->
                                                <div class="code-content">
                                                    <h4>Import HTML</h4>
                                                    <p>Lorem Ipsum is simply dummy text of the printing and typesetting
                                                    </p>
                                                    <a href="#linkpopup" class="code-link code-popup"></a>
                                                    <div class="pop-content" id="linkpopup">
                                                        <h3>Import HTML</h3>
                                                        <form method="post" action="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
createtemplates_next.php" enctype="multipart/form-data">
                                                            <div class="pop-form-content">
                                                                <div class="elm-block">
                                                                    <label class="form-label">Template name</label>
                                                                    <input type="text" name="template_name" class="form-control commen-text-feild" placeholder="">
                                                                </div><!-- elm-block -->
                                                                <div class="elm-block">
                                                                    <label class="form-label">Template file <span>(HTML file only please)</span></label>
                                                                    <div class="cm-file-chooser">
                                                                        <input type="file" class="cm-file-upload" value="Upload" name="upfilecontent">
                                                                    </div><!-- cm-file-chooser -->
                                                                </div><!-- elm-block -->
                                                                <div class="elm-block elm-button-div">
                                                                    <input type="submit" name="uploaddoc" class="cm-submit" value="Upload">
                                                                </div>
                                                            </div>
                                                        </form>
                                                    </div>
                                                </div><!--- code-content -->
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="code-block">
                                                <div class="code-img">
                                                    <span class="code-default"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlImageBase;
        ?>
img-code-3.png" class="img-responsive"></span>
                                                    <span class="code-over"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlImageBase;
        ?>
img-code-3-h.png" class="img-responsive"></span>
                                                </div><!-- code-img --->
                                                <div class="code-content">
                                                    <h4>Import from Any url</h4>
                                                    <p>Lorem Ipsum is simply dummy text of the printing and typesetting
                                                    </p>
                                                    <a href="#linkpopupurl" class="code-link code-popup"></a>
                                                   
                                                    <div class="pop-content" id="linkpopupurl">
                                                            <h3>Import from Any url</h3>
                                                             <form method="post" action="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
createtemplates_next.php" enctype="multipart/form-data">
                                                                <div class="pop-form-content">
                                                                    <div class="elm-block">
                                                                        <label class="form-label">Template name</label>
                                                                        <input type="text" name="template_name" class="form-control commen-text-feild" placeholder="">
                                                                    </div><!-- elm-block -->
                                                                    <div class="elm-block">
                                                                        <label class="form-label">Website Url</label>
                                                                        http://<input type="text" name="urlimport" class="form-control commen-text-feild" placeholder="Enter the website url">
                                                                    </div><!-- elm-block -->
                                                                    <div class="elm-block elm-button-div">
                                                                        <input type="submit" name="importurl" class="cm-submit" value="Import">
                                                                    </div>
                                                                </div>
                                                             </form>
                                                    </div>
                                                    
                                                </div><!--- code-content -->
                                            </div>
                                        </div>
                                    </div>
                                  </div>
                            </div>
                            <div class="tab-items">
                            	<div class="temp-box-control">
                                    <div class="row">
                                        
                                        <?php 
        if ($_smarty_tpl->tpl_vars['listCnt']->value > 0) {
            ?>
                                            <?php 
            $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['item']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['templates']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
                $_smarty_tpl->tpl_vars['item']->_loop = true;
                ?>
                                                <div class="col-md-4 col-sm-6">
                                                    <div class="temp-cm-block">
                                                        <div class="temp-img">
                                                            <a href="<?php 
                echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
                echo $_smarty_tpl->tpl_vars['item']->value['template_path'];
                ?>
/index.html" data-fancybox-type="iframe"  class="temp-popup"><img src="<?php 
                echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
                echo $_smarty_tpl->tpl_vars['item']->value['template_path'];
                ?>
/preview.gif" class="img-responsive"></a>
                                                        </div><!-- temp-img -->
                                                        <div class="temp-content">
                                                            <p><?php 
                echo smarty_modifier_stripslashes($_smarty_tpl->tpl_vars['item']->value['built_template_name']);
                ?>
(<?php 
                echo smarty_modifier_stripslashes($_smarty_tpl->tpl_vars['item']->value['category_name']);
                ?>
)</p>
                                                            <a href="<?php 
                echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
                ?>
createtemplates_next.php?TemplateID=<?php 
                echo sonEncode($_smarty_tpl->tpl_vars['item']->value['template_path']);
                ?>
" class="temp-select">Select</a>
                                                        </div>            	
                                                    </div><!-- temp-cm-block -->
                                                </div>
                                            <?php 
            }
            ?>
                                        <?php 
        } else {
            ?>
                                            <div class="cc-list" style=" padding:12px 12px; text-align:center; color:#FF0000; ">
                                            No templates found!!
                                            </div>
                                        <?php 
        }
        ?>
                            
                                        
                                       
                                    </div>
                                </div>
                                <?php 
        if ($_smarty_tpl->tpl_vars['listCnt']->value > 0) {
            ?>
                                    <div class="pagination">
                                    <?php 
            echo $_smarty_tpl->tpl_vars['pager']->value->showPager(1, 1, 1);
            ?>

                                    </div>     
                                <?php 
        }
        ?>
                            </div>
                        </div>
                    </div>
                </div><!-- code-ur-own -->
            </div><!-- right-panel -->
        </div>
		
    </section><!-- commen-base -->
	<?php 
        echo $_smarty_tpl->getSubTemplate("inner_js.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Inner page js"), 0);
        ?>

	
	 <script>
	var validationSettings = {
		errorMessagePosition : 'element',
		borderColorOnError : ''
	};

	$('#addcontactfrm')
		.submit(function() {
			if ($(this).validate(false, validationSettings))
				return true;

			return false;
		})
		.validateOnBlur(false, validationSettings)
		.showHelpOnFocus();

</script>
	
<?php 
        echo $_smarty_tpl->getSubTemplate("end.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "End of the page"), 0);
    }
    function content_566fe8730f8614_39374070($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_stripslashes')) {
            include '/var/www/flock/Smarty/libs/plugins/modifier.stripslashes.php';
        }
        ?>
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<?php 
        echo $_smarty_tpl->getSubTemplate("inner_meta.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Meta"), 0);
        ?>

<link rel='stylesheet prefetch' href='<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
css/font-awesome.css'>
</head>
<body>
    <!--[if lt IE 7]>
        <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
    <![endif]-->
    <section class="commen-base  sidebar-toggle">
    	<?php 
        echo $_smarty_tpl->getSubTemplate("dashboard_left.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Dashboard Left"), 0);
        ?>

		 <!-- flock-sidebar -->
        
		<div class="right-panel pst-right-panel">
        	<div class="container-fluid">
            	<div class="commen-heading">
                	<h2>Show website form script</h2>
                </div><!-- commen-heading -->
                <div class="ps-code-base">
                	<p>Displays the form html script</p>
                    <div class="ps-code-feilds">
                        <?php 
        if ($_smarty_tpl->tpl_vars['errorString']->value != '') {
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['errorString']->value;
            ?>
 <?php 
        }
        ?>
                    	
                    </div>
                    <div class="ps-code-fes">
                        
                        <div class="row">
                            <div class="col-md-8">
                                <textarea class="form-control code-edit-feild" name="code" onclick="this.select();"><?php 
        echo smarty_modifier_stripslashes($_smarty_tpl->tpl_vars['formapp']->value);
        ?>
</textarea>
                            </div>
                        </div>
                        
						<div class="sc-submit-base">
                                                    <a href="<?php 
        echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
        ?>
list_forms.php" class="cm-submit">OK</a>
						</div><!-- sc-submit-base -->
                    </div><!-- ps-code-fes -->
                </div><!-- ps-code-base -->
            </div><!-- right-panel -->
        </div>
		
    </section><!-- commen-base -->
    
    
    
    
	<?php 
        echo $_smarty_tpl->getSubTemplate("inner_js.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Inner page js"), 0);
        ?>

	
	
  
<?php 
        echo $_smarty_tpl->getSubTemplate("end.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "End of the page"), 0);
    }
    function content_566918bd29ee32_72688755($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_stripslashes')) {
            include '/var/www/flock/Smarty/libs/plugins/modifier.stripslashes.php';
        }
        ?>
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<?php 
        echo $_smarty_tpl->getSubTemplate("inner_meta.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Meta"), 0);
        ?>

</head>
<body>
    <!--[if lt IE 7]>
        <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
    <![endif]-->
    <section class="commen-base">
    	<?php 
        echo $_smarty_tpl->getSubTemplate("dashboard_left.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Dashboard Left"), 0);
        ?>

		 <!-- flock-sidebar -->
        
                 <div class="right-panel">
        	<div class="container-fluid">
            	<div class="commen-heading">
                	<h2>Templates</h2>
                </div><!-- commen-heading -->
                <div class="template-base">
                    <div class="temp-box-control">
                        <div class="row">
                            <?php 
        if ($_smarty_tpl->tpl_vars['listCnt']->value > 0) {
            ?>
                                <?php 
            $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['item']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['templates']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
                $_smarty_tpl->tpl_vars['item']->_loop = true;
                ?>
                                    <div class="col-md-4 col-sm-6">
                                        <div class="temp-cm-block">
                                            <div class="temp-img">
                                                <a href="<?php 
                echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
                echo $_smarty_tpl->tpl_vars['item']->value['template_path'];
                ?>
/index.html" data-fancybox-type="iframe"  class="temp-popup"><img src="<?php 
                echo $_smarty_tpl->tpl_vars['url']->value->urlBase;
                echo $_smarty_tpl->tpl_vars['item']->value['template_path'];
                ?>
/preview.gif" class="img-responsive"></a>
                                            </div><!-- temp-img -->
                                            <div class="temp-content">
                                                <p><?php 
                echo smarty_modifier_stripslashes($_smarty_tpl->tpl_vars['item']->value['built_template_name']);
                ?>
(<?php 
                echo smarty_modifier_stripslashes($_smarty_tpl->tpl_vars['item']->value['category_name']);
                ?>
)</p>
                                            </div>            	
                                        </div><!-- temp-cm-block -->
                                    </div>
                                <?php 
            }
            ?>
                            <?php 
        } else {
            ?>
                                <div class="cc-list" style=" padding:12px 12px; text-align:center; color:#FF0000; ">
                                No templates found!!
                                </div>
                            <?php 
        }
        ?>
                            
                            	 
                        </div> 
                    </div>
                <?php 
        if ($_smarty_tpl->tpl_vars['listCnt']->value > 0) {
            ?>
                   <div class="pagination">
                   <?php 
            echo $_smarty_tpl->tpl_vars['pager']->value->showPager(1, 1, 1);
            ?>

                   </div>     
               <?php 
        }
        ?>
                </div><!-- template-base -->
            </div><!-- right-panel -->
        </div>
		
    </section><!-- commen-base -->
	<?php 
        echo $_smarty_tpl->getSubTemplate("inner_js.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "Inner page js"), 0);
        ?>

	
	 <script>
	var validationSettings = {
		errorMessagePosition : 'element',
		borderColorOnError : ''
	};

	$('#addcontactfrm')
		.submit(function() {
			if ($(this).validate(false, validationSettings))
				return true;

			return false;
		})
		.validateOnBlur(false, validationSettings)
		.showHelpOnFocus();

</script>
	
<?php 
        echo $_smarty_tpl->getSubTemplate("end.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => "End of the page"), 0);
    }
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'stripslashes', '/var/www/sqc//modules/page/front/templates/subpages_list.html', 4, false))), $this);
if (count($this->_tpl_vars['subpages_list']) > 0) {
    ?>
            <ul>
				<?php 
    $_from = $this->_tpl_vars['subpages_list'];
    if (!is_array($_from) && !is_object($_from)) {
        settype($_from, 'array');
    }
    $this->_foreach['for1'] = array('total' => count($_from), 'iteration' => 0);
    if ($this->_foreach['for1']['total'] > 0) {
        foreach ($_from as $this->_tpl_vars['page']) {
            $this->_foreach['for1']['iteration']++;
            ?>
            
              		<li><a href="<?php 
            echo $this->_tpl_vars['page']['full_url'];
            ?>
" class="black"><?php 
            echo is_array($_tmp = $this->_tpl_vars['page']['name']) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp);
            ?>
</a></li>
              	<?php 
        }
    }
    unset($_from);
    ?>
              </ul>
<?php 
}