Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /var/www/kanvakanva.com/public_html/application/views/email/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="viewport" content="width=device-width" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Review Purchases</title> <style> /* ------------------------------------- GLOBAL ------------------------------------- */ * { margin: 0; padding: 0; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; } img { max-width: 100%; } body { -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100%!important; height: 100%; } /* ------------------------------------- ELEMENTS ------------------------------------- */ a { color: #348eda; } .btn-primary { text-decoration: none; color: #FFF; background-color: #348eda; border: solid #348eda; border-width: 10px 20px; line-height: 2; font-weight: bold; margin-right: 10px; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px; } .btn-secondary { text-decoration: none; color: #FFF; background-color: #aaa; border: solid #aaa; border-width: 10px 20px; line-height: 2; font-weight: bold; margin-right: 10px; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px; } .last { margin-bottom: 0; } .first { margin-top: 0; } .padding { padding: 10px 0; } /* ------------------------------------- BODY ------------------------------------- */ table.body-wrap { width: 100%; padding: 20px; } table.body-wrap .container { border: 1px solid #f0f0f0; } /* ------------------------------------- FOOTER ------------------------------------- */ table.footer-wrap { width: 100%; clear: both!important; } .footer-wrap .container p { font-size: 12px; color: #666; } table.footer-wrap a { color: #999; } /* ------------------------------------- TYPOGRAPHY ------------------------------------- */ h1, h2, h3 { font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; line-height: 1.1; margin-bottom: 15px; color: #000; margin: 40px 0 10px; line-height: 1.2; font-weight: 200; } h1 { font-size: 36px; } h2 { font-size: 28px; } h3 { font-size: 22px; } p, ul, ol { margin-bottom: 10px; font-weight: normal; font-size: 14px; } ul li, ol li { margin-left: 5px; list-style-position: inside; } /* --------------------------------------------------- RESPONSIVENESS Nuke it from orbit. It's the only way to be sure. ------------------------------------------------------ */ /* Set a max-width, and make it display as block so it will automatically stretch to that width, but will also shrink down on a phone or something */ .container { display: block!important; max-width: 100%!important; margin: 0 auto!important; /* makes it centered */ clear: both!important; } /* Set the padding on the td rather than the div for Outlook compatibility */ .body-wrap .container { padding: 20px; } /* This should also be a block element, so that it will fill 100% of the .container */ .content { max-width: 100%; margin: 0 auto; display: block; } /* Let's make sure tables in the content area are 100% wide */ .content table { width: 100%; } .tablecontent { border: 1px solid grey; } .tablecontent tr td { border: 1px solid grey; padding:5px; } .tablecontent tr th { border: 1px solid grey; padding:5px; } .button { color: #fff; display: inline-block; padding: 9px 25px; text-align: center; text-transform: uppercase; -webkit-transition: all 0.3s ease 0s; -o-transition: all 0.3s ease 0s; transition: all 0.3s ease 0s; background: transparent; background-color: transparent; position: relative; background-color: #111111; font-size: 12px; border: none; } </style> </head> <body bgcolor="#f6f6f6"> <!-- body --> <table class="body-wrap"> <tr> <td></td> <td class="container" bgcolor="#FFFFFF"> <!-- content --> <div class="content"> <table> <tr> <td> <p><img src="<?= base_url() . 'uploads/' . $logo; ?>" alt="Kanva-Logo"/></p> <h3 style="text-align:center;">Review Your Recent Purchases</h3> <p>Hi <?=$customer?>.</p> <img style="width:150px" src="<?= base_url() . 'uploads/product/small/' . $image ?>" alt="<?=$alias?>"> <p>You've recently bought <a href="<?= base_url() . 'product/' . $alias ?>" style="text-decoration:none;"> <span style="color:#cba884"><?=$item_name?></span> </a> . We'd love to hear your thoughts</p> <?php /* ------- GET POINT ------- */ $this->db->select('review'); $this->db->from('reward_config'); $this->db->where('id_reward_config', '1'); $reward = $this->db->get()->row(); $review_reward = $reward->review; ?> <p>Get <?=$review_reward?> points for reviewing your experience.</p> <form method="get" action="<?=base_url()?>review"> <input type="hidden" value="<?=$orders_id?>" name="orders_id"> <input type="hidden" value="<?=$item_id?>" name="item_id"> <div class="row"> <div class="col-md-2"> <p style="margin-bottom:10px;"> <?php $data = array( 'name' => 'rating', 'class' => 'payment_type', 'value' => '5', 'style' => '', ); echo form_radio($data); ?> <span style="color:#cda486;font-size:16px;">★</span> <span style="color:#cda486;font-size:16px;">★</span> <span style="color:#cda486;font-size:16px;">★</span> <span style="color:#cda486;font-size:16px;">★</span> <span style="color:#cda486;font-size:16px;">★</span> </p> <p style="margin-bottom:10px;"> <?php $data = array( 'name' => 'rating', 'class' => 'payment_type', 'value' => '4', 'style' => '', ); echo form_radio($data); ?> <span style="color:#cda486;font-size:16px;">★</span> <span style="color:#cda486;font-size:16px;">★</span> <span style="color:#cda486;font-size:16px;">★</span> <span style="color:#cda486;font-size:16px;">★</span> </p> <p style="margin-bottom:10px;"> <?php $data = array( 'name' => 'rating', 'class' => 'payment_type', 'value' => '3', 'style' => '', ); echo form_radio($data); ?> <span style="color:#cda486;font-size:16px;">★</span> <span style="color:#cda486;font-size:16px;">★</span> <span style="color:#cda486;font-size:16px;">★</span> </p> <p style="margin-bottom:10px;"> <?php $data = array( 'name' => 'rating', 'class' => 'payment_type', 'value' => '2', 'style' => '', ); echo form_radio($data); ?> <span style="color:#cda486;font-size:16px;">★</span> <span style="color:#cda486;font-size:16px;">★</span> </p> <p style="margin-bottom:10px;"> <?php $data = array( 'name' => 'rating', 'class' => 'payment_type', 'value' => '1', 'style' => '', ); echo form_radio($data); ?> <span style="color:#cda486;font-size:16px;">★</span> </p> </div> <div class="col-md-10"> <textarea name="ulasan" style="width:100%" rows="6" class="form-control" placeholder="Write your note for us if any..."></textarea> <div style="margin-bottom:20px; margin-top:10px;text-align:right"> <p><input type="submit" name="post_rating" value="Post" class="button"></p> </div> </div> </div> </form> </td> </tr> </table> <br/> <br/> </div> <!-- /content --> </td> <td></td> </tr> </table> <!-- /body --> <!-- footer --> <table class="footer-wrap"> <tr> <td></td> <td class="container"> <!-- content --> <div class="content"> <table> <tr> <td align="center"> <p>Log into your <a href="<?= base_url('account'); ?>">account</a> to view the status of this order. This email address cannot accept incoming email. Please do not reply to this message. </td> </tr> </table> </div> <!-- /content --> </td> <td></td> </tr> </table> <!-- /footer --> </body> </html>