Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 102 lines (85 sloc) 3.05 KB
<?php
/*
* RunThisApp allows sharing test builds of iOS apps with testers.
* Copyright (C) 2011 Ludovic Landry & Pascal Cans
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
session_start();
require_once __DIR__ . '/../constants.php';
require_once __DIR__ . '/../core/Membership.php';
if (!Membership::isLoggedIn()) {
header('Location: ../index.php');
die();
}
?><!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Run This App | Invitations</title>
<link href="../css/style-0001.css" media="screen" type="text/css" rel="stylesheet">
</head>
<body>
<?php include __DIR__ . '/../header.php';?>
<div id="content" class="box">
<div class="boxtop"></div>
<div class="column first">
<div class="boxheader">
<h2>Manage Invitations</h2>
</div>
<div>
<a href="invitation_new.php">Send a new invitation</a>
<h3 class="underline">&nbsp;</h3>
<?php
use Entities\Application,
Entities\Developer,
Entities\Device,
Entities\Invitation,
Entities\Tester,
Entities\Version;
require_once __DIR__ . '/../core/index.php';
$entityManager = initDoctrine();
// Retrieve all testers
$invitations = $entityManager->getRepository('Entities\Invitation')->findAll();
echo '<ul>';
foreach ($invitations AS $invitation) {
echo '<li>Invitation: ' . $invitation->getTester()->getEmail() . ' - ' . $invitation->getDateSent()->format(DEFAULT_DATETIME_FORMAT) . ' - ' . $invitation->getStatus() . '</li>' . PHP_EOL;
}
echo '</ul>' . PHP_EOL;
?>
</div>
</div>
<div class="column last">
<div class="boxheader">
<h2>Deployment steps</h2>
</div>
<div class="function">
<h6>Send Invitations</h6>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
<hr>
<div class="function">
<h6>Tester get registered</h6>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
<hr>
<div class="function">
<h6>They install your app Over-The-Air</h6>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
</div>
<div class="boxbottom"></div>
</div>
</body>
</html>