本文整理汇总了PHP中convertDate函数的典型用法代码示例。如果您正苦于以下问题:PHP convertDate函数的具体用法?PHP convertDate怎么用?PHP convertDate使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了convertDate函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: displayPost
function displayPost($descriptor, $title, $content, $poster, $posted_date, $num_comments)
{
$link_to_post = '<a href = "./post/' . $descriptor . '">';
echo '<div class = "post">';
echo '<h2>' . $link_to_post . $title . '</a></h2>';
echo formatContent($content);
echo '<div class = "post-footer">Posted by ' . $poster . ' at ' . convertDate($posted_date) . ' | ' . $link_to_post . $num_comments . ' comments</a></div>';
echo '</div>';
}
示例2: lastbooks
function lastbooks()
{
date_default_timezone_set('Europe/Rome');
//echo "<table class=\"booklist\">";
echo "<tr><th>Titolo</th><th>Autori</th><th>Anno</th><th>Prezzo</th><th>Stato</th><th>Data Aggiunta</th></tr>";
$sql = "SELECT user_books.ID, title, author, year, price, status, notes, user_books.date, bookid\nFROM books, user_books WHERE bookid=books.ID AND user_books.venduto=0 ORDER BY user_books.date DESC LIMIT 10";
$q = mysql_query($sql) or die("errore.<br>");
while ($riga = mysql_fetch_array($q)) {
echo "<tr><td><a href=\"#\" onclick=\"popup({$riga['0']});\">{$riga['1']}</a></td><td>{$riga['2']}</td><td>{$riga['3']}</td><td>{$riga['4']}</td>\n\t\t<td>" . quality($riga[5]) . "</td><td title=\"" . date('H:i - d/m/Y', strtotime($riga[7])) . "\">" . convertDate(strtotime($riga[7])) . "</td></tr>";
/*date('H:i - d/m/Y',strtotime($riga[7]))."</td></tr>");*/
}
//echo "</table>";
}
示例3: convertMessageDate
function convertMessageDate($date, $use_today = false)
{
$day = convertDate($date, "d");
$month = convertDate($date, "m");
$year = convertDate($date, "Y");
$hour = convertDate($date, "H");
$minute = convertDate($date, "i");
$today = date("Ymd");
if (date("Ymd") == $year . $month . $day || !$use_today) {
$formatted_date = "{$day}. " . getMonth($month) . " um {$hour}:{$minute}";
} else {
$formatted_date = "{$day}. " . getMonth($month) . " {$year}";
}
return $formatted_date;
}
示例4: sendContactUsForm
/**
* Send email from contact form
*
* @return void
*/
protected function sendContactUsForm()
{
//info@hapjesenco.be
//$contactFormData = $data;
$amount = Input::json('personCount');
$menuRaw = Input::json('selected_menu');
$menuDecoded = base64_decode($menuRaw);
$menuObj = json_decode($menuDecoded);
$drinks = '';
if (property_exists($menuObj, 'drinks') && property_exists($menuObj->drinks, 'selected') && $menuObj->drinks->selected == true) {
$from = '';
$to = '';
if (property_exists($menuObj->drinks, 'from')) {
$from = $menuObj->drinks->from;
}
if (property_exists($menuObj->drinks, 'to')) {
$to = $menuObj->drinks->to;
}
$drinks = "\n\nGraag ook een offerte voor all-in drankenservice van " . $from . "u tot " . $to . "u. ";
}
$data = array('deliveryType' => 'bezorgen', 'hostname' => 'hapjesenco', 'firstname' => Input::json('firstname'), 'surname' => Input::json('lastname'), 'street' => Input::json('street'), 'number' => Input::json('housenumber'), 'postcode' => Input::json('zipcode'), 'city' => Input::json('city'), 'country' => Input::json('country'), 'companyName' => Input::json('companyName'), 'deliveryName' => Input::json('deliveryName'), 'VATnumber' => Input::json('VATnumber'), 'email' => Input::json('email'), 'phone' => Input::json('telephone'), 'orderDate' => convertDate(Input::json('date'), Input::json('time')), 'orderDateTime' => Input::json('time'), 'orderComment' => Input::json('multiText') . $drinks, 'product id' => Input::json('productId'), 'orderType' => 'estimate');
$shoppingCart = $this->createShoppingCart($menuObj);
$data['shoppingCart'] = $shoppingCart;
$curl = new anlutro\cURL\cURL();
$person_url = "http://beheer.cateringsoftware.nl/public/persons";
$order_url = "http://beheer.cateringsoftware.nl/public/orders";
$response = $curl->post($person_url, $data);
$person_id = json_decode($response->body);
$data['Person_id'] = $person_id->Person_id;
$data['StoreFront_id'] = '1';
$responseOrder = $curl->post($order_url, $data);
$user = array('email' => 'info@hapjesenco.be', 'name' => 'Fingerfoodtruck');
/*Mail::send('emails.contact', $data, function($message) use ($user)
{
$message->from('verschoorenglenn@gmail.com', 'Laravel');
$message->to($user['email'], $user['name'])->subject('Offerte aanvraag Fingerfoodtruck');
return 'success';
});*/
}
示例5: MAX
$period = 92;
// Get the requested period, if blank choose the latest
$period = $_GET['period'];
if ($period < 1) {
$SQL = "SELECT MAX(`period`) FROM `arpsc_ecrept`";
$period = singleResult($SQL, $db);
}
$Volunteer_Rate = 18.11;
if ($period > 95) {
// 2008 rate
$Volunteer_Rate = 20.25;
}
// Display the month name for this report
$SQL = 'SELECT lastday FROM `periods` WHERE `periodno`=' . $period;
$usedate = singleResult($SQL, $db);
$Month = convertDate($usedate);
$yr = substr($usedate, 2, 2);
$mn = substr($usedate, 5, 2);
$DateShort = $yr . $mn;
$PaperSize = 'letter';
$Page_Width = 612;
$Page_Height = 792;
$Top_Margin = 30;
$Bottom_Margin = 57;
$Left_Margin = 30;
$Right_Margin = 25;
$Print_Width = $Page_Width - $Left_Margin - $Right_Margin;
$pdf = DocumentSetup($pdf, $Page_Width, $Page_Height, $Top_Margin, $Bottom_Margin, $Left_Margin, $Right_Margin, $Month);
//==============================================================================
// FSD-96
//==============================================================================
示例6: pg_query
?>
</h1>
<p class="fil-ariane">
<strong>
<a title="<?php
echo $titre_categorie;
?>
" href="http://<?php
echo $_SERVER['HTTP_HOST'];
?>
"></a>
</strong>
</p>
<?php
$page = pg_query("SELECT post_title, post_description, post_slug, post_date FROM csf_posts WHERE post_categorie = " . $id_categorie . " AND post_approved = '1' ORDER BY post_id DESC");
while ($affiche = pg_fetch_array($page)) {
echo '<div><h2 class="h2"><a title="' . $affiche['post_title'] . '" href="http://' . $_SERVER['HTTP_HOST'] . '/' . $catSlug . '/' . $subCatSlug . '/' . sansPointPhp($affiche['post_slug']) . '">' . $affiche['post_title'] . '</a></h2><p>' . tronquer(nl2br($affiche['post_description'])) . '<br/><br/><span>' . convertDate($affiche['post_date']) . '</span></p></div>';
}
?>
</div>
<?php
//include('footer.php');
?>
</div>
</body>
</html>
示例7: mysqli_query
<div style="text-align:center">
<h1 style=" font-family: 'Impact', Charcoal, sans-serif">Game Schedule</h1>
<p>
Here you can find an index of Mass Mafia games: past, present, and future.<br>
To join a game that hasn't started yet, simply click "view" next to that game.<br>
You will be asked if you want to signup, and then you will be able to see other players in that game<br>
</p>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; text-align: center">
<table style='margin: auto'>
<thead>
<th>Start Date</th>
<th>Type</th>
<th></th>
</thead>
<?php
$res = mysqli_query($con, "select * from schedule order by Start") or die("There's a problem with the database. Please try again later.");
while ($game = mysqli_fetch_array($res, MYSQLI_BOTH)) {
echo "<tr>";
echo "<td>" . convertDate($game['Start']) . "</td>";
echo "<td>" . $game['Type'] . "</td>";
echo "<td><a href='home.php?game=" . str_replace("-", "", $game['Start']) . "'>View</a></td>";
echo "</tr>";
}
?>
</table>
</div>
</body>
</html>
示例8: MAX
<div id="main">
<?php
// Initialize the latest data counter
$maxdate = 0;
// Get the requested period, if blank choose the latest
$period = $_GET['period'];
if ($period < 1) {
$SQL = "SELECT MAX(period) FROM bpl";
$period = singleResult($SQL, $db);
}
echo " <center>\n";
// Display the month name for this report
$SQL = 'SELECT lastday FROM periods WHERE periodno=' . $period;
$usedate = singleResult($SQL, $db);
echo "<p><h1>Brass Pounder's League for " . convertDate($usedate) . "</h1></p>\n";
// Get the actual report data for this period
$SQL = 'SELECT `call`,`total`,`orig`,`sent`,`recd`,`deld`,`updated` FROM `bpl` WHERE `period`=' . $period . ' ORDER BY `total` DESC';
$result = getResult($SQL, $db);
echo "<table width=\"80%\">\n";
echo "<tr><th>Call</th><th>Orig</th><th>Sent</th><th>Rec'd</th><th>Del'd</th><th>Total</th></tr><tr>\n";
// We will remember rownum to alternate colors on the table
$rownum = 1;
while ($myrow = getRow($result, $db)) {
$Obo = 0;
if ($myrow[2] > 100) {
$Obo = 1;
} elseif ($myrow[2] + $myrow[5] > 100 && $myrow[5] < 100) {
$Obo = 1;
}
$Dbo = 0;
示例9: time
$mytimezone = $_GET["UTC"];
//US TIMEZONE
$timestamp = time();
if (date('D', $timestamp) === 'Sat') {
// if today's saturday.
$session1day = date("m/d/Y", strtotime("Saturday"));
$session2day = date("m/d/Y", strtotime("Saturday +1 week"));
} else {
// if today passed saturday
$session1day = date("m/d/Y", strtotime("next Saturday"));
$session2day = date("m/d/Y", strtotime("next Saturday +1 week"));
}
$appointment1 = $session1day . ' 10:00';
$appointment2 = $session2day . ' 21:00';
$getappointment1 = convertDate($appointment1, $mytimezone);
$getappointment2 = convertDate($appointment2, $mytimezone);
}
$tzlist = DateTimeZone::listIdentifiers(DateTimeZone::ALL);
//echo sizeof($tzlist);
function generate_timezone_list()
{
static $regions = array(DateTimeZone::AFRICA, DateTimeZone::AMERICA, DateTimeZone::ANTARCTICA, DateTimeZone::ASIA, DateTimeZone::ATLANTIC, DateTimeZone::AUSTRALIA, DateTimeZone::EUROPE, DateTimeZone::INDIAN, DateTimeZone::PACIFIC);
$timezones = array();
foreach ($regions as $region) {
$timezones = array_merge($timezones, DateTimeZone::listIdentifiers($region));
}
$timezone_offsets = array();
foreach ($timezones as $timezone) {
$tz = new DateTimeZone($timezone);
$timezone_offsets[$timezone] = $tz->getOffset(new DateTime());
}
示例10: viewAppointmentsTab
private function viewAppointmentsTab($activeClass)
{
$class = $activeClass ? $activeClass : "tab-pane fade";
global $wpdb;
echo '<div class="' . $class . '" id="viewAppts">
<div class="table-responsive"><table class="table table-hover table-bordered table-striped">
<thead>
<tr>
<th>Appointment Date</th>
<th>Appointment Time</th>
<th>Purpose</th>
<th>Venue</th>
<th>Notes</th>
<th>First Name</th>
<th>Last Name</th>
<th>Home Phone</th>
<th>Cell Phone</th>
<th>Customer Notes</th>
<th>Options</th>
</tr>
</thead>
<tbody>';
$allAppointmentRows = $wpdb->get_results("SELECT ta.date AS 'Appointment_Date', ta.time AS 'Time', ta.purpose AS 'Purpose', ta.venue AS 'Venue', ta.notes AS 'Notes', tc.id_cd AS 'id_cd', tc.first_name AS 'First_Name', tc.last_name AS 'Last_Name', tc.phone_home AS 'Phone_Home', tc.phone_cell AS 'Phone_Cell', tc.notes AS 'Customer_Notes' FROM {$this->table_appointments} AS ta JOIN {$this->table_customerDetails} AS tc ON ta.id_cd = tc.id_cd ORDER BY ta.date DESC");
if ($allAppointmentRows != NULL) {
foreach ($allAppointmentRows as $oneApptsRow) {
$id_cd = isset($oneApptsRow->id_cd) ? $oneApptsRow->id_cd : "";
$appt_time = isset($oneApptsRow->Time) ? $oneApptsRow->Time : "";
$appt_date = isset($oneApptsRow->Appointment_Date) ? $oneApptsRow->Appointment_Date : "";
$appt_date = convertDate($appt_date, true);
echo '<tr>
<td>';
echo $appt_date;
echo '</td><td>';
echo isset($oneApptsRow->Time) ? $oneApptsRow->Time : "";
echo '</td><td>';
echo isset($oneApptsRow->Purpose) ? $oneApptsRow->Purpose : "";
echo '</td><td>';
echo isset($oneApptsRow->Venue) ? $oneApptsRow->Venue : "";
echo '</td><td>';
echo isset($oneApptsRow->Notes) ? $oneApptsRow->Notes : "";
echo '</td><td>';
echo isset($oneApptsRow->First_Name) ? $oneApptsRow->First_Name : "";
echo '</td><td>';
echo isset($oneApptsRow->Last_Name) ? $oneApptsRow->Last_Name : "";
echo '</td><td>';
echo isset($oneApptsRow->Phone_Home) ? $oneApptsRow->Phone_Home : "";
echo '</td><td>';
echo isset($oneApptsRow->Phone_Cell) ? $oneApptsRow->Phone_Cell : "";
echo '</td><td>';
echo isset($oneApptsRow->Customer_Note) ? $oneApptsRow->Customer_Note : "";
echo '</td><td name="' . $id_cd . '" abbr="' . $appt_time . '" axis="' . $appt_date . '"><a name="delApptView" id="delAppt">Delete</a></td></tr>';
}
} else {
echo 'View Appointments. Nothing to display';
}
echo '</tbody></table> <button type="button" class="btn btn-default" onclick="reloadz()">Refresh</button>
<p class="text-warning">Click Refresh to sync the list with the database for up-to-date info.</p> </div></div><!--Two final divs-->';
}
示例11: mysql_query
$proses = mysql_query($query);
echo "<table>\n\t\t\t\t\t<tr><th>Tanggal</th><th>Id Transaksi</th><th>Kode Barang</th><th>Nama Barang</th><th>Harga Jual(Rp.)</th><th>Jumlah</th><th>Sub Total (Rp.)</th></tr>";
if ($proses) {
$id = 0;
$tgl_lama = 0;
$total = 0;
while ($hasil = mysql_fetch_array($proses)) {
if ($id != $hasil[id] && $id != 0) {
//hitung total
echo "<tr class=\"last_row\"><td colspan=\"6\" style=\"text-align: right\">Total :</td><td>{$total}</td></tr>";
$total = 0;
}
echo "<tr><td>";
if ($id != $hasil[id]) {
$id = $hasil[id];
echo convertDate($hasil[tanggal]) . "</td><td>" . $id;
} else {
echo "</td><td>";
}
$harga = $hasil[harga_beli] * (100 + $hasil[persen_markup]) / 100;
echo "</td><td>{$hasil['kode']}</td><td>{$hasil['nama']}</td><td>{$harga}</td><td>{$hasil['jumlah']}</td><td>" . $harga * $hasil[jumlah] . "</td></tr>";
$total += $harga * $hasil[jumlah];
}
//hitung total yg kelewat
echo "<tr class=\"last_row\"><td colspan=\"6\" style=\"text-align: right\">Total :</td><td>{$total}</td></tr>";
}
echo "</table>";
break;
case 'pengguna_all':
echo "<h1>DAFTAR SELURUH PENGGUNA</h1>";
echo "<div class=\"box\">Tanggal Cetak: " . $tanggal . "</div>";
示例12: addForfait
function addForfait($date_creat_forfait, $type_forfait, $nom_forfait, $prix_forfait, $critere_forfait, $comment_forfait, $nombre_duree_forfait, $unite_duree_forfait, $temps_forfait_illimite, $date_debut_forfait, $status_forfait, $nombre_temps_affectation, $unite_temps_affectation, $frequence_temps_affectation, $temps_affectation_occasionnel, $nombre_atelier_forfait)
{
$date_creat_forfait = convertDate($date_creat_forfait);
$date_debut_forfait = convertDate($date_debut_forfait);
//$type_forfait=addslashes($type_forfait);
$sql = "INSERT INTO `tab_forfait`(`id_forfait`, `date_creation_forfait`, `type_forfait`, `nom_forfait`, `prix_forfait`, `critere_forfait`, `commentaire_forfait`, `nombre_duree_forfait`, `unite_duree_forfait`, `temps_forfait_illimite`, `date_debut_forfait`, `status_forfait`, `nombre_temps_affectation`, `unite_temps_affectation`, `frequence_temps_affectation`, `temps_affectation_occasionnel`, `nombre_atelier_forfait`)\n VALUES ('', '" . $date_creat_forfait . "', '" . $type_forfait . "', '" . $nom_forfait . "', '" . $prix_forfait . "', '" . $critere_forfait . "', '" . $comment_forfait . "', '" . $nombre_duree_forfait . "', '" . $unite_duree_forfait . "', '" . $temps_forfait_illimite . "', '" . $date_debut_forfait . "', '" . $status_forfait . "', '" . $nombre_temps_affectation . "', '" . $unite_temps_affectation . "', '" . $frequence_temps_affectation . "', '" . $temps_affectation_occasionnel . "', '" . $nombre_atelier_forfait . "' ) \n ";
$db = opendb();
$result = mysqli_query($db, $sql);
if (FALSE == $result) {
return FALSE;
} else {
$ides = mysqli_insert_id($db);
return $ides;
//return TRUE;
}
closedb($db);
}
示例13: while
//S'il y a quelque chose
if (pg_num_rows($result1) != 0) {
if ($nombre_article_csf_home == 1) {
echo '<span class="dernier-article">Le dernier article</span>';
} else {
echo '<span class="dernier-article">Les ' . $nombre_article_csf_home . ' derniers articles</span>';
}
while ($affiche = pg_fetch_array($result1)) {
//on va chercher le nom du dossier pour chaque article
$dossier_article = pg_query("SELECT categorie_name, categorie_slug FROM csf_categories WHERE categorie_id = '" . pg_escape_string($affiche['post_categorie']) . "'");
while ($nom_dossier = pg_fetch_array($dossier_article)) {
$titre_categorie = $nom_dossier['categorie_name'];
$nom_du_dossier = $nom_dossier['categorie_slug'];
}
//------fin nom de dossier---------------
echo '<div class="cadre"><h2 class="h2"><a title="' . $affiche['post_title'] . '" href="http://' . $_SERVER['HTTP_HOST'] . '/' . $nom_du_dossier . '/' . sansPointPhp($affiche['post_slug']) . '">' . $affiche['post_title'] . '</a></h2> <p>' . tronquer(nl2br($affiche['post_description'])) . '<br/><br/><span class="date">' . convertDate($affiche['post_date']) . ' � <strong><a title="' . $titre_categorie . '" href="http://' . $_SERVER['HTTP_HOST'] . '/' . $nom_du_dossier . '/">' . $titre_categorie . '</a></strong></span></p></div>';
}
}
?>
<!-- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -->
<!-- JavaScript -->
<script src="js/jquery-1.10.2.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/modern-business.js"></script>
</body>
</html>
示例14: getAllFavorites
function getAllFavorites($token, $offset, $limit)
{
$db = getDB();
$decode = JWT::decode($token, TK);
$account = $decode->account;
$id_jabatan = $decode->id_jabatan;
// if ($jabatan->status) {
$query = "SELECT surat.*, surat_terdistribusi.*, institusi.nama_institusi, surat_kode_hal.deskripsi FROM `surat_terdistribusi`, `surat`, `institusi`, `surat_kode_hal` WHERE (surat_terdistribusi.penerima=:account or surat_terdistribusi.penerima=:idJabatan) AND surat_terdistribusi.id_surat = surat.id_surat AND surat.kode_lembaga_pengirim = institusi.id_institusi AND surat.ditandatangani = '1' AND surat_kode_hal.kode_hal = surat.kode_hal AND surat_terdistribusi.isFavorite = :isFavorite ORDER BY surat.created DESC LIMIT :limit OFFSET :offset";
// } else {
// $query = "SELECT surat.*, surat_terdistribusi.*, operator.*, institusi.* FROM `surat_terdistribusi`, `surat`, `operator`, `institusi` WHERE surat_terdistribusi.penerima=:account AND surat_terdistribusi.id_surat = surat.id_surat AND surat.id_operator = operator.id_operator AND operator.id_institusi = institusi.id_institusi AND surat_terdistribusi.is_favorite='1' ORDER BY surat.created DESC";
// }
$stmt = $db->prepare($query);
$stmt->bindValue(":account", $account);
$stmt->bindValue(":idJabatan", $id_jabatan);
$stmt->bindValue(":limit", (int) $limit, PDO::PARAM_INT);
$stmt->bindValue(":offset", (int) $offset, PDO::PARAM_INT);
$stmt->bindValue(":isFavorite", 1, PDO::PARAM_INT);
$stmt->execute();
if ($stmt->rowCount() > 0) {
$i = 0;
while ($row = $stmt->fetch()) {
if ($row['penerima'] == $id_jabatan) {
$role = $id_jabatan;
} else {
$role = $account;
}
// $output[$i] = array("pengirim" => $row['nama_institusi'], "id" => $row['id'], "hal" => $row['deskripsi'], "subject" => $row['subject_surat'], "role" => $role, "notif_web" => filter_var($row['notif_web'], FILTER_VALIDATE_BOOLEAN), "notif_app" => filter_var($row['notif_app'], FILTER_VALIDATE_BOOLEAN), "isFavorite" => filter_var($row['isFavorite'], FILTER_VALIDATE_BOOLEAN), "isUnread" => filter_var($row['isUnread'], FILTER_VALIDATE_BOOLEAN), "tanggal" => convertDate($row['tanggal_surat']));
$output[$i] = array("pengirim" => $row['nama_institusi'], "id" => $row['id'], "hal" => $row['deskripsi'], "subject" => $row['subject_surat'], "role" => $role, "notif_web" => filter_var($row['notif_web'], FILTER_VALIDATE_BOOLEAN), "notif_app" => filter_var($row['notif_app'], FILTER_VALIDATE_BOOLEAN), "isFavorite" => filter_var($row['isFavorite'], FILTER_VALIDATE_BOOLEAN), "isUnread" => filter_var($row['isUnread'], FILTER_VALIDATE_BOOLEAN), "no_surat" => $row['no_surat'], "lampiran" => $row['lampiran'], "namaPenandatangan" => getAccountName($db, $row['penandatangan']), "jabatanPenandatangan" => getJabatan($db, $row['penandatangan']), "tanggal" => convertDate($row['tanggal_surat']), "isi" => $row['isi'], "tembusan" => $row['tembusan']);
$i++;
}
} else {
$output = [];
}
echo '{"count": ' . $stmt->rowCount() . ', "isUnreads": ' . countUnreads($token) . ', "isFavorites": ' . countFavorites($token) . ', "isUnsigned": ' . countUnsigned($token) . ', "result": ' . json_encode($output) . '}';
}
示例15: convertDate
<span class="glyphicon glyphicon-thumbs-down"></span> <?php
}
?>
</td>
<td><?php
if (strtoupper($row['Outdated']) == strtoupper("true")) {
?>
<span class="glyphicon glyphicon-thumbs-up"></span> <?php
} else {
?>
<span class="glyphicon glyphicon-thumbs-down"></span> <?php
}
?>
</td>
<td><?php
echo convertDate($row['LastUse']);
?>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
<hr/>
<button id="AddServer" class="btn btn-block btn-info" data-toggle="modal" data-target="#AddServerModal" ><span class="glyphicon glyphicon-plus-sign"></span> Add A Server <span class="glyphicon glyphicon-plus-sign"></span></button>
<br/>
<a href="https://github.com/ac3-profiles/profile-slave" class="btn btn-block btn-warning"><span class="glyphicon glyphicon-download-alt"></span> Get The Slave Script <span class="glyphicon glyphicon-download-alt"></span></a>
<br/>
<div class="hline"></div>