Example #1
0
<?php

require_once "studio/php/config.php";
// RELEASE VERSION UPDATEN
$release = new releasePrepairer();
$release->setCurrentApplication("AjaxChat");
$release->prepairReleaseVersion();
?>
<!DOCTYPE html>
<html>
    <head>
        <title>jsCow - GUI Component Framework</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 

        <link type="text/css" rel="stylesheet" href="<?php 
echo $release->getOnlinePath($release->getJQueryUICssPath());
?>
" />
        <script type="text/javascript" src="<?php 
echo $release->getOnlinePath($release->getJQueryPath());
?>
"></script>
        <script type="text/javascript" src="<?php 
echo $release->getOnlinePath($release->getJQueryUIPath());
?>
"></script>

        <?php 
if (isset($_GET["env"]) && $_GET["env"] == "development") {
    echo '<link type="text/css" rel="stylesheet" href="' . $release->getOnlinePath($release->getReleaseDevelopmentPath() . "/css/" . $release->getThemeFileName()) . '" />';
    echo '<script type="text/javascript" src="' . $release->getOnlinePath($release->getReleaseDevelopmentPath() . "/" . $release->getDevelopmentCoreLibFileName()) . '"></script>';
Example #2
0
<?php

error_reporting(E_ALL);
require_once "studio/php/config.php";
$release = new releasePrepairer(false);
$release->prepairReleaseVersion();
// jsCow - Development - Services
if (isset($_POST["action"]) && !empty($_POST["action"]) && file_exists("studio/php/actions/" . $_POST["action"] . ".php")) {
    require_once "studio/php/actions/" . $_POST["action"] . ".php";
}