예제 #1
0
?>
">Модератор</a></th>
			<th class="table-header"><a href="<?php 
echo $thisPagePath . "?orderBy=activeBonuses+" . getAscDesc("activeBonuses", $data);
?>
">Бонусы</a></th>
			<th class="table-header"><a href="<?php 
echo $thisPagePath . "?orderBy=inviteBonus+" . getAscDesc("inviteBonus", $data);
?>
">Отправил приглашение</a></th>
			<th class="table-header"><a href="<?php 
echo $thisPagePath . "?orderBy=acceptInviteBonus+" . getAscDesc("acceptInviteBonus", $data);
?>
">Принял приглашение</a></th>
			<th class="table-header"><a href="<?php 
echo $thisPagePath . "?orderBy=rideBonus+" . getAscDesc("rideBonus", $data);
?>
">За поездку</a></th>
		</tr>
		<?php 
foreach ($data['citys'] as $k => $city) {
    empty($city['login']) ? $moderator = "не назначен" : ($moderator = $city['login']);
    $idCity = $city['idCity'];
    ?>
		<tr class="table-row">
			<td contenteditable="true" onBlur="saveToDatabase(this.innerHTML,'nameCity','<?php 
    echo $city['idCity'];
    ?>
');"><?php 
    echo $city['nameCity'];
    ?>
예제 #2
0
        ?>
">Город</a></th>
				<th><a href="<?php 
        echo $thisPagePath . "&orderBy=locationStatus+" . getAscDesc("locationStatus", $data);
        ?>
">Статус локации</a></th>
				<th><a href="<?php 
        echo $thisPagePath . "&orderBy=balanceBonuses+" . getAscDesc("balanceBonuses", $data);
        ?>
">Баланс бонусов</a></th>
				<th><a href="<?php 
        echo $thisPagePath . "&orderBy=lockStatus+" . getAscDesc("lockStatus", $data);
        ?>
">Статус блокировки</a></th>
				<th><a href="<?php 
        echo $thisPagePath . "&orderBy=revenue+" . getAscDesc("revenue", $data);
        ?>
">Потрачено</a></th>
				<th>Фото</th>
			</tr>
			<?php 
        foreach ($data['users'] as $user) {
            ?>
			<tr>
				<td class="col-md-1"><?php 
            echo $user['phone'];
            ?>
</td>
				<td class="col-md-1"><?php 
            echo $user['regDate'];
            ?>
예제 #3
0
?>
">Модератор</a></th>
			<th class="table-header"><a href="<?php 
echo $thisPagePath . "?orderBy=firstName+" . getAscDesc("firstName", $data);
?>
">Имя</a></th>
			<th class="table-header"><a href="<?php 
echo $thisPagePath . "?orderBy=lastName+" . getAscDesc("lastName", $data);
?>
">Фамилия</a></th>
			<th class="table-header"><a href="<?php 
echo $thisPagePath . "?orderBy=email+" . getAscDesc("email", $data);
?>
">Email</a></th>
			<th class="table-header"><a href="<?php 
echo $thisPagePath . "?orderBy=nameCity+" . getAscDesc("nameCity", $data);
?>
">Город</a></th>
		</tr>
		<?php 
foreach ($data['moderators'] as $k => $moderator) {
    empty($moderator['nameCity']) ? $nameCity = "не назначен" : ($nameCity = $moderator['nameCity']);
    $idModerator = $moderator['idModerator'];
    ?>
		<tr class="table-row">
			<td class="login" data-id="<?php 
    echo $moderator['idModerator'];
    ?>
" contenteditable="true" onBlur="saveToDatabase(this.innerHTML,'login','<?php 
    echo $moderator['idModerator'];
    ?>
예제 #4
0
        ?>
">Время заказа</th>
						<th><a href="<?php 
        echo $thisPagePath . "&orderBy=pointStart+" . getAscDesc("pointStart", $data);
        ?>
">Точка отправления</th>
						<th><a href="<?php 
        echo $thisPagePath . "&orderBy=pointFinish1+" . getAscDesc("pointFinish1", $data);
        ?>
">Конечная точка</th>
						<th><a href="<?php 
        echo $thisPagePath . "&orderBy=price+" . getAscDesc("price", $data);
        ?>
">Стоимоть</th>
						<th><a href="<?php 
        echo $thisPagePath . "&orderBy=statusOrder+" . getAscDesc("statusOrder", $data);
        ?>
">Статус заказа</th>
					</tr>
					<?php 
        foreach ($data['result'] as $order) {
            ?>
					<tr>
						<td><?php 
            echo $order['idOrder'];
            ?>
</td>
						<td onclick="openWin('userInfo?phone=<?php 
            echo $order['phonePassenger'];
            ?>
&amp;typeUser=Passengers')"><?php