####CHECK FOR SESSION
INCLUDE "../../secure/session.php";
INCLUDE "../../secure/hitcounter.php";
####LOG CODE
$log_msg = $_SESSION[‘session_playwright_name’].' accessed page - about.';
include "../../secure/backuplog.php";
####
#####ADD TO STATS COUNTER
####RAW HITS
#### CONNECT TO DB
#### CONNECT TO DB
$username = "confirm_stageri";
$password = "QYbbP4CjPYrs";
$hostname = "195.216.196.13";
$db = "confirm_stagerights";
#CONNECT
$dbh = mysql_connect($hostname, $username, $password)
or die("Unable to connect to Server
");
#SELECT DATABASE
$selected = mysql_select_db($db,$dbh)
or die("Could not Connect to Database");
#RETRIEVE VISITOR DATA
$SQL = "SELECT * FROM stats WHERE Unq = '1'";
$result = mysql_query($SQL);
$db_field = mysql_fetch_assoc($result);
$CHECKIT = $db_field['Visitors'];
#ADD 1 TO RAW HITS
$NEWHIT = $CHECKIT + 1;
#SAVE NEW VALUE
#CLEAR VARIABLES FOR SECURITY
$username = "";
$password = "";
$hostname = "";
$db = "";
$dbh = "";
$actioncheck = $HTTP_GET_VARS['action'];
$emailcheck = $HTTP_GET_VARS['email'];
if ($actioncheck=='add'){
$SQL="INSERT INTO newsletter (Unq, Email, Receive)VALUES(NULL, '$emailcheck', 'Y')";
mysql_query($SQL);
$SQL="UPDATE Playwrights SET NEWSLETTER = 'Y' WHERE Email='$emailcheck'";
mysql_query($SQL);
}
if ($actioncheck=='remove'){
$SQL="DELETE FROM newsletter WHERE Email='$emailcheck'";
mysql_query($SQL);
$SQL="UPDATE Playwrights SET NEWSLETTER = 'N' WHERE Email='$emailcheck'";
mysql_query($SQL);
}
?>
StageRights.com is an initiative from Pyronox Limited, and has been developed in association with the BA(Hons) Stage Management programme at Rose Bruford College in Sidcup, Kent.
StageRights.com aims to have three main uses:
1. To help new writers promote themselves and their plays to a world-wide audience.
2. To allow access for directors, dramatic companies, actors or anyone interested, to a large range of plays and playwrights whom they previously would never have found offline.
3. As an archive of emerging playwrights around the world and the plays they have written.
Pyronox Limited is a company started in 2006 by Lee Jones and Ian Gilbert while studying for their BA(Hons) Stage Management degrees. Both Lee and Ian are based in London and have worked as Stage Management, Lighting, Sound or Special Effects operators with a variety of companies and theatres.
Pyronox Ltd. is currently primarily the holding company for technical or stage management work done by the pair, however after they qualify, their goal is to explore a wide range of contemporary stage effects, and are concerned to develop an aesthetic for spectacle and interactive experience.
You will no longer receive the newsletter.";} if ($actioncheck=='add'){echo "
You are now signed up to our newsletter.";} if ($actioncheck==''){ echo '
';} ?>