Esempio n. 1
0
			<a href="gsl.php" class="btn btn-info " target="_blank"><span class="glyphicon glyphicon-th-list"></span>  View GSL </a> 

			<a href="sent.php" class="btn btn-info " target="_blank"><span class="glyphicon glyphicon-eye-open"></span>  View sent chits</a> 
			<a href="logout.php" class="btn btn-info"><span class="glyphicon glyphicon-log-out"></span>  Logout</a><br/>
			
			<hr/><br/>



			<div id="send">

			To : <select name="dest" id="dest">

				<?php 
printCountryList($_SESSION["council"], $_SESSION["country"]);
?>

			</select>

			<input type="checkbox" id="EB" value="EB"/> Via EB

			<br/>

			<textarea name="message" id="text" rows="5" cols="50"></textarea><br/>
			<button class="btn btn-info" type="submit" onclick="process()" ><span class="glyphicon glyphicon-envelope"></span> Send</button>



			</div>
Esempio n. 2
0
echo "Chits in council :" . $_SESSION["council"] . "<br/>";
?>

<div id="toeb" >

</div>

<div id="viaeb">

</div>
<a href="download_to.php">Download received chits</a>
<a href="download_via.php">Download chits via EB</a>
<div id="send">
To : <select name="dest" id="dest">
	<?php 
printCountryList($_SESSION["council"], "EB");
?>
</select>
<br/>
<textarea name="message" id="text"></textarea><button type="submit" onclick="process()" >Send</button>

</div>
<script type="text/javascript">
var isreply=false;
var chitno=0;
//Periodically refreshes the messages
setInterval(getMsgs,5000
);

function getMsgs(){
	var req=new XMLHttpRequest();