コード例 #1
0
ファイル: ServerListAdmin.php プロジェクト: kleopatra999/finx
    $k = "link-" . $_POST['createServerId'];
    $fileName = getFileName($_POST['createSessionId']);
    if (ereg("MSIE ([0-9].[0-9]{1,2})", $_SERVER["HTTP_USER_AGENT"])) {
        header("Content-Type: application/nxs");
        header("Content-Disposition: inline; filename={$fileName}");
        header("Expires: 0");
        header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
        header("Pragma: private");
    } else {
        header("Content-Type: application/nxs");
        header("Content-Disposition: attachment; filename={$fileName}");
        header("Expires: 0");
        header("Pragma: no-cache");
    }
    include "CreateSession.php";
    CreateSessionFile3_0($_POST['createSessionId'], $_POST[$f], $_POST[$k]);
    exit;
}
$serverList = getServer();
$serverNumber = mysql_num_rows($serverList);
include "Messages.php";
include "includes/Top.php";
?>
<center>
<!--[if IE 6]>
<script type="text/javascript">
function calcWidth() {
document.getElementById('min_width').style.width = (document.body.clientWidth < 901 ? '900px' : '100%')
}
onresize = calcWidth;
</script>
コード例 #2
0
ファイル: SessionList.php プロジェクト: kleopatra999/finx
        header("Content-Type: application/nxs");
        header("Content-Disposition: inline; filename={$fileName}");
        header("Expires: 0");
        header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
        header("Pragma: private");
    } else {
        header("Content-Type: application/nxs");
        header("Content-Disposition: attachment; filename={$fileName}");
        header("Expires: 0");
        header("Pragma: no-cache");
    }
    include "CreateSession.php";
    $choose = explode(",", $_POST['sessID']);
    $k = "resolution-" . $choose[1];
    $f = "link-" . $choose[1];
    CreateSessionFile3_0($_POST['sessID'], $_POST[$k], $_POST[$f]);
    exit;
}
include "Messages.php";
include "includes/Top.php";
if (isset($_POST['operation']) && $_POST['operation'] == "delete") {
    deleteSession($_POST['sessID']);
}
?>
<center>
<!--[if IE 6]>
<script type="text/javascript">
function calcWidth() {
document.getElementById('min_width').style.width = (document.body.clientWidth < 901 ? '900px' : '100%')
}
onresize = calcWidth;