Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (of_get_option('phrase_5_show')) {?>
- <!-- Title Area -->
- <section class="title_area" <?php colors('desc')?> id="contact">
- <div class="container">
- <h1 <?php echo colors('h1');?>>“ <?php echo of_get_option('phrase_5_comment'); ?>”</h1>
- </div>
- </section>
- <!-- End Title Area-->
- <?php }?>
- <!-- Info Area - Contact-->
- <section class="info_area" id="contact" >
- <div class="container">
- <?php
- $color='';
- $arrow_color = '';
- if(colors('h1')!=''){
- if(colors('title')!=''){
- $color=substr(colors('h1'),0,strlen(colors('h1'))-1).' '.substr(colors('title'),7,27);
- $arrow_color = 'style="border-left: 35px solid '.substr(colors('title'),25,7).';"';}
- else{ $color = colors('h1');}}
- else{ if(colors('title')!=''){ $color=colors('title'); $arrow_color = 'style="border-left: 35px solid '.substr(colors('title'),25,7).';"';}}
- ?>
- <div class="title_section">
- <h1 <?php echo $color;?>><?php echo of_get_option('contact_title') ?>
- <span class="arrow_title" <?php echo $arrow_color;?>></span>
- </h1>
- <small <?php echo colors('h1s');?>><?php echo of_get_option('contact_me_comment')?></small>
- </div>
- <!-- Row fuid-->
- <div class="row-fluid">
- <div class="span7 contact">
- <form id="form" action="<?php echo get_template_directory_uri(); ?>/send_mail.php">
- <input type="text" placeholder="<?php echo of_get_option('contact_me_email')?>" name="Name" required>
- <input type="email" placeholder="<?php echo of_get_option('contact_me_subject')?>" name="Email" required>
- <input type="hidden" name="from" value="<?php echo of_get_option('general_mail')?>">
- <textarea placeholder="<?php echo of_get_option('message_me_text')?>" name="message" required></textarea>
- <input <?php echo colors('btn')?> type="submit" name="Submit" value="<?php echo of_get_option('contact_me_bt')?>" class="button alignright">
- </form>
- <div id="result"></div>
- </div>
- <div class="span5 map">
- <ul class="social">
- <?php $icons_arr = array(
- '1' => get_template_directory_uri().'/'.of_get_option('general_color').'/img/social/facebook.png',
- '2' => get_template_directory_uri().'/'.of_get_option('general_color').'/img/social/twitter.png',
- '3' => get_template_directory_uri().'/'.of_get_option('general_color').'/img/social/google.png',
- '4' => get_template_directory_uri().'/'.of_get_option('general_color').'/img/social/flickr.png',
- '5' => get_template_directory_uri().'/'.of_get_option('general_color').'/img/social/dribbble.png',
- '6' => get_template_directory_uri().'/'.of_get_option('general_color').'/img/social/delicous.png',
- '7' => get_template_directory_uri().'/'.of_get_option('general_color').'/img/social/vimeo.png',
- '8' => get_template_directory_uri().'/'.of_get_option('general_color').'/img/social/youtube.png',
- '9' => get_template_directory_uri().'/'.of_get_option('general_color').'/img/social/blogger.png',
- '10' => get_template_directory_uri().'/'.of_get_option('general_color').'/img/social/myspace.png',
- );
- $cant3=of_get_option('contact_num_social');
- for($f=1; $f<=$cant3; $f++) { ?>
- <?php if (of_get_option('contact_me_show'.$f)){ ?><li><a <?php echo colors('a');?> href="<?php echo of_get_option('contact_me_link'.$f) ?>" class="tooltip_hover" title="<?php echo of_get_option('contact_me_title'.$f)?>"><img src="<?php echo $icons_arr[of_get_option('icon_grupo_'.$f)];?>" alt="Image"></a></li><?php } } ?>
- </ul>
- <div class="clearfix"></div>
- <p <?php echo colors('p');?>><?php echo of_get_option('contact_me_text') ?></p>
- <?php if (of_get_option('contact_me_google_map_show')){ ?>
- <iframe src="<?php echo of_get_option('contact_me_google_map_link') ?>"></iframe>
- <?php } ?>
- </div>
- </div>
- <!-- End Row fuid-->
- </div>
- </section>
- <!-- End Section Area - Contact-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement