Exemple #1
0
				</div>
				<img style="min-height:768px;" src="<?php 
bloginfo('template_directory');
?>
/img/typo4.svg">
			</div>
		</div>		
		<div class="columns small-12 medium-10">
			<div class="row">			
				<div class="columns small-12 medium-6">
					<div class="row">
						<div class="columns small-12 clear-padding">
							<?php 
if (isset($_GET['work'])) {
    $workId = $_GET['work'];
    $work = get_work($workId);
    echo '<p>';
    echo $work->wrk_name;
    echo '<br/>';
    echo $work->wrk_author;
    echo '</p>';
}
?>
							
						</div>
					</div>
					<div class="row">
						<div class="columns small-12 clear-padding">
							<p>Qu'est-ce que cette oeuvre évoque pour vous ?</p>	
							<p><strong>SÉLECTIONNER</strong></p>
						</div>
Exemple #2
0
            }
        } else {
            save_work_process($_POST);
        }
    }
    //Posted - save the data
    //If we are ending work, include endwork function and exit here
    if (isset($_POST['submit_end'])) {
        include "endwork.php";
        exit;
    }
}
xhtml_head(T_("queXC"), true, array("css/table.css", "css/index.css", "include/ajax-spell/styles.css", "include/mif.menu-v1.2/Source/assets/styles/menu.css"), array('include/mif.menu-v1.2/assets/scripts/mootools.js', 'include/mootools/mootools-extension.js', 'js/index.js', 'include/mif.menu-v1.2/mif.menu-v1.2.js'));
//See if there is work for us, if not, display "No more work" and allow for the page to be refreshed, or work to end
if ($operator_id != false) {
    $work_unit_id = get_work($operator_id);
    print "<div id='content'>";
    if ($message !== false) {
        print "<div class='message'>{$message}</div>";
    }
    if ($work_unit_id == false) {
        p(T_("No more work currently available"), "p");
        print "<p><a href=''>" . T_("Try again for more work") . "</a></p>";
        print "<p><a href='endwork.php'>" . T_("End work") . "</a></p>";
    } else {
        print "<div id='heading'>";
        //print "<h2>" . get_work_data_description($work_unit_id) . "</h2>";
        print "<input type='text' value='' size='100' id='selectedText' readonly='readonly'/>";
        print "</div>";
        print "<div id='othervariables'>";
        $othervariables = get_work_other_variables($work_unit_id);