function send_errors($subject, $message) { $message = "One or more errors occour <br />" . $message; global $myErrorsToEmailAddress, $myServerEmailAddress; $mail_body = "{$message}"; //mail body mail_to($myServerEmailAddress, $myErrorsToEmailAddress, $subject, $mail_body); }
function SaveError($ip, $email, $browser) { SqlConnect(); $numbererrors = mysql_query("SELECT emailaddress FROM login_errors WHERE emailaddress='{$email}' AND logged is null "); if (mysql_num_rows($numbererrors) < MAX_LOGIN) { mysql_query("insert into login_errors (date,ipaddress,emailaddress,browser) values (now(),'{$ip}','{$email}','{$browser}')"); } else { mysql_query("insert into login_errors (date,ipaddress,emailaddress,browser) values ('{$date}','{$ip}','{$email}','{$browser}')"); global $myErrorsToEmailAddress, $myServerEmailAddress; mail_to($myServerEmailAddress, $myErrorsToEmailAddress, '3 errors logged', 'the email address ' . $email . ' has tried to login ' . mysql_num_rows($numbererrors) . ' times'); //$a=mail(EMAILLOGERRORS,'3 errors logged ', 'the email address '.$email.' has tried to login '.mysql_num_rows($numbererrors).' times'); mysql_query("UPDATE login_errors SET logged=1 WHERE emailaddress = '{$email}'"); } mysql_close(); }
<td width="100%"><?php echo empty_to_stripe($profile["country"]); ?> </td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td align="right" nowrap><i><?php echo $strEmail; ?> :</i> </td> <td><?php echo mail_to(empty_to_stripe($profile["email"])); ?> </td> </tr> <tr> <td align="right" nowrap><i><?php echo $strPhone; ?> :</i> </td> <td><?php echo empty_to_stripe($profile["home_phone"]); ?> </td> </tr>
<?php use_helper('a'); ?> <?php if ($failed) { ?> <h4 class="a-error clearfix"> <span><?php echo a_('Email delivery failed.'); ?> </span><br /> <?php echo mail_to(sfConfig::get('app_aFeedback_email_manual', sfConfig::get('app_aFeedback_email_auto')), a_('Please contact us directly'), array('encode' => true)); ?> </h4> <?php } ?> <h4><?php echo a_('Submit a bug report'); ?> </h4> <form action="<?php echo url_for('aFeedback/feedback'); ?> " method="post" enctype="multipart/form-data" id="a-feedback-form" class="a-ui a-feedback-form clearfix">
<?php slot('page_title'); ?> <div class="page_title"> <h3>Registration Information</h3> </div> <?php end_slot(); ?> <h5>Course Registration</h5> <p> Contact Student Services for Transcript, Certificate or Registration questions: </p> <address> 866-535-3772 (Toll Free)<br/> 802-735-1019 (Fax)<br/> <?php print mail_to("*****@*****.**", "*****@*****.**", "encode=true"); ?> </address> <p> Any forms or checks should be mailed to: </p> <address> Global Classroom<br/> 125 College Street<br/> Burlington, VT 05401 </address>
function print_config_content($order, $ab, $page) { global $strSexes, $GO_USERS; $db = new db(); for ($i = 0; $i < count($order); $i++) { switch ($order[$i]) { case 'email': if ($page == 0) { echo "<td nowrap>" . mail_to(empty_to_stripe($ab->f("email")), empty_to_stripe($ab->f("email")), 'normal', true, $ab->f("id")) . " </td>\n"; } if ($page == 1) { echo '<td>' . mail_to($ab->f('email'), $ab->f('email')) . '</td>'; } if ($page == 2) { echo "<td>" . mail_to(empty_to_stripe($GO_USERS->f("email"))) . " </td>\n"; } break; case 'sex': echo '<td nowrap> ' . $strSexes[$ab->f('sex')] . ' </td>'; break; case 'birthday': case 'relation_date': $day = $ab->f($order[$i]) > 0 ? db_date_to_date($ab->f($order[$i])) : ''; echo '<td nowrap> ' . empty_to_stripe($day) . ' </td>'; break; case 'company_id': case 'parent': $db->query("SELECT name FROM ab_companies WHERE id = '" . (int) $ab->f($order[$i]) . "'"); echo '<td nowrap> ' . htmlspecialchars(empty_to_stripe($db->next_record() ? $db->f('name') : '')) . ' </td>'; break; case '': break; default: echo "<td nowrap> " . htmlspecialchars(empty_to_stripe($ab->f($order[$i]))) . " </td>\n"; } } }
<?php if ($agency->getFaxPhone() . $agency->getFaxComment()) { ?> <dt>Fax Phone:</dt> <dd><?php echo $agency->getFaxPhone() . ' <i>' . $agency->getFaxComment() . '</i>'; ?> </dd> <?php } ?> <dt></dt> </dl> <?php if ($agency->getEmail()) { echo mail_to($agency->getEmail()); } ?> </div> </td> <td class="cell-5"> <ul class="action-list"> <?php if ($sf_user->hasCredential(array('Administrator', 'Staff', 'Coordinator', 'Volunteer'), false)) { ?> <li><a class="action-edit" href="<?php echo url_for('@agency_edit?id=' . $agency->getId()); ?> ">Edit</a></li><?php } ?>
<h5>The server returned a 404 response.</h5> </div> </div> <dl class="sfTMessageInfo"> <dt>Did you type the URL?</dt> <dd>You may have typed the address (URL) incorrectly. Check it to make sure you've got the exact right spelling, capitalization, etc.</dd> <dt>Did you follow a link from somewhere else at this site?</dt> <dd>If you reached this page from another part of this site, please email us at <?php echo mail_to('[email]'); ?> so we can correct our mistake.</dd> <dt>Did you follow a link from another site?</dt> <dd>Links from other sites can sometimes be outdated or misspelled. Email us at <?php echo mail_to('[email]'); ?> where you came from and we can try to contact the other site in order to fix the problem.</dd> <dt>What's next</dt> <dd> <ul class="sfTIconList"> <li class="sfTLinkMessage"><a href="javascript:history.go(-1)">Back to previous page</a></li> <li class="sfTLinkMessage"><?php echo link_to('Go to Homepage', '@homepage'); ?> </li> </ul> </dd> </dl>
<?php $comment = $sf_simple_blog_comment; use_helper('Date'); ?> <div<?php if ($comment->getIsModerated()) { ?> class="moderated"<?php } ?> > <?php echo $comment->getContent(); ?> <br /> <i><?php echo __('Posted on %2%, by %1% (%11%%12%)<br/>about <b>%3%</b>', array('%1%' => $comment->getAuthorName(), '%11%' => mail_to($comment->getAuthorEmail()), '%12%' => $comment->getAuthorUrl() ? ', ' . link_to($comment->getAuthorUrl()) : '', '%2%' => format_date($comment->getCreatedAt('U')), '%3%' => link_to($comment->getPostTitle(), 'sfSimpleBlogPostAdmin/edit?id=' . $comment->getsfSimpleBlogPost()->getId()))); ?> </i> </div>
<h3>Diese Seite gibt es nicht.</h3> <p><strong>Hast du die URL richtig geschrieben?</strong></p> <p>Vielleicht hat sich ein Tippfehler eingeschlichen? Bitte probiers nochmal.</p> <p><strong>Bist du einem Link auf dieser Website gefolgt?</strong></p> <p>Bitte schick unserem <?php echo mail_to('*****@*****.**', 'Webmaster') ?> eine Mitteilung, damit er den Fehler korrigieren kann.</p> <dt>What's next</dt> <dd> <ul class="sfTIconList"> <li class="sfTLinkMessage"><a href="javascript:history.go(-1)">Back to previous page</a></li> <li class="sfTLinkMessage"><a href="/">Go to Homepage</a></li> </ul> </dd>
# Verify decode pass if ( user_valid_passwd ( "admin", $pass ) ) { # reencode temporarily pass with openssl $cryptpass = exec ("echo ". escapeshellarg($pass) ." | openssl aes-256-cbc -a -salt -pass pass:$key_priv"); exec ("/usr/bin/sudo /usr/share/lcs/scripts/action.sh 'synchro_mdp' '$cryptpass'" , $AllOutput, $ReturnValue); } else $ReturnValue="1"; } else exec ("/usr/bin/sudo /usr/share/lcs/scripts/action.sh ".escapeshellarg($action)."" , $AllOutput, $ReturnValue); if ($DEBUG) { echo "$MsgD $ReturnValue ".count($AllOutput)."<br />"; for ($loop=0;$loop<count($AllOutput);$loop++) echo $AllOutput[$loop]."<br>"; } if ($ReturnValue==0) { $Body.= "sur le serveur LCS a ete effectuee avec succes.\n"; echo $info_1; } else { $Body.= "sur le serveur LCS a echouee.\n"; echo $alerte_1; } mail_to ($to, $Subject, $Body, $From); } // fin traitement action }// fin is_admin else echo "Vous n'avez pas les droits nécessaires pour ordonner cette action..."; include ("../lcs/includes/pieds_de_page.inc.php"); ?>
<div class="text-center"> <p> Global Classroom Classic is no longer live. <br/><br/> Courses offered before June 1, 2010 have been archived<br/> and are now stored offline--accessible only by Global Classroom staff. <br/><br/> If you need access to courses from Global Classroom Classic,<br/> please contact Russell Willis at <?php print mail_to("*****@*****.**", "*****@*****.**", array("encode" => "true", "class" => "email_link")); ?> <br/> or call user services at 866-535-3772.<br/><br/> If you would like to search to see if your eSchool or eClassroom has been moved to our newer platform you may <?php print link_to("search here", "public/search"); ?> . </p> </div>
/sf/sf_default/images/sfTLogo.png" height="39" width="186" /></a> <div class="sfTMessageContainer sfTAlert"> <img alt="page not found" class="sfTMessageIcon" src="<?php echo $path; ?> /sf/sf_default/images/icons/tools48.png" height="48" width="48" /> <div class="sfTMessageWrap"> <h1>Oops! An Error Occurred</h1> <h5>The server returned a "500 Internal Server Error".</h5> </div> </div> <dl class="sfTMessageInfo"> <dt>Something is broken</dt> <dd>Please <?php echo mail_to('*****@*****.**', 'send us an email', array('encode' => true)); ?> and let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.</dd> <dt>What's next</dt> <dd> <ul class="sfTIconList"> <li class="sfTLinkMessage"><a href="javascript:history.go(-1)">Back to previous page</a></li> <li class="sfTLinkMessage"><a href="/">Go to Homepage</a></li> </ul> </dd> </dl> </div> </body> </html>
<td><?php echo $job->getDueDate("F j, Y"); ?> </td> </tr> <tr> <td>Created At</td> <td><?php echo $job->getCreatedAt("F j, Y"); ?> </td> </tr> <tr> <td>Contact</td> <td><?php echo mail_to($job->getContactEmail(), $job->getContactName()) . " <" . $job->getContactEmail(); ?> ></td> </tr> <tr> <td>Contact Phone</td> <td><?php echo $job->getContactPhone(); ?> </td> </tr> <tr> <td>Publication</td> <td> <?php if ($job->getPublication()) {
<?php slot('dynamic_content'); ?> <div id="classic_label">Attention all Classic Users!</div> <div> <div> <h4>This is very important: please read!</h4> <p> Global Classroom has moved to a new version. <strong>The old version of Global Classroom is no longer publicly accessible.</strong> If you don't want to lose your eSchool, courses, or course content, please call 866-535-3772, or email <?php print mail_to("*****@*****.**", "*****@*****.**", "encode=true"); ?> . </p> <p> To migrate your eSchool and its contents to the new platform, please follow the documentation located on our <?php print link_to("support page", "http://support.globalclassroom.us/guides/classic-to-cirrus-migration"); ?> . </p> </div> <div> <h4>How do I know if my eSchool has been migrated and is on the new version?</h4> <p> Your eSchool has a custom URL, for example, "yourschoolname.globalclassroom.us" or "act48.globalclassroom.us". </p> </div> </div> <?php
<input class="regbutton" type="submit" value="" /> </td> </tr> </table> </form> <div class="backlink"> <a href="<?php echo url_for('search/index'); ?> "> Login </a> </div> <!--p class="forgotmessage"> <?php echo link_to('Technical Requirements', 'sfApply/technical'); ?> .</p--> </div> <p class="forgotmessage"><b>Forgot your password?</b> Please write to <?php echo mail_to('*****@*****.**'); ?> .</p>
$t->is(link_to_if(false, 'test', '@homepage', array('tag' => 'div')), '<div>test</div>', 'link_to_if() takes a "tag" option'); $t->is(link_to_if(true, 'test', '@homepage', 'tag=div'), '<a href="module/action">test</a>', 'link_to_if() removes "tag" option (given as string) in true case'); $t->is(link_to_if(true, 'test', '@homepage', array('tag' => 'div')), '<a href="module/action">test</a>', 'link_to_if() removes "tag" option (given as array) in true case'); $t->is(link_to_if(false, 'test', '@homepage', array('query_string' => 'foo=bar', 'absolute' => true, 'absolute_url' => 'http://www.google.com/')), '<span>test</span>', 'link_to_if() returns an HTML "span" tag by default if the condition is false'); $t->is(link_to_if(true, 'test', 'homepage', array(), array('class' => 'test')), '<a class="test" href="homepage">test</a>', 'link_to_if() accepts link_to2 compatible usage'); $t->is(link_to_if(false, 'test', 'homepage', array(), array('class' => 'test')), '<span class="test">test</span>', 'link_to_if() accepts link_to2 compatible usage'); // link_to_unless() $t->diag('link_to_unless()'); $t->is(link_to_unless(false, 'test', '@homepage'), '<a href="module/action">test</a>', 'link_to_unless() returns an HTML "a" tag if the condition is false'); $t->is(link_to_unless(true, 'test', '@homepage'), '<span>test</span>', 'link_to_unless() returns an HTML "span" tag by default if the condition is true'); $t->is(link_to_unless(true, 'test', 'homepage', array(), array('class' => 'test')), '<span class="test">test</span>', 'link_to_unless() accepts link_to2 compatible usage'); $t->is(link_to_unless(false, 'test', 'homepage', array(), array('class' => 'test')), '<a class="test" href="homepage">test</a>', 'link_to_unless() accepts link_to2 compatible usage'); // public_path() $t->diag('public_path()'); $t->is(public_path('pdf/download.pdf'), '/public/pdf/download.pdf', 'public_path() returns the public path'); $t->is(public_path('/pdf/download.pdf'), '/public/pdf/download.pdf', 'public_path() returns the public path if starting with slash'); $t->is(public_path('pdf/download.pdf', true), 'https://example.org/public/pdf/download.pdf', 'public_path() returns the public path'); // mail_to() $t->diag('mail_to()'); $t->is(mail_to('*****@*****.**'), '<a href="mailto:fabien.potencier@symfony-project.com">fabien.potencier@symfony-project.com</a>', 'mail_to() creates a mailto a tag'); $t->is(mail_to('*****@*****.**', 'fabien'), '<a href="mailto:fabien.potencier@symfony-project.com">fabien</a>', 'mail_to() creates a mailto a tag'); preg_match('/href="(.+?)"/', mail_to('*****@*****.**', 'fabien', array('encode' => true)), $matches); $t->is(html_entity_decode($matches[1], ENT_QUOTES, 'UTF-8'), 'mailto:fabien.potencier@symfony-project.com', 'mail_to() can encode the email address'); $t->diag('mail_to test'); $t->is(mail_to('*****@*****.**'), '<a href="mailto:webmaster@example.com">webmaster@example.com</a>', 'mail_to with only given email works'); $t->is(mail_to('*****@*****.**', 'send us an email'), '<a href="mailto:webmaster@example.com">send us an email</a>', 'mail_to with given email and title works'); $t->isnt(mail_to('*****@*****.**', 'encoded', array('encode' => true)), '<a href="mailto:webmaster@example.com">encoded</a>', 'mail_to with encoding works'); $t->is(mail_to('*****@*****.**', '', array(), array('subject' => 'test subject', 'body' => 'test body')), '<a href="mailto:webmaster@example.com?subject=test+subject&body=test+body">webmaster@example.com</a>', 'mail_to() works with given default values in array form'); $t->is(mail_to('*****@*****.**', '', array(), 'subject=test subject body=test body'), '<a href="mailto:webmaster@example.com?subject=test+subject&body=test+body">webmaster@example.com</a>', 'mail_to() works with given default values in string form'); $t->is(mail_to('*****@*****.**', '', array(), 'subject=Hello World and more'), '<a href="mailto:webmaster@example.com?subject=Hello+World+and+more">webmaster@example.com</a>', 'mail_to() works with given default value with spaces');
<tr><th><?php echo __('Last Updated'); ?> </th><td><?php echo $application->getUpdatedAt(); ?> </td></tr> <tr><th colspan="2"><?php echo __('About Author'); ?> </th></tr> <tr><th><?php echo __('Name'); ?> </th><td><?php echo $application->getAuthorEmail() ? mail_to($application->getAuthorEmail(), $application->getAuthor(), array('encode' => true)) : $application->getAuthor(); ?> </td></tr> <tr><th><?php echo __('Affiliation'); ?> </th><td><?php echo $application->getAuthorAffiliation(); ?> </td></tr> <tr><th><?php echo __('Aboutme'); ?> </th><td><?php echo $application->getAuthorAboutme(); ?>
function renderPhotographer($photographer, $classNum) { ?> <div class="job-list-item-<?php echo $classNum; ?> "> <table class="job-table" width="100%"> <col width="32%"></col> <col width="36%"></col> <col width="32%"></col> <tr> <td><?php echo link_to($photographer->getName(), "photographer_view", $photographer); ?> </td> <td><?php echo mail_to($photographer->getEmail(), $photographer->getEmail()); ?> </td> </tr> <tr> <td><?php echo $photographer->getAffiliation(); ?> </td> <td><?php echo $photographer->getPhone(); ?> </td> <td align="center"><?php echo link_to($photographer->getNumberOfJobs() . " jobs", "photographer_view_jobs", $photographer); ?> </td> </tr> </table> </div> <?php }
<? $divid = uniqid(); ?> <?php echo $i->getEmail() . image_tag("icons/hourglass", array("class" => "invitationcard_button", "id" => "invitationcard_button_" . $divid, "title" => __('Invitation details'))); ?> <br> <div class="invitationcard" id="invitationcard_<?php echo $divid; ?> "> <div> Email:<span class="right"><?php echo mail_to($i->getEmail(), $i->getEmail()); ?> </span> </div> <div> <?php echo __('First invited'); ?> : <span class="right"><?php echo $i->getCreatedAt(); ?> </span> </div> <? if ($i->getCounter() > 1 ): ?> <div> <?php echo __('Times invited'); ?> : <span class="right"><?php
?> <?php use_helper("Gravatar"); ?> <?php echo gravatar_image_tag($user['Author']['email']); ?> <?php if ($user['Author']['first_name']) { ?> <p> <strong>Name:</strong> <span class='author-name'> <?php echo mail_to($user['Author']['email'], $user['Author']['first_name'] . ' ' . $user['Author']['last_name']); ?> </span> </p> <?php } ?> <?php if (trim($user['Author']['bio'])) { ?> <strong>Bio:</strong> <p> <?php echo $user['Author']['bio']; ?>
function op_mail_to($route, $params = array(), $name = '', $options = array(), $default_value = array()) { $configuration = sfContext::getInstance()->getConfiguration(); $configPath = '/mobile_mail_frontend/config/routing.yml'; $files = array_merge(array(sfConfig::get('sf_apps_dir') . $configPath), $configuration->globEnablePlugin('/apps' . $configPath)); $user = sfContext::getInstance()->getUser(); if (sfConfig::get('op_is_mail_address_contain_hash') && $user->hasCredential('SNSMember')) { $params['hash'] = $user->getMember()->getMailAddressHash(); } $routing = new opMailRouting(new sfEventDispatcher()); $config = new sfRoutingConfigHandler(); $routes = $config->evaluate($files); $routing->setRoutes(array_merge(sfContext::getInstance()->getRouting()->getRoutes(), $routes)); return mail_to($routing->generate($route, $params), $name, $options, $default_value); }
<div class="namecard" id="namecard_<?php echo $divid; ?> "> <div> <?php echo __('Name'); ?> <span class="right"><?php echo $p->getName(); ?> </span> </div> <div> Email:<span class="right"><?php echo mail_to($p->getEmail(), $p->getEmail()); ?> </span> </div> <div> <?php echo __('Federal ID'); ?> <span class="right"><?php echo $p->getFedid(); ?> </span> </div> </div> <? if ($i) :?>
echo $usr->getMail(); ?> <?php $languages = sfConfig::get('app_languages'); ?> <?php foreach ($languages as $lang => $country) { ?> <?php echo link_to('<img src="' . image_path('/images/' . $lang . '_icon.png') . '" alt="' . $country . '"/>', url_for('lang/' . $lang)); ?> <?php } ?> <?php echo mail_to('*****@*****.**', '<img src="' . image_path('/images/71.png') . '" alt="Bug" /> ' . __('Signaler un bogue')); ?> <?php echo link_to('<img src="' . image_path('/images/51.png') . '" alt="Help" /> ' . __('Aide'), url_for('help'), array('popup' => array('RdvZ ' . __('Aide'), 'left=320,top=200,width=1000,height=700,scrollbars=yes'))); ?> <?php echo link_to('<img src="' . image_path('/images/shutdown.png') . '" alt="' . __('Déconnexion') . '" title="' . __('Déconnexion') . '" />', 'out'); ?> </div> <?php } ?> <div id="footer"> <?php echo link_to("Un logiciel libre de l'Université d'Avignon et des Pays de Vaucluse", 'http://gpl.univ-avignon.fr', array('target' => '_blank')); ?>
?> <?php if (isset($member)) { ?> <?php $person = PersonPeer::retrieveByPK($member->getPersonId()); ?> <?php if (isset($person)) { ?> <?php echo $person->getTitle() . $person->getFirstName() . ' ' . $person->getLastName() . '<br/>'; ?> <?php if ($person->getEmail()) { echo mail_to($person->getEmail()); } ?> <?php } ?> <?php } ?> <?php } ?> <?php } ?> </div>
echo '<br />'; switch ($tabtable->get_active_tab_id()) { case 'participants': echo '<input type="hidden" name="status" />'; echo '<table border="0">'; echo '<tr><td><h3>' . $strName . '</td>'; echo '<td><h3>' . $strEmail . '</td>'; echo '<td><h3>' . $sc_status . '</td></tr>'; while ($cal->next_record()) { echo '<tr><td nowrap>'; if ($cal->f('user_id') > 0) { echo show_profile($cal->f('user_id'), '', 'normal', $link_back); } else { echo show_profile_by_email($cal->f('email'), '', $link_back) . ' </td>'; } echo '<td nowrap>' . mail_to($cal->f('email')) . ' </td><td>'; switch ($cal->f('status')) { case '0': echo $sc_not_responded; break; case '1': echo $sc_accepted; break; case '2': echo $sc_declined; break; } echo '</td></tr>'; } echo '</table>'; $status = $cal->get_event_status($event_id, $_SESSION['GO_SESSION']['email']);
<ul> <li>Level 2 Graduate Credit (<?php print link_to("Learn More", "info/act48level2"); ?> | <?php print link_to("View as PDF", "https://s3.amazonaws.com/static.globalclassroom.us/pdf/Level_II_Certification.pdf"); ?> )</li> <li>Permanent Certification Credit</li> </ul> <br/> <h5>Professional Learning Units (PLU's) (Georgia only)</h5> <p> The Georgia Department of Education has approved all teacher college courses for statewide approval. A teacher needs: Georgia Prior Approval form and the Georgia Course completion form. For more information contact <?php print mail_to("*****@*****.**", "Student Services", "encode=true"); ?> . </p> <br/> <h5>Certificate of Achievement or Continuing Education Units (CEU)</h5> <p> One Continuing Education Unit (CEU) represents 15 contact hours of instruction. As an example, a 3 CEU credit course provides 45 contact hours of instruction. </p> <p> All Global Classroom students are provided with a Certificate of Career Achievement upon the successful completion of a course or learning program. </p> </div>
</dd> <dt>Did you follow a link from somewhere else at this site?</dt> <dd> If you reached this page from another part of this site, please <?php echo mail_to(sfConfig::get('app_site_email'), 'email us', 'encode=true'); ?> so we can correct our mistake. </dd> <dt>Did you follow a link from another site?</dt> <dd> Links from other sites can sometimes be outdated or misspelled. <?php echo mail_to(sfConfig::get('app_site_email'), 'Email us', 'encode=true'); ?> the site where you came from, and we can try to contact the other site in order to fix the problem. </dd> <dt>What’s next</dt> <dd> <ul class="sfTIconList"> <li class="sfTLinkMessage"><a href="javascript:history.go(-1)">Back to previous page</a></li> <li class="sfTLinkMessage"><?php echo link_to('Go to Homepage', '@homepage'); ?> </li> </ul> </dd>
print number_format($item1->getAmount(), 2); ?> fee)<br /> <input type="radio" name="purchase_item" id="credits2" value="<?php print $item2->getShortName(); ?> " /> 2 Credit Course ($<?php print number_format($item2->getAmount(), 2); ?> fee)<br /> <input type="radio" name="purchase_item" id="credits3" value="<?php print $item3->getShortName(); ?> " /> 3 Credit Course ($<?php print number_format($item3->getAmount(), 2); ?> fee)<br /><br /> <input type="hidden" name="token" id="token" value="<?php print GcrEschoolTable::generateRandomString(); ?> " /> NOTE: Selecting the wrong number of credits could result in a delay of the issuing of your transcript.<br/><br/> Contact <?php print mail_to("*****@*****.**", "*****@*****.**", array('encode' => 'true', 'class' => 'email_link')); ?> with any questions.<br/><br/> <input type="submit" class="button" value="Continue" /> </form> </div>
/** * This contains all the system-wide phpmailer functions * @version $Id: phpmailer.php 40 2011-02-09 14:10:00Z biyi $ * @package Platform * @category Function * @author Biyi Akinpelu * @link mailto:biyi@entilda.com * @copyright Copyright (C) 2011 - 2012 The Platform Authors. All rights reserved. * @license GNU Public Licence, see LICENSE.php * Platform is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */ function mail_send($subject, $body, $mail_to, $mail_from, $format = null, $copy_to = null, $attachment = null) { global $phpmailer; $phpmailer->Subject = $subject; $phpmailer->Body = $body; // set email format to HTML or PLAINTEXT switch ($format) { case 'text': // disable HTML $phpmailer->IsHTML(false); break; case 'html': default: $phpmailer->IsHTML(true); break; } if (!is_null($copy_to)) { mail_copy_to($copy_to); } else { mail_to($mail_to); } if (!is_null($attachment)) { mail_attachment($attachment); } $mail_send = $phpmailer->Send(); $phpmailer->ClearAllRecipients(); return $mail_send; }