Advertisement
mustyumr

notification page

Aug 24th, 2015
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4. * Template Name: Notification page
  5. * */
  6. get_header();
  7.  
  8.  
  9.  
  10. ?>
  11.  
  12. <!-- Google Code for Adwords search lead Conversion Page -->
  13. <script type="text/javascript">
  14. /* <![CDATA[ */
  15. var google_conversion_id = 944786030;
  16. var google_conversion_language = "en";
  17. var google_conversion_format = "3";
  18. var google_conversion_color = "ffffff";
  19. var google_conversion_label = "aVCbCMiIo18Q7pTBwgM";
  20. var google_remarketing_only = false;
  21. /* ]]> */
  22. </script>
  23. <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
  24. </script>
  25. <noscript>
  26. <div style="display:inline;">
  27. <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/944786030/?label=aVCbCMiIo18Q7pTBwgM&amp;guid=ON&amp;script=0"/>
  28. </div>
  29. </noscript>
  30. <!-- end google code for adwords-->
  31.  
  32.  
  33. <?php /* The loop */ ?>
  34. <?php while ( have_posts() ) : the_post(); ?>
  35.  
  36. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  37.  
  38. <section class="insideBanner"
  39. <?php
  40. if( has_post_thumbnail() && ! post_password_required() ):
  41. ?>
  42. style=" background-image: url('<?php echo wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); ?>')"
  43.  
  44. <?php endif; ?> >
  45.  
  46. <div class="container">
  47.  
  48.  
  49. <h1><?php the_title(); ?></h1>
  50. </div>
  51. </section>
  52.  
  53. <section class="insideBody bigpadtop">
  54. <div class="container">
  55. <div class="row">
  56.  
  57. <?php if($_SESSION['client_id']){ ?>
  58. <div class="col-sm-12">
  59. <h4 >Dear <?php echo $_SESSION['client_name']; ?>,</h4>
  60.  
  61.  
  62. <?php the_content(); ?>
  63.  
  64. <br />
  65. <div class="hide" >Link your new account to the mobile app using your Client ID: <?php echo $_SESSION['client_id'] ?></div>
  66. </div>
  67.  
  68.  
  69. <div class="" >
  70. <div class="col-md-12" style="margin-top:20px;">
  71. <a class="btn btn-primary pull-left" href="<?php echo home_url(); ?>/dhl_pick-up/">Have your documents picked up by DHL at our expense</a>
  72. <a class="btn btn-warning pull-right" href="<?php echo home_url(); ?>/contact-us/">Submit your documents to our outlet</a>
  73.  
  74.  
  75. </div>
  76.  
  77. </div>
  78. <?php
  79.  
  80. }
  81.  
  82. ?>
  83.  
  84. </div>
  85.  
  86. </div>
  87. </section>
  88.  
  89.  
  90. </article><!-- #post -->
  91.  
  92. <?php// comments_template(); ?>
  93. <?php endwhile; ?>
  94.  
  95.  
  96.  
  97. <?php get_footer(); ?>
  98.  
  99. <script type="text/javascript">
  100.  
  101. $('#sclientid').html(<?php echo json_encode( $_SESSION['client_id']); ?>);
  102.  
  103. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement