Sindbad~EG File Manager

Current Path : /usr/home/beeson/public_html/helpwithmath_old/Install/
Upload File :
Current File : /usr/home/beeson/public_html/helpwithmath_old/Install/SaveOrRun4.php

<? 
// This file presents the Save Or Run button that (from the customer's point of view) starts the download.
// But before it does so, it checks that session variables OK, ProductType, and WhichDisk have valid values.
session_start();
$WhichDisk = $_SESSION['WhichDisk'];
$ProductType = $_SESSION['ProductType'];
$OK = $_SESSION['OK'];
if(strcmp($OK ,"ok") ||
   (strcmp($ProductType, "paid") && strcmp($ProductType, "lab") && strcmp($ProductType,"trial")) ||
   (strcmp($WhichDisk,"0") && strcmp($WhichDisk,"1") && strcmp($WhichDisk, "3") && strcmp($WhichDisk,"7"))
  )
    { header("Location: ../index.php");  
     //  redirect to main web page
    }   
 require_once('../query.php');
 if(!empty($_REQUEST['Submit32']))
   $_SESSION['OS'] = "Win32";
 if(!empty($_REQUEST['Submit64']))
   $_SESSION['OS'] = "Win64";
 if(!empty($_REQUEST['SubmitMac']))
   $_SESSION['OS'] = "Mac";
//  these values will be checked in download4.php to determine what file to download
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
 
<!------------------------------------------------------------------>
<!--                                                              -->
<!-- save_or_run.htm - sample page for                            -->
<!--                   One-Click Install save-or-run page         -->
<!--                                                              -->
<!-- Copyright � 2001-2002 InstallShield Software Corporation     -->
<!--                                                              -->

<title>InstallShield One-Click&trade; Install - MathXpert Setup</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252;"/>
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/nav4-0">

<style media="all" type="text/css">
BODY {
    font-family: "Verdana", "Arial", sans-serif;
    font-size: xx-small;
    color: black;
    background-color: white;
    margin: 0em;
}

IMG {
    border: none;
}

P {
    font-size: xx-small;
}

A {
    color: #002B55;
}

HR {
    width: 100%;
    height: 1px;
    color: #002B55;
}

TD {
    text-align: left;
    vertical-align: top;
}

.upperleft {
    background-image: url(UL.gif);
    background-position: top left;
    background-repeat: no-repeat;
}

.upperright {
    background-image: url(UR.gif);
    background-position: top right;
    background-repeat: no-repeat;
}

.lowerleft {
    background-image: url(LL.gif);
    background-position: bottom left;
    background-repeat: no-repeat;
}

.lowerright {
    background-image: url(LR.gif);
    background-position: bottom right;
    background-repeat: no-repeat;
}
</style>

<script language="JavaScript">
// Determine the browser version.
ns = -1;
ie = -1;
var reqstring;

if (navigator.appName.indexOf("Microsoft Internet Explorer") != -1) 
{
	if (parseFloat(navigator.appVersion) >= 4.0) 
	{ 
		ie = 1;
	} 
	else if (navigator.appVersion.indexOf("MSIE 3.02") != -1) 
	{ 
		ie = 1;
	} 
	else 
	{ 
		reqString = "Microsoft Internet Explorer 3.02 or higher"; 
	}
} 
else if (navigator.appName.indexOf("Netscape") != -1)
{
	if (parseFloat(navigator.appVersion) >= 4.04) 
	{ 
		ns = 1;
	} 
	else 
	{ 
		reqString = "Netscape Communicator 4.04 or higher"; 
	}
} 
else 
{ 
	reqString = "Netscape Communicator 4.04 or Internet Explorer 3.02 or higher"; 
}

function WriteSaveOrRun()
{
	if (ie == 1)
	{
		document.write("Save or Run");
	}
	else // Don't mention the "Run" option if this is Netscape.
	{
		document.write("Save");
	}
}

function WriteSaveOrRunImg()
{
if (ie == 1)
	{
		document.write("<img src=\"b_saveorrun.gif\" width=142 height=25 border=0>");
	}   
	else
	{  
		document.write("<img src=\"b_save.gif\" width=142 height=25 border=0>");
 	}
}

function WriteOrRunNow()
{
	if (ie == 1)
	{
		document.write(", or to download and run the installation now");
	}
}
function WriteRunInstructions()
{
	if (ie == 1)
	{
		document.writeln("<p style=\"line-height: 100%\" >To download and <b> run this setup now</b>:");
    	document.writeln("<ol>");
		document.writeln("<li>");
		document.writeln("<p style=\"line-height: 150%\" >Click the Save Or Run button at the upper right.  Then, in the File Download box, select <b>Run</b>.");
		document.writeln("<li>");
		document.writeln("<p style=\"line-height: 150%\" >Upon download, the InstallShield Wizard will <b> guide you through the setup</b>.</li>");
		document.writeln("</ol>");
	}
	// Don't mention the "Run" option if this is Netscape.
}
</script>

</head>
<body>

<map name="Help">
    <area href="http://support.installshield.com/help/oneclick/defaulthelp.htm" target="_blank" coords="470, 65, 535, 90" shape="rect">
</map>

<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 120px; background-image: url(header_fill.jpg); background-repeat: repeat-x;" id="Table1">
    <tr>
        <td style="width: 639px;"><img src="oci_header.jpg" width="639" height="120" border="0" usemap="#Help"></td>
        <td>&nbsp;</td>
    </tr>
</table>

<center>
<table border="0" cellpadding="10" cellspacing="0" style="width: 60%; background-color: #EDF1F4; margin-top: 1em;" id="Table2">
    <tr>
        <td class="upperleft">
            <span style="color: #002B55; font-size: medium;"><script language="JavaScript">WriteSaveOrRun();</script><noscript>Save or Run</noscript> MathXpert Setup</span>
        </td>
        <td class="upperright" style="width: 142px;"><a href="../download4.php"><script language="JavaScript">WriteSaveOrRunImg();</script><noscript><img src="b_saveorrun.gif" width=142 height=25 border=0></noscript></a></td>
    </tr>
    <tr>
        <td colspan="2"><hr noshade></td>
    </tr>
    <tr>
        <td>
            <p style="color: #002B55;">
            <b><span id="txtSize">16 MB</span></b>
            </p>
        </td>
        <td>&nbsp;</td>
    </tr>
    <tr>
        <td class="lowerleft">
   <font face="Verdana" size="1">
<script>WriteRunInstructions();</script>
<noscript>
          <p style="line-height: 100%" >To download and <b> run this setup now</b>:
      <ol>
        <li>
         Click the Save Or Run button at the upper right.  Then, in the File Download box, select <b>Run</b>.
        </li>
        <li>
          <p style="line-height: 150%" >Upon download, the InstallShield Wizard will <b> guide you through the setup</b>.</li>
      </ol>
</noscript>
   <font face="Verdana" size="1">
      <p style="line-height: 100%; margin-left: 0.25em; margin-right: -0.25em; margin-top: -0.25em; margin-bottom: -0.25em">To <b>save this setup to
      disk </b>for installation at another time:</p>
  <ol>      
        <li>
          <p style="line-height: 150%" ><b>Save</b> the file named &quot;<b>setup.exe</b>&quot; to your hard drive (using the button at the upper right).&nbsp;</li>
        <li>
          <p style="line-height: 150%" >When you're <b> ready to install</b>, locate setup.exe on your hard
          drive and double-click the file to begin installation.&nbsp;
        </li>
        <li>
          <p style="line-height: 150%" >The InstallShield Wizard will then <b> guide you through the setup</b>.
        </li>
      </ol>
<!--            <p style="margin-top: 3em;">
            Click <a href="saving_running4.htm"><script language="JavaScript">WriteSaveOrRun();</script><noscript>Save or Run</noscript></a> 
            to save the setup for installation at another time<script language="JavaScript">WriteOrRunNow();</script><noscript>, 
            or to download and run the installation now</noscript>.
            </p> -->
        </td>
        <td class="lowerright">&nbsp;</td>
    </tr>

</table>

</center>

</body>
</html>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists