Beispiel #1
0
            <div class="col-md-3">
                <?php 
echo GetInput($this->_["obj"], "PaymentPerHour", "payment per hour", "number");
?>
            </div>

            <div class="col-md-3">
                <?php 
echo GetInput($this->_["obj"], "CostCeiling", "cost ceiling", "number");
?>
            </div>

            <div class="col-md-6">
                <?php 
echo GetInput($this->_["obj"], "DeadlineDate", "deadline", "date");
?>
            </div>

        </div>

        <div class="clearfix">
            <div class="col-md-12">
                <?php 
echo GetSubmit();
?>
            </div>
        </div>
    </form>

<?php 
Beispiel #2
0
                <?php 
echo GetInput($this->_["obj"], "Name", "name");
?>
            </div>

            <div class="col-md-4">
                <?php 
echo GetInput($this->_["obj"], "PaymentPerHour", "payment", "number");
?>
            </div>
        </div>

        <div class="clearfix">
            <div class="col-md-12">
                <?php 
echo GetInput($this->_["obj"], "Description", "description", "textarea");
?>
            </div>
        </div>



        <div class="clearfix">
            <div class="col-md-12">
                <?php 
echo GetSubmit();
?>
            </div>
        </div>
    </form>
Beispiel #3
0
/**
 * Created by PhpStorm.
 * User: Florian Moser
 * Date: 19.09.2015
 * Time: 01:02
 */
?>

<?php 
if (!is_ajax_request()) {
    include $_SERVER['DOCUMENT_ROOT'] . "/Framework/Templates/_parts/header_center.php";
}
?>

<h1>Willkommen! Bitte geben Sie Ihr Passwort ein, um Zugriff zu erhalten</h1>
    <form id="login" class="no-ajax" action="/<?php 
echo $this->_["customer"]->Url;
?>
/" method="post">
        <?php 
echo GetInput(null, "password", "Passwort");
?>
<br/>
        <?php 
echo GetSubmit("Einloggen");
?>
    </form>


<?php 
include $_SERVER['DOCUMENT_ROOT'] . "/Framework/Templates/_parts/footer_content.php";
	echo "Failed to connect to database!";

$root_id = getSetting("ROOT_NODE_ID", 1, "any");
$anonymous_id = getSetting("ANONYMOUS_ID", 1, "any");

$parent_id = getInput("parent_id", getNode($_SESSION['murrix']['path']));

$parent = new mObject($parent_id);

if (!$parent->hasRight("create") && !isAdmin())
{
	echo "You do not have enough rights to upload files.";
	exit;
}

$varid = GetInput("varid");

if (isset($_POST['action']) && $_POST['action'] == "upload")
{
	move_uploaded_file($_FILES['file']['tmp_name'], $_FILES['file']['tmp_name']."_tmpfile");
?>
	<script type="text/javascript">
		parent.document.getElementById('<?php 
echo $varid;
?>
').value = '<?php 
echo $_FILES['file']['name'];
?>
' + ':' + '<?php 
echo $_FILES['file']['tmp_name'] . "_tmpfile";
?>
Beispiel #5
0
?>
            </div>
        </div>
        <div class="clearfix">
            <div class="col-md-5">
                <?php 
echo GetInput($this->_["obj"], "FirstName", "first name");
?>
            </div>
            <div class="col-md-5">
                <?php 
echo GetInput($this->_["obj"], "LastName", "last name");
?>
            </div>
            <div class="col-md-2">
                <?php 
echo GetInput($this->_["obj"], "PaymentPerHour", "pay / hour");
?>
            </div>
        </div>

        <div class="clearfix">
            <div class="col-md-12">
                <?php 
echo GetSubmit();
?>
            </div>
        </div>
    </form>
<?php 
include $_SERVER['DOCUMENT_ROOT'] . "/Framework/Templates/_parts/footer_crud.php";
Beispiel #6
0
 * Created by PhpStorm.
 * User: Florian Moser
 * Date: 24.05.2015
 * Time: 10:15
 */
?>

<?php 
include $_SERVER['DOCUMENT_ROOT'] . "/Framework/Templates/_parts/header_crud.php";
?>

    <form id="login" class="no-ajax" action="/" method="post">

        <?php 
echo GetInput($this->_["save"], "email", "Email", "email", null, "Ihre E-Mail");
?>
<br/>
        <?php 
echo GetInput($this->_["save"], "password", "Passwort", "password", null, "Ihr Passwort");
?>
<br/>

        <p><a href="forgotpass">Passwort vergessen</a></p>
        <?php 
echo GetSubmit("Einloggen");
?>
    </form>


<?php 
include $_SERVER['DOCUMENT_ROOT'] . "/Framework/Templates/_parts/footer_content.php";
Beispiel #7
0
		$xml->outputFeed($_GET['id']);
	
	return;
}

/* ========================= */
// Set available linktyes
/* ========================= */

if (!isset($_SESSION['murrix']['default_theme']))
	$_SESSION['murrix']['default_theme'] = getSetting("DEFAULT_THEME", "standard", "any");

if (!isset($_SESSION['murrix']['theme']))
	$_SESSION['murrix']['theme'] = $_SESSION['murrix']['default_theme'];

$_SESSION['murrix']['theme'] = GetInput("theme", $_SESSION['murrix']['theme']);
$theme = $_SESSION['murrix']['site'] = $_SESSION['murrix']['theme'];

if (!isset($_SESSION['murrix']['default_path']))
	$_SESSION['murrix']['default_path'] = getSetting("DEFAULT_PATH", "/root/public");

if (empty($_SESSION['murrix']['path']) || $_SESSION['murrix']['path'] == "/")
	$_SESSION['murrix']['path'] = $_SESSION['murrix']['default_path'];

/* ========================= */
// Load theme includes
/* ========================= */
$files = GetSubfiles("$abspath/design/$theme/include");
foreach ($files as $file)
{
	$parts = SplitFilepath($file);