MSV FM

dot.antimicrobial@66.96.161.157: ~ $
Path : /hermes/sb_web/b2680/genesisperformancecoaching.com/ask/
File Upload :
Current < : /hermes/sb_web/b2680/genesisperformancecoaching.com/ask/mirror.php

<?php
# Prevent errors from showing
error_reporting(0);

# Include Required files
# --------------------------------------------------------------------------------
@include_once("bin/config.ask.php");
@include_once("bin/session.inc.php");
@include_once("bin/functions.inc.php");

# Convert HTML entites
$_common = decode_enties($_common);
$_mirror = decode_enties($_mirror);

# Return Submitted form values
$_FORM = form_values($_POST);

# Should Audio play automatically?
# --------------------------------------------------------------------------------
$mirror_audio = audio_auto_play("stop_mirror_audio","_mirror");
$width = img_dims($_mirror['image']);

# Set Session vars
if(!empty($_FORM['formname'])){ $_SESSION['name'] = " " . ucwords($_FORM['formname']); }
else                          { $_SESSION['name'] = '';                          }
if(!empty($_FORM['formemail1'])){ $_SESSION['email'] = " " . $_FORM['formemail1']; }
else                            { $_SESSION['email'] = '';                   }
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><?php echo $_common['title']; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="keywords" content="<?php echo $_common['keywords']; ?>">
<meta name="description" content="<?php echo $_common['description']; ?>">
<link href="styles/default.css" rel="stylesheet" type="text/css">
<link href="styles/<?php echo $_common['template']; ?>.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="scripts/default.js"></script>
</head>
<body>
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td id="banner"><table width="770" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="1"><img src="images/spacer.gif" width="1" height="145"></td>
          <td class="bannerPad"><h1 align="center"><?php echo $_common['campaign']; ?></h1></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td class="rowBg">
	<div id="content">
        <table width="710" border="0" align="center" cellpadding="8" cellspacing="0" class="copy">
          <tr>
            <td width="200"><table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td><div align="center"><img src="<?php echo $_mirror['image']; ?>" width="<?php echo $width; ?>"></div></td>
                </tr>
                <tr>
                  <td>
				       <table border="0" align="center" cellpadding="0" cellspacing="0" class="copy">
                        <tr>
                          <td width="18"><img src="images/ask-audio_01.jpg" width="18" height="18"></td>
                          
                        <td width="127" class="topAudio"><img src="images/spacer.gif" width="1" height="18"></td>
                          
                        <td width="19"><img src="images/ask-audio_05.jpg" width="18" height="18"></td>
                        </tr>
                        <tr>                          
                        <td class="leftAudio"><img src="images/spacer.gif" width="18" height="1"></td>
                          <td><div align="center" class="copy12"><?php if(!empty($_mirror['audio'])){ ?>You're Listening to ...<br>
                            <?php } /* end if */ echo $_common['talent_first_name'] . " " . $_common['talent_last_name']; if(!empty($_mirror['audio'])){ ?><br>
                            <img src="images/listen_10.gif" width="29" height="30"><?php echo $mirror_audio; } /* end if */ ?>
							</div></td>
                          <td class="rightAudio"><img src="images/spacer.gif" width="18" height="1"></td>
                        </tr>
                        <tr>
                          
                        <td><img src="images/ask-audio_11.jpg" width="18" height="18"></td>
                          <td class="bottomAudio"><img src="images/spacer.gif" width="1" height="18"></td>
                          
                        <td><img src="images/ask-audio_15.jpg" width="18" height="18"></td>
                        </tr>
                      </table>
                      </td>
                </tr>
              </table></td>
            <td><div align="center"> 
                <h2>Thank you<?php echo $_SESSION['name']; ?>, your input <br>
                is important to <?php echo $_common['pronoun']; ?>. </h2>
				<p>Before you go, let's make sure that this is<br>
                  the exact question you want to ask <?php echo $_common['pronoun']; ?>:</p>
				  <div align="left" class="replayQuestion"><?php echo $_FORM['formquestion']; ?></div>
              </div></td>
          </tr>
        </table>     
        <table width="710" border="0" align="center" cellpadding="0" cellspacing="0" class="copy">
          <tr>
            <td width="50%"><form action="index.php" method="post" name="form1">
			<?php echo make_hidden_elements($_FORM); ?>
				<table border="0" align="center" cellpadding="0" cellspacing="0">
				  <tr><td><div align="center" class="smButtonPad" onMouseDown="this.style.backgroundColor='#33cc33';" onMouseOver="this.style.backgroundColor='#33CC33'" onMouseOut="this.style.backgroundColor='#CC3333'"><div style="border: solid 1px #000000;">
				    <div id="notQuite" class="smButton" onMouseOver="alexButton('over', this.id)" onMouseOut="alexButton('up', this.id)" onMouseDown="alexButton('press', this.id)" onMouseUp="alexButton('up', this.id)" onClick="document.form1.submit();">&nbsp;&laquo; Not Quite, Let Me Try Again&nbsp;</div></div></div>
				</td></tr></table>
                </form>
        </td>
            <td><form name="form2" method="post" action="http://www.askdatabase.com/askthanks.php?w=1">
                <?php echo make_hidden_elements($_FORM, true); ?>
				<table border="0" align="center" cellpadding="0" cellspacing="0">
				  <tr><td><div align="center" class="smButtonPad" onMouseDown="this.style.backgroundColor='#33cc33';" onMouseOver="this.style.backgroundColor='#33CC33'" onMouseOut="this.style.backgroundColor='#CC3333'"><div style="border: solid 1px #000000;">
				    <div id="thatsIt" class="smButton" onMouseOver="alexButton('over', this.id)" onMouseOut="alexButton('up', this.id)" onMouseDown="alexButton('press', this.id)" onMouseUp="alexButton('up', this.id)" onClick="document.form2.submit();">Yes, <?php echo $_common['talent_first_name']; ?> Here's My Question &raquo;&nbsp;</div></div></div>
				</td></tr></table>
              </form></td>
          </tr>
        </table>
      </div></td>
  </tr>
  <tr>
    <td><img src="images/ask_05.jpg" width="770" height="30"></td>
  </tr>
</table>
<div class="copyright" align="center">&copy; Copyright <?php echo date("Y"); ?> <?php echo $_common['copyright']; ?></div>
</body>
</html>
<?php
# Set SESSION var to stop Audio the next time the page loads
$_SESSION['stop_mirror_audio'] = "no audio";
?>