<?php 
$d = 0; // search depth;
while (!file_exists(str_repeat('../', $d) . 'wp-config.php')) if (++$d > 99) exit;
$wp_config = str_repeat('../', $d) . 'wp-config.php';
require_once($wp_config);
?>
<!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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script language="javascript" type="text/javascript" src="<?php bloginfo('wpurl'); ?>/wp-includes/js/tinymce/tiny_mce_popup.js"></script>

<script type="text/javascript">

function getCheckedValue(radioObj) {
	if(!radioObj)
		return "";
	var radioLength = radioObj.length;
	if(radioLength == undefined)
		if(radioObj.checked)
			return radioObj.value;
		else
			return "";
	for(var i = 0; i < radioLength; i++) {
		if(radioObj[i].checked) {
			return radioObj[i].value;
		}
	}
	return "";
}


function insertArrow() {
	
	var arrow = getCheckedValue(document.getElementsByName('flxarrow'));

		if (arrow != 0){

			if (arrow == 'redarrows') {
			arrowcode = '<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:15px auto 0px auto;display:block;"><tr><td width="80"><img src="<?php bloginfo('template_directory'); ?>/images/right-arrow-red.png" style="margin-right:15px;"/></td><td width="99%" align="center"><p style="text-align: center;"><a><img src="<?php bloginfo('template_directory'); ?>/images/buttons/Sign-Up-Now-Scruffie.png" alt="" /></a></p></td><td width="80"><img src="<?php bloginfo('template_directory'); ?>/images/left-arrow-red.png" style="margin-left:15px;"/></td></tr></table><p>Continue your page here...</p>';
			}
			
			if (arrow == 'bluearrows') {
			arrowcode = '<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:15px auto 0px auto;display:block;"><tr><td width="80"><img src="<?php bloginfo('template_directory'); ?>/images/right-arrow-blue.png" style="margin-right:15px;"/></td><td width="99%" align="center"><p style="text-align: center;"><a><img src="<?php bloginfo('template_directory'); ?>/images/buttons/Sign-Up-Now-Scruffie.png" alt="" /></a></p></td><td width="80"><img src="<?php bloginfo('template_directory'); ?>/images/left-arrow-blue.png" style="margin-left:15px;"/></td></tr></table><p>Continue your page here...</p>';
			}
			
			if (arrow == 'greenarrows') {
			arrowcode = '<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:15px auto 0px auto;display:block;"><tr><td width="80"><img src="<?php bloginfo('template_directory'); ?>/images/right-arrow-green.png" style="margin-right:15px;"/></td><td width="99%" align="center"><p style="text-align: center;"><a><img src="<?php bloginfo('template_directory'); ?>/images/buttons/Sign-Up-Now-Scruffie.png" alt="" /></a></p></td><td width="80"><img src="<?php bloginfo('template_directory'); ?>/images/left-arrow-green.png" style="margin-left:15px;"/></td></tr></table><p>Continue your page here...</p>';
			}
			
			if (arrow == 'greyarrows') {
			arrowcode = '<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:15px auto 0px auto;display:block;"><tr><td width="80"><img src="<?php bloginfo('template_directory'); ?>/images/right-arrow-grey.png" style="margin-right:15px;"/></td><td width="99%" align="center"><p style="text-align: center;"><a><img src="<?php bloginfo('template_directory'); ?>/images/buttons/Sign-Up-Now-Scruffie.png" alt="" /></a></p></td><td width="80"><img src="<?php bloginfo('template_directory'); ?>/images/left-arrow-grey.png" style="margin-left:15px;"/></td></tr></table><p>Continue your page here...</p>';
			}
			
			if (arrow == 'orangearrows') {
			arrowcode = '<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:15px auto 0px auto;display:block;"><tr><td width="80"><img src="<?php bloginfo('template_directory'); ?>/images/right-arrow-orange.png" style="margin-right:15px;"/></td><td width="99%" align="center"><p style="text-align: center;"><a><img src="<?php bloginfo('template_directory'); ?>/images/buttons/Sign-Up-Now-Scruffie.png" alt="" /></a></p></td><td width="80"><img src="<?php bloginfo('template_directory'); ?>/images/left-arrow-orange.png" style="margin-left:15px;"/></td></tr></table><p>Continue your page here...</p>';
			}
			
			if (arrow == 'smallredarrows') {
			arrowcode = '<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:15px auto;display:block;"><tr><td width="78"><img src="<?php bloginfo('template_directory'); ?>/images/button-arrow-left-red.png"/></td><td  width="99%" align="center"><p style="text-align: center;"><a><img src="<?php bloginfo('template_directory'); ?>/images/buttons/Sign-Up-Now-Scruffie.png" alt="" /></a></p></td><td width="78"><img src="<?php bloginfo('template_directory'); ?>/images/button-arrow-right-red.png"/></td></tr></table><p>Continue your page here...</p>';
			}
			
			if (arrow == 'smallbluearrows') {
			arrowcode = '<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:15px auto;display:block;"><tr><td width="78"><img src="<?php bloginfo('template_directory'); ?>/images/button-arrow-left-blue.png"/></td><td  width="99%" align="center"><p style="text-align: center;"><a><img src="<?php bloginfo('template_directory'); ?>/images/buttons/Sign-Up-Now-Scruffie.png" alt="" /></a></p></td><td width="78"><img src="<?php bloginfo('template_directory'); ?>/images/button-arrow-right-blue.png"/></td></tr></table><p>Continue your page here...</p>';
			}
			
			if (arrow == 'smallorangearrows') {
			arrowcode = '<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:15px auto;display:block;"><tr><td width="78"><img src="<?php bloginfo('template_directory'); ?>/images/button-arrow-left-orange.png"/></td><td  width="99%" align="center"><p style="text-align: center;"><a><img src="<?php bloginfo('template_directory'); ?>/images/buttons/Sign-Up-Now-Scruffie.png" alt="" /></a></p></td><td width="78"><img src="<?php bloginfo('template_directory'); ?>/images/button-arrow-right-orange.png"/></td></tr></table><p>Continue your page here...</p>';
			}
			
			if (arrow == 'smallgreenarrows') {
			arrowcode = '<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:15px auto;display:block;"><tr><td width="78"><img src="<?php bloginfo('template_directory'); ?>/images/button-arrow-left-green.png"/></td><td  width="99%" align="center"><p style="text-align: center;"><a><img src="<?php bloginfo('template_directory'); ?>/images/buttons/Sign-Up-Now-Scruffie.png" alt="" /></a></p></td><td width="78"><img src="<?php bloginfo('template_directory'); ?>/images/button-arrow-right-green.png"/></td></tr></table><p>Continue your page here...</p>';
			}
			
			if (arrow == 'downarrowred') {
			arrowcode = '<img class="aligncenter" src="<?php bloginfo('template_directory'); ?>/images/down-arrow-red.png" alt="" /><p>Continue your page here...</p>';
			}
			
			if (arrow == 'downarrowblue') {
			arrowcode = '<img class="aligncenter" src="<?php bloginfo('template_directory'); ?>/images/down-arrow-blue.png" alt="" /><p>Continue your page here...</p>';
			}
			
			if (arrow == 'downarrowgreen') {
			arrowcode = '<img class="aligncenter" src="<?php bloginfo('template_directory'); ?>/images/down-arrow-green.png" alt="" /><p>Continue your page here...</p>';
			}
			
			if (arrow == 'downarroworange') {
			arrowcode = '<img class="aligncenter" src="<?php bloginfo('template_directory'); ?>/images/down-arrow-orange.png" alt="" /><p>Continue your page here...</p>';
			}
			
			if (arrow == 'downarrowgrey') {
			arrowcode = '<img class="aligncenter" src="<?php bloginfo('template_directory'); ?>/images/down-arrow-grey.png" alt="" /><p>Continue your page here...</p>';
			}
			
			if (arrow == 'downarrowred2') {
			arrowcode = '<img class="aligncenter" src="<?php bloginfo('template_directory'); ?>/images/da_red2.png" alt="" /><p>Continue your page here...</p>';
			}
			
			if (arrow == 'downarroworange2') {
			arrowcode = '<img class="aligncenter" src="<?php bloginfo('template_directory'); ?>/images/da_orange2.png" alt="" /><p>Continue your page here...</p>';
			}
			
			if (arrow == 'downarrowgold') {
			arrowcode = '<img class="aligncenter" src="<?php bloginfo('template_directory'); ?>/images/da_gold2.png" alt=""/><p>Continue your page here...</p>';
			}
			
			if (arrow == 'downarrowblue2') {
			arrowcode = '<img class="aligncenter" src="<?php bloginfo('template_directory'); ?>/images/da_blue2.png" alt=""/><p>Continue your page here...</p>';
			}
			
			if (arrow == 'downarrowgreen2') {
			arrowcode = '<img class="aligncenter" src="<?php bloginfo('template_directory'); ?>/images/da_green2.png" alt=""/><p>Continue your page here...</p>';
			}
			
			if (arrow == 'downarrowgrey2') {
			arrowcode = '<img class="aligncenter" src="<?php bloginfo('template_directory'); ?>/images/da_gray2.png" alt=""/><p>Continue your page here...</p>';
			}
			
			if (arrow == 'wraparrowred') {
			arrowcode = '<div class="arrowredleft" style="min-height:230px;margin-left: -95px; margin-right: -95px; width: 840px;"><div class="arrowredright" style="min-height:230px;"><div style="width: 500px; margin: 0pt auto;"><p style="text-align: center;"><span style="font-family: georgia,palatino; font-size: 32px; letter-spacing: -2px; line-height: 115%;">Buy Now and Get This Special Bonus!</span></p><p style="text-align: center;"><span style="font-family: georgia, palatino; font-size: 32px; letter-spacing: -2px; line-height: 115%;"> </span></p><p style="text-align: center;"><span style="font-family: trebuchet ms,geneva; font-size: 22px; letter-spacing: -1px; line-height: 115%;">Receive my 138 page report on SEO secrets that you <strong>MUST KNOW</strong> to rank well in the search engines!</span></p><p style="text-align: center;"><span style="font-family: trebuchet ms,geneva; font-size: 22px; letter-spacing: -1px; line-height: 115%;"> </span></p><p style="text-align: center;"><a><img src="<?php bloginfo('template_directory'); ?>/images/buttons/Order-Now-Scruffie.png" alt="" /></a></p></div></div></div><p>Continue your page here...</p>';
			}
			
			if (arrow == 'wraparrowblue') {
			arrowcode = '<div class="arrowblueleft" style="min-height:230px;margin-left: -95px; margin-right: -95px; width: 840px;"><div class="arrowblueright" style="min-height:230px;"><div style="width: 500px; margin: 0pt auto;"><p style="text-align: center;"><span style="font-family: georgia,palatino; font-size: 32px; letter-spacing: -2px; line-height: 115%;">Buy Now and Get This Special Bonus!</span></p><p style="text-align: center;"><span style="font-family: georgia, palatino; font-size: 32px; letter-spacing: -2px; line-height: 115%;"> </span></p><p style="text-align: center;"><span style="font-family: trebuchet ms,geneva; font-size: 22px; letter-spacing: -1px; line-height: 115%;">Receive my 138 page report on SEO secrets that you <strong>MUST KNOW</strong> to rank well in the search engines!</span></p><p style="text-align: center;"><span style="font-family: trebuchet ms,geneva; font-size: 22px; letter-spacing: -1px; line-height: 115%;"> </span></p><p style="text-align: center;"><a><img src="<?php bloginfo('template_directory'); ?>/images/buttons/Order-Now-Scruffie.png" alt="" /></a></p></div></div></div><p>Continue your page here...</p>';
			}
			
			if (arrow == 'wraparrowgreen') {
			arrowcode = '<div class="arrowgreenleft" style="min-height:230px;margin-left: -95px; margin-right: -95px; width: 840px;"><div class="arrowgreenright" style="min-height:230px;"><div style="width: 500px; margin: 0pt auto;"><p style="text-align: center;"><span style="font-family: georgia,palatino; font-size: 32px; letter-spacing: -2px; line-height: 115%;">Buy Now and Get This Special Bonus!</span></p><p style="text-align: center;"><span style="font-family: georgia, palatino; font-size: 32px; letter-spacing: -2px; line-height: 115%;"> </span></p><p style="text-align: center;"><span style="font-family: trebuchet ms,geneva; font-size: 22px; letter-spacing: -1px; line-height: 115%;">Receive my 138 page report on SEO secrets that you <strong>MUST KNOW</strong> to rank well in the search engines!</span></p><p style="text-align: center;"><span style="font-family: trebuchet ms,geneva; font-size: 22px; letter-spacing: -1px; line-height: 115%;"> </span></p><p style="text-align: center;"><a><img src="<?php bloginfo('template_directory'); ?>/images/buttons/Order-Now-Scruffie.png" alt="" /></a></p></div></div></div><br style="clear:both;" /><p>Continue your page here...</p>';
			}
			
			if (arrow == 'wraparroworange') {
			arrowcode = '<div class="arroworangeleft" style="min-height:230px;margin-left: -95px; margin-right: -95px; width: 840px;"><div class="arroworangeright" style="min-height:230px;"><div style="width: 500px; margin: 0pt auto;"><p style="text-align: center;"><span style="font-family: georgia,palatino; font-size: 32px; letter-spacing: -2px; line-height: 115%;">Buy Now and Get This Special Bonus!</span></p><p style="text-align: center;"><span style="font-family: georgia, palatino; font-size: 32px; letter-spacing: -2px; line-height: 115%;"> </span></p><p style="text-align: center;"><span style="font-family: trebuchet ms,geneva; font-size: 22px; letter-spacing: -1px; line-height: 115%;">Receive my 138 page report on SEO secrets that you <strong>MUST KNOW</strong> to rank well in the search engines!</span></p><p style="text-align: center;"><span style="font-family: trebuchet ms,geneva; font-size: 22px; letter-spacing: -1px; line-height: 115%;"> </span></p><p style="text-align: center;"><a><img src="<?php bloginfo('template_directory'); ?>/images/buttons/Order-Now-Scruffie.png" alt="" /></a></p></div></div></div><p>Continue your page here...</p>';
			}
			
			if (arrow == 'scruffiefour') {
			arrowcode = '<img class="aligncenter" src="<?php bloginfo('template_directory'); ?>/images/arrows_four_down.png" alt="" /><p>Continue your page here...</p>';
			}
			
			if (arrow == 'scruffiethree') {
			arrowcode = '<img class="aligncenter" src="<?php bloginfo('template_directory'); ?>/images/arrows_three_down.png" alt="" /><p>Continue your page here...</p>';
			}
			
			if (arrow == 'pressplay') {
			arrowcode = '<img class="aligncenter" src="<?php bloginfo('template_directory'); ?>/images/arrows_four_down_press_play.png" alt="" /><p>Continue your page here...</p>';
			}
			
		}

		
		if ( arrow == 0 ){
			tinyMCEPopup.close();
		}
	if(window.tinyMCE) {
		if (typeof tinyMCEPopup.editor.insertContent == 'function') { // tinymce 4.x
			tinyMCEPopup.editor.insertContent(arrowcode);
		} else { // tinymce 3.x
			window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, arrowcode);
		} 
		
		tinyMCEPopup.editor.execCommand('mceRepaint');
		tinyMCEPopup.close();
	}

	return;
}
</script>

<title>FlexSqueeze Miscellaneous Elements</title>
<style type="text/css">
td img:hover, input:hover {cursor:pointer;}
td {border:1px solid #fff;}
.cancelbtn, .submitbtn {padding:5px;}
.cancelbtn:hover, .submitbtn:hover {background-color:#555;color:#fff;}

</style>
</head>

<body onLoad="tinyMCEPopup.executeOnLoad('init();');">
<form action="#" method="post" name="flexmisc">
  <table id="boxchoices" width="664" cellpadding="8">
    <tr>
       
        <td style="text-align:center;"><label>
        <img src="arrowsred.gif" /><br />
        <strong>Red Arrows w/Button</strong> <br />
        (easily delete button and replace with other content)<br />
        <input type="radio" name="flxarrow" value="redarrows" />
        </label></td>
       
       <td style="text-align:center;"><label>
       <img src="arrowsblue.gif" /><br />
        <strong>Blue Arrows w/Button</strong> <br />
        (easily delete button and replace with other content)<br />
        <input type="radio" name="flxarrow" value="bluearrows" />
        </label></td>
        
        <td style="text-align:center;"><label>
       <img src="arrowsgreen.gif" />
        <br />
        <strong>Green Arrows w/Button</strong> <br />
        (easily delete button and replace with other content)<br />
        <input type="radio" name="flxarrow" value="greenarrows" />
        </label></td>
    </tr>
    
    <tr>
      
        
        <td style="text-align:center;"><label>
        <img src="arrowsorange.gif" /><br />
        <strong>Orange Arrows w/Button </strong><br />
        (easily delete button and replace with other content)<br />
        <input type="radio" name="flxarrow" value="orangearrows" />
        </label></td>
       
       <td style="text-align:center;"><label>
       <img src="arrowsgrey.gif" /><br />
        <strong>Grey Arrows w/Button</strong> <br />
        (easily delete button and replace with other content)<br />
        <input type="radio" name="flxarrow" value="greyarrows" />
        </label></td>
        
        <td style="text-align:center;"><label>
       <img src="smarrowsred.gif" />
        <br />
        <strong>Small Red Arrows</strong> <br />
        (easily delete button and replace with other content)<br />
        <input type="radio" name="flxarrow" value="smallredarrows" />
        </label></td>
    </tr>
    
    <tr>
      
        
        <td style="text-align:center;"><label>
        <img src="smarrowsblue.gif" /><br />
        <strong>Small Blue Arrows </strong><br />
        (easily delete button and replace with other content)<br />
        <input type="radio" name="flxarrow" value="smallbluearrows" />
        </label></td>
       
       <td style="text-align:center;"><label>
       <img src="smarrowsgreen.gif" /><br />
        <strong>Small Green Arrows</strong> <br />
        (easily delete button and replace with other content)<br />
        <input type="radio" name="flxarrow" value="smallgreenarrows" />
        </label></td>
        
        <td style="text-align:center;"><label>
       <img src="smarrowsorange.gif" />
        <br />
        <strong>Small Orange Arrows</strong> <br />
        (easily delete button and replace with other content)<br />
        <input type="radio" name="flxarrow" value="smallorangearrows" />
        </label></td>
    </tr>
    
    <tr>
      
        
        <td style="text-align:center;"><label>
        <img src="downarrowred.gif" /><br />        
        <strong>Down Arrow Red </strong><br />
        <input type="radio" name="flxarrow" value="downarrowred" />
        </label></td>
       
       <td style="text-align:center;"><label>
       <img src="downarrowblue.gif" /><br />
        <strong>Down Arrow Blue</strong><br />
        <input type="radio" name="flxarrow" value="downarrowblue" />
        </label></td>
        
        <td style="text-align:center;"><label>
       <img src="downarrowgreen.gif" />
        <br />
        <strong>Down Arrow Green</strong> <br />
        <input type="radio" name="flxarrow" value="downarrowgreen" />
        </label></td>
    </tr>
    
    <tr>
      
        
        <td style="text-align:center;"><label>
        <img src="downarroworange.gif" /><br />
        <strong>Down Arrow Orange </strong><br />
        <input type="radio" name="flxarrow" value="downarroworange" />
        </label></td>
       
       <td style="text-align:center;"><label>
       <img src="downarrowgrey.gif" /><br />
        <strong>Down Arrow Grey</strong><br />
        <input type="radio" name="flxarrow" value="downarrowgrey" />
        </label></td>
        
        <td style="text-align:center;"><label>
       <img src="downarrowred2.gif" />
        <br />
        <strong>Down Arrow Red</strong> <br />
        <input type="radio" name="flxarrow" value="downarrowred2" />
        </label></td>
    </tr>
    
    <tr>
      
        
        <td style="text-align:center;"><label>
        <img src="downarroworange2.gif" /><br />
        <strong>Down Arrow Orange</strong><br />
        <input type="radio" name="flxarrow" value="downarroworange2" />
        </label></td>
       
       <td style="text-align:center;"><label>
       <img src="downarrowgold.gif" /><br />
        <strong>Down Arrow Gold</strong><br />
        <input type="radio" name="flxarrow" value="downarrowgold" />
        </label></td>
        
        <td style="text-align:center;"><label>
       <img src="downarrowblue2.gif" />
        <br />
        <strong>Down Arrow Blue</strong> <br />
        <input type="radio" name="flxarrow" value="downarrowblue2" />
        </label></td>
    </tr>
    
    <tr>
      
        
        <td style="text-align:center;"><label>
        <img src="downarrowgreen2.gif" /><br />
        <strong>Down Arrow Green</strong><br />
        <input type="radio" name="flxarrow" value="downarrowgreen2" />
        </label></td>
       
       <td style="text-align:center;"><label>
       <img src="downarrowgrey2.gif" /><br />
        <strong>Down Arrow Grey</strong><br />
        <input type="radio" name="flxarrow" value="downarrowgrey2" />
        </label></td>
        
        <td style="text-align:center;"><label>
       <img src="wraparrowred.gif" />
        <br />
        <strong>Wrap Arrow Red</strong> <br />
        This element is only usable on sales pages with a page width of 840 pixels (all numbered templates)<br />
        <input type="radio" name="flxarrow" value="wraparrowred" />
        </label></td>
    </tr>
    
    <tr>
      
        
        <td style="text-align:center;"><label>
        <img src="wraparroworange.gif" /><br />
        <strong>Wrap Arrow Orange </strong><br />
        This element is only usable on sales pages with a page width of 840 pixels (all numbered templates)<br />
        <input type="radio" name="flxarrow" value="wraparroworange" />
       </label></td>
       
       <td style="text-align:center;"><label>
       <img src="wraparrowblue.gif" /><br />
        <strong>Wrap Arrow Blue</strong><br />
        This element is only usable on sales pages with a page width of 840 pixels (all numbered templates)<br />
        <input type="radio" name="flxarrow" value="wraparrowblue" />
      </label></td>
        
        <td style="text-align:center;"><label>
       <img src="wraparrowgreen.gif" />
        <br />
        <strong>Wrap Arrow Red</strong> <br />
        This element is only usable on sales pages with a page width of 840 pixels (all numbered templates)<br />
        <input type="radio" name="flxarrow" value="wraparrowgreen" />
        </label></td>
    </tr>
    
    <tr>
      
        
        <td style="text-align:center;"><label>
        <img src="arrows_four_down.gif" /><br />
        <strong>Scruffie Down Arrows</strong><br />
        <input type="radio" name="flxarrow" value="scruffiefour" />
        </label></td>
       
       <td style="text-align:center;"><label>
        <img src="arrows_three_down.gif" /><br />
        <strong>Scruffie Down Arrows</strong><br />
        <input type="radio" name="flxarrow" value="scruffiethree" />
        </label></td>
        
        <td style="text-align:center;"><label>
       <img src="arrows_four_down_press_play.gif" />
        <br />
        <strong>Press Play</strong> <br />
        <input type="radio" name="flxarrow" value="pressplay" />
        </label></td>
    </tr>


    
    <tr>
  <td colspan="3">
  <input name="cancel" class="cancelbtn" type="button" value="Cancel"  onClick="tinyMCEPopup.close();" />
    
  <input name="submit" class="submitbtn" type="button" value="Insert Arrow" onClick="insertArrow();" />

    
  </td>
    </tr>
  </table>
</form>


</body>
</html>