<?php require_once '../../includes/auth.php'; require_once INCLUDEPATH . 'scenesMethods.php'; $fileInfo = array('title' => 'Scenes', 'fileName' => 'scenes/index.php'); $debug->newFile($fileInfo['fileName']); $buildTop = new buildTop(); $buildTop->addJs('scenes.js'); echo $buildTop->output(), ' <div class="layout" id="main"> <div class="textCenter textXlarge">', $fileInfo['title'], '</div> <div class="textCenter red">', $message, '</div> <div id="addScenesReturn"> ', buildAddScene(), ' </div> <div id="scenesReturn"> ', buildScenes(), ' </div> </div> ', buildFooter();
<?php /* For keeping track of scenes. */ $fileInfo = array('fileName' => 'includes/scenesMethods.php'); $debug->newFile($fileInfo['fileName']); $success = false; if (MODE == 'buildScenes') { buildScenes(); } else { $debug->add('No matching mode in ' . $fileInfo['fileName'] . '.'); } function buildAddScene() { global $debug, $message, $success; $output = '<div class="break relative" style="width:100%"> <div class="rowTitle" style="width:100px">Scene</div> <div class="rowTitle" style="width:100px">Takes</div> <div class="rowTitle" style="width:120px">Date</div> <div class="rowTitle" style="width:100px">Circle Take</div> <div class="rowTitle" style="width:300px">Notes</div> </div> <div class="break relative" style="width:100%"> <div class="row" style="width:100px"><input autocapitalize="on" autocorrect="off" id="newScene" type="text" size="10"></div> <div class="row" style="width:100px"><input autocapitalize="off" autocorrect="off" id="newTakes" type="number" size="3"></div> <div class="row" style="width:120px"><input autocapitalize="off" autocorrect="off" id="newDate" type="number" size="3"></div> <div class="row" style="width:100px"><input autocapitalize="off" autocorrect="off" id="newCircleTake" type="number" size="3"></div> <div class="row" style="width:300px"><textarea id="newNotes" style="height:2em; width:300px"></textarea></div> <div class="middle row" style="width:30px"><span class="linkPadding" id="addScene">Add</span></div> </div>