Beispiel #1
0
				<div class="panel panel-default">
					<div class="panel-heading"><strong class="panel-title">Информация о товаре</strong></div>
					<div class="panel-body">
						
						<div class="container-fluid">
							<div class="row" style="margin-bottom: 1em;">
								<div class="col-xs-4">Магазин:</div>
								<div class="col-xs-8"><?php 
        echo getShopLinkById($v->shop_id);
        ?>
</div>
							</div>
							<div class="row" style="margin-bottom: 1em;">
								<div class="col-xs-4">Ваше имя:</div>
								<div class="col-xs-8"><?php 
        echo getFullUserNameById($v->drop_id);
        ?>
</div>
							</div>
							<div class="row" style="margin-bottom: 1em;">
								<div class="col-xs-4">Ваш адрес:</div>
								<div class="col-xs-8"><?php 
        $toAddr = getUserInfoById($v->drop_id);
        echo $toAddr->address . ' ' . $toAddr->city . ', ' . $toAddr->state . ' ' . $toAddr->country;
        ?>
</div>
							</div>							
<?php 
        /*
        							<div class="row" style="margin-bottom: 1em;">
        								<div class="col-xs-4">Send to person:</div>
Beispiel #2
0
function getLinkToUserProfile($id)
{
    global $user, $cfg;
    if ($user['rankname'] != 'admin' && $user['rankname'] != 'support' && $user['rankname'] != 'labler') {
        $out = getFullUserNameById($id);
    } else {
        if (getRankNameByUserId($id) == 'drop') {
            $note = getUserNote($id);
            $out = '<a href="' . $cfg['options']['siteurl'] . '/userInfo/' . $id . '"  data-title="' . $note . '" data-toggle="tooltip" data-placement="top">' . colorText(getFullUserNameById($id), getUserColor($id)) . '</a>';
        } else {
            $note = getUserNote($id);
            $out = '<a href="' . $cfg['options']['siteurl'] . '/userInfo/' . $id . '"  data-title="' . $note . '" data-toggle="tooltip" data-placement="top">' . colorText(getUserNameById($id), getUserColor($id)) . '</a>';
        }
    }
    return $out;
}
Beispiel #3
0
</td>
						<td><?php 
            foreach ($v as $gv) {
                echo getFullUserNameById($gv->shipper_id) . '<br>';
            }
            ?>
</td>
						<td><?php 
            foreach ($v as $gv) {
                echo getFullUserNameById($gv->drop_id) . '<br>';
            }
            ?>
</td>
						<td><?php 
            foreach ($v as $gv) {
                echo getFullUserNameById($gv->buyer_id) . '<br>';
            }
            ?>
</td>
						<td><?php 
            foreach ($v as $gv) {
                $groupItemPkgStatus = getPackageStatus($gv->id);
                echo $groupItemPkgStatus->time . "<br>";
            }
            ?>
</td>
						<td class="text-center">
							<a href="<?php 
            echo $cfg['options']['siteurl'];
            ?>
/dropPkgInfo/<?php 
Beispiel #4
0
        echo getFullUserNameById($v->drop_id);
        ?>
</div>
							</div>
							<div class="row" style="margin-bottom: 1em;">
								<div class="col-xs-4">Адрес:</div>
								<div class="col-xs-8"><?php 
        $toAddr = getUserInfoById($v->drop_id);
        echo $toAddr->address . ' ' . $toAddr->city . ', ' . $toAddr->state . ' ' . $toAddr->country;
        ?>
</div>
							</div>							
							<div class="row" style="margin-bottom: 1em;">
								<div class="col-xs-4">Покупатель:</div>
								<div class="col-xs-8"><?php 
        echo getFullUserNameById($v->buyer_id);
        ?>
</div>
							</div>
							<div class="row" style="margin-bottom: 1em;">
								<div class="col-xs-4">Адрес покупателя:</div>
								<div class="col-xs-8"><?php 
        $toAddr = getUserInfoById($v->buyer_id);
        if ($toAddr !== false) {
            echo $toAddr->address . ' ' . $toAddr->city . ', ' . $toAddr->state . ' ' . $toAddr->country . ' ' . $toAddr->zip;
        }
        ?>
</div>
							</div>
						</div>