topical media & game development
student-twitter-admin-home.incl.php / php
<script>
function addEmotion ( ) {
if ( newemotion = prompt( "What is the name of the new Emotion?", "" ) ) {
window.location.href = "?sub=addEmotion&&newEmotion=" + newemotion.replace( " ", "_" );
}
}
function removeEmotion ( name ) {
if ( confirm( "Are you sure you want to remove '" + name.replace( "_", " " ) + "'?" ) ) {
window.location.href = "?sub=removeEmotion&&name=" + name;
}
}
function renameEmotion ( name ) {
if ( newemotion = prompt( "What is the new name for the emotion?", name.replace( "_", " " ) ) ) {
window.location.href = "?sub=renameEmotion&&name=" + name + "&&newName=" + newemotion.replace( " ", "_" );
}
}
</script>
<h1>Emotions</h1><br/>
<?php if (isset( error</font><br><br>"); } ?>
<table border="0" width="100%" cellpadding="0">
<?php
results as name = color = implode(synonyms = implode(name</b> - color (synonyms ]</td>");
echo("<td width=\"66px\">");
echo("<a href=\"javascript: removeEmotion( 'name' );\"><img src=\"student-twitter-admin-images-notepad.jpg\" alt=\"Change Name\"></a>");
echo("<a href=\"?pagina=edittext&&name=
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.