コード例 #1
0
ファイル: GSMOrange.php プロジェクト: jpainam/cosba
 protected function __construct()
 {
     parent::__construct();
 }
コード例 #2
0
ファイル: example.php プロジェクト: jemmy655/PHP_GSM
<?php

include 'gsm.php';
$gsm = new GSM();
if (isset($_POST['delete']) && is_array($_POST['delete'])) {
    $gsm->deleteSMS(explode(',', key($_POST['delete'])));
}
if (isset($_POST['message']) && isset($_POST['number'])) {
    $gsm->sendSMS($_POST['number'], $_POST['message']);
}
?>
<!doctype html>
<html>
	<head>
		<title>GSM Example</title>
		<style type="text/css">
			table.messages td.message { white-space: pre; }
			div.sendsms { margin-top: 16px; }
			table.messages { width: 100%; }
			td.message { max-width: 500px; }
			div.new_message { display: none; }
			table.contacts { width: 100%; }
			table.contacts a.sendsms { color: #000; text-decoration: none; }
			div.signal { position: fixed; top: 16px; right: 16px; }
			div.phonebooks {
				width: 270px;
				position: absolute;
				top: 0;
				left: 16px;
				border-right: 1px solid #ccc;
				padding-right: 16px;
コード例 #3
0
ファイル: cdma.php プロジェクト: shambhukumar/code
function load(GSM $gsm)
{
    echo $gsm->simGSM();
    echo $gsm->latest_offers();
}