123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351 |
- <!DOCTYPE html>
- <html>
- <meta charset="utf-8">
- <link rel="stylesheet" type="text/css" href="css/style.css">
- <head>
- <title>An African Language Short Story Competition</title>
- </head>
- <?php include 'submitdatabaseinfo.php';?>
- <?php include 'submitsetup.php';?>
- <?php include 'getlanguage.php';?>
- <body>
- <ul>
- <li><a id="home" href="index.php">Home</a></li>
- <li><a id="original" class="active" href="#">Original Story Submission</a></li>
- <li><a id="translation" href="submittranslation.php">Translated Story Submission</a></li>
- <li><a id="stories" href="displaystories.php">Submitted Stories</a></li>
- <li><a id="statistics" href="submissionstatistics.php">Submissions per Language</a></li>
- <li><a id="coordinate" href="coordinator.php">Coordinator Application</a></li>
- <li><a id="contact" href="contact.php">Contact</a></li>
- <li><a id="resources" href="resources.php">Resources</a></li>
- <li><a id="flyers" href="flyers.php">Flyers</a></li>
- <li><a id="faq" href="faq.php">Frequently Asked Questions</a></li>
- <li><a id="privacy" href="privacy.php">Privacy</a></li>
- </ul>
- <header>
- <h1>Tuvute Pamoja
- <a href="https://deeplearningindaba.com">
- <img src="images/deeplearningindaba.svg" alt="Deeplearning Indaba" style="height:60px">
- </a></h1>
- <img style="float:right" alt="Translate this page" src="images/icon20x24px-exported-transparent.png" >
- <select id="translatesubmissionpage" name="Submitpagelanguage" style="float:right"
- onchange="translatewrap()">
- <option language="" value=""></option>
- <option language="English" value="eng">English</option>
- <option language="Kiswahili" value="swa">Kiswahili</option>
- </select>
- </header>
- <h1 id="title">An African Language Short Story Competition</h1>
- <section>
- <div>
- <h3 id="descriptiontitle">General Description</h3>
- <p id="descriptiontext1">Thank you for making a submission. Your story should be suitable for people between the ages of 5 and 12 years old. Your story should also draw some inspiration from the traditions and cultures of the group that uses that language. Your story should be between 2000 and 2500 words. Prizes will be available for each language, or language group for closely related languages. There will also be prizes available for translated stories. Stories will be judged by those who have submitted a story in a language or language group. Stories with the highest scores will win prizes. A prize of $40 will be given to the author of the best original short story in each language. A prize of $40 will be given to the translator of the best translated short story in each language. A prize of $40 will be given to the author of the best translated short story in each language. Stories will be evaluated on a 5 point scale on:</p>
- <ol>
- <li id="descriptiontext2">Grammar and spelling</li><br>
- <li id="descriptiontext3">Theme and plot</li><br>
- <li id="descriptiontext4">Style</li><br>
- <li id="descriptiontext5">Cultural relevance</li><br>
- <li id="descriptiontext6">Overall impression</li><br>
- </ol>
- <p id="descriptiontext7">The average score will be used to rank stories, in case of a tie, the organizing committee will randomly choose one story to receive a prize.</p>
- </div>
- </section>
- <section>
- <div>
- <h3 id="furtherules">Further Rules</h3>
- <ol>
- <li id="furtherrulestext1">Entries will be evaluated anonymously, authors may advertise the competition, and their entry in it, but should not advertise their authorship of an article until winners are announced.</li><br>
- <li id="furtherrulestext2">All entries will be released under a creative commons attribution license that allows others to distribute, remix, adapt and build upon your work, even commercially, as long as they credit you for the original creation. For more on this license see:</li><br><a href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</a><br>
- <li id="furtherrulestext3">As your writing style may be used to identify you, for example through Stylometric analysis, you may choose to use a pseudonym.</li><br>
- <li id="furtherrulestext4">Should you win a prize and not wish to be identified, you may choose to have your earnings given to a charitable organization of your choice.</li><br>
- </ol>
- </div>
- </section>
- <section>
- <div>
- <br><br><br><br>
- <h2 id="storysubmission" >Story Submission</h2>
- <form method="post" action="">
- <p>
- <label id="namelabel" for="name">What is your name/pseudonym?</label>
- <span class="error">*</span><br>
- <span class="error"><?php echo $nameErr;?></span><br>
- <input id="name" type="text" name="name" style="width:375px" maxlength="100"><br>
- </p>
- <p>
- <label id="legalpermissionlabel" for="legalpermission">Are you an adult in the region you live in, if not do you have permission from a parent or legal guardian to participate in this competition?</label>
- <span class="error">*</span><br>
- <span class="error"><?php echo $legalpermissionErr;?> </span><br>
- <select id="legalpermission" name="legalpermission">
- <option id="legalpermissionno" value="no">no</option>
- <option id="legalpermissionyes" value="yes">yes</option>
- </select>
- </p>
- <p>
- <label id="emaillabel" for="email">What is your e-mail address?</label>
- <span class="error">*</span><br>
- <span class="error"><?php echo $emailErr;?></span><br>
- <input type="email" id="email" name="email" style="width:375px"><br>
- </p>
- <?php include 'gettelephone.php';?>
- <p>
- <label id="languagelabel" for="language">What language is your story in?</label><span class="error">*</span><br>
- <span class="error"><?php echo $languageErr;?></span><br>
- <select class="language" id="language" name="language">
- <option data-language="Amharic" value="amh">አማርኛ</option>
- <optgroup label="اَلْعَرَبِيَّةُ">
- <option data-language="Egyptian Arabic" value="arz">العامية المصرية</option>
- <option data-language="Standard Arabic" value="arb">العربية الفصحى</option>
- <option data-language="Sudanese Arabic" value="apd">لهجة سودانية</option>
- </optgroup>
- <option data-language="Afrikaans" value="afr">Afrikaans</option>
- <option data-language="Bangime" value="dba">Bangime</option>
- <option data-language="Basaa" value="bas">Basaa</option>
- <option data-language="Bemba" value="ben">Bemba</option>
- <option data-language="Chichewa" value="nya">Chichewa</option>
- <option data-language="Dagbani" value="dag">Dagbani</option>
- <option data-language="Dholuo" value="luo">Dholuo</option>
- <optgroup label="Dogon">
- <option data-language="Ben Tey Dogon" value="BTD">Ben Tey Dogon</option>
- <option data-language="Najamba-Kindige" value="N-K">Najamba-Kindige</option>
- </optgroup>
- <option data-language="Douala" value="dua">Douala</option>
- <option data-language="Ewondo" value="ewo">Ewondo</option>
- <option data-language="Fefe" value="fmp">Féfé</option>
- <optgroup label="Fulfulde">
- <option data-language="Adamawa Fulfulde" value="fub">Adamawa Fulfulde</option>
- <option data-language="Bagirmi Fulfulde" value="fui">Bagirmi Fulfulde</option>
- <option data-language="Borgu Fulfulde" value="fue">Borgu Fulfulde</option>
- <option data-language="Central Eastern Niger Fulfulde" value="fuq">Central Eastern Niger Fulfulde</option>
- <option data-language="Maasina Fulfulde" value="ffm">Maasina Fulfulde</option>
- <option data-language="Nigerian Fulfulde" value="fuv">Nigerian Fulfulde</option>
- <option data-language="Pulaar" value="fuc">Pulaar</option>
- <option data-language="Pular" value="fuf">Pular</option>
- <option data-language="Western Niger Fulfulde" value="fuh">Western Niger Fulfulde</option>
- </optgroup>
- <option data-language="Ga" value="gaa">Ga</option>
- <option data-language="Ghomala" value="gho">Ghomala</option>
- <option data-language="Kikuyu" value="kik">Gĩkũyũ</option>
- <option data-language="Gonja" value="gjn">Gonja</option>
- <option data-language="Hausa" value="hau">Hausa</option>
- <option data-language="Igbo" value="ibo">Igbo</option>
- <optgroup label="Ndebele">
- <option data-language="IsiNdebele saseNyakatho" value="nde">IsiNdebele saseNyakatho</option>
- <option data-language="IsiNdebele seSewula" value="nbl">IsiNdebele seSewula</option>
- </optgroup>
- <option data-language="Xhosa" value="xho">isiXhosa</option>
- <option data-language="Zulu" value="zul">isiZulu</option>
- <optgroup label="Jóola">
- <option data-language="Bandial" value="bqj">Bandial</option>
- <option data-language="Karon" value="krx">Karon</option>
- </optgroup>
- <optgroup label="Kamba">
- <option data-language="Dhaiso" value="dhs">Dhaiso</option>
- <option data-language="Kamba" value="kam">Kamba</option>
- </optgroup>
- <option data-language="Kidawida" value="dav">Kidawida</option>
- <option data-language="Kigiriyama" value="nyf">Kigiriyama</option>
- <optgroup label="Kimeru (Kenya)">
- <option data-language="Kimeru" value="mer">Meru</option>
- <option data-language="Tharaka" value="thk">Tharaka</option>
- <option data-language="Mwimbi-Muthambi" value="mws">Mwimbi-Muthambi</option>
- <option data-language="Cuka" value="cuh">Cuka</option>
- </optgroup>
- <option data-language="Kinyarwanda" value="kin">Kinyarwanda</option>
- <option data-language="Kipsigis" value="sgc">Kipsigis</option>
- <option data-language="Kiswahili" value="swa">Kiswahili</option>
- <option data-language="Kom" value="bkm">Kom</option>
- <option data-language="Konkomba" value="xon">Konkomba</option>
- <option data-language="Lingala" value="lin">Lingala</option>
- <option data-language="Luganda" value="lug">Luganda</option>
- <optgroup label="Luhya">
- <option data-language="Lubukusu" value="bsk">Lubukusu</option>
- <option data-language="Luidhako" value="ida">Luidhako</option>
- <option data-language="Lulogoli" value="rag">Lulogoli</option>
- <option data-language="Lukabrasi" value="lkb">Lukabrasi</option>
- <option data-language="Lunyala" value="nle">Lunyala</option>
- <option data-language="Lusamia" value="lsm">Lusamia</option>
- <option data-language="Lutachoni" value="lts">Lutachoni</option>
- <option data-language="Olukhayo" value="lko">Olukhayo</option>
- <option data-language="Olukisa" value="lks">Olukisa</option>
- <option data-language="Olumarama" value="lrm">Olumarama</option>
- <option data-language="Olunyole" value="nyd">Olunyole</option>
- <option data-language="Olutsotso" value="lto">Olutsotso</option>
- <option data-language="Oluwanga" value="lwa">Oluwanga</option>
- </optgroup>
- <option data-language="Medumba" value="byv">Medumba</option>
- <option data-language="Mende" value="men">Mende</option>
- <optgroup label="Meru (Tanzania)">
- <option data-language="Machame" value="imc">Machame</option>
- <option data-language="Rwa" value="rwk">Rwa</option>
- </optgroup>
- <option data-language="Nda\'nda\'" value="nnz">Nda'nda'</option>
- <option data-language="Ngiemboon" value="nnh">Ngiemboon</option>
- <option data-language="Nigerian Pidgin" value="pcm">Nigerian Pidgin</option>
- <option data-language="Nuasue" value="yav">Nuasue</option>
- <option data-language="Ŋgə̂mbà" value="nge">Ŋgə̂mbà</option>
- <option data-language="Runyakitara" value="213">Runyakitara</option>
- <option data-language="Safaliba" value="saf">Safaliba</option>
- <optgroup label="Sena">
- <option data-language="Barwe" value="bwg">Barwe</option>
- <option data-language="Malawian Sena" value="swk">Malawian Sena</option>
- <option data-language="Mozambiquean Sena" value="seh">Mozambiquean Sena</option>
- </optgroup>
- <option data-language="Sesotho" value="sot">Sesotho</option>
- <option data-language="Setswana" value="tsn">Setswana</option>
- <option data-language="Shü Pamom" value="bax">Shü Pamom</option>
- <option data-language="siSwati" value="ssw">siSwati</option>
- <option data-language="Twi" value="twi">Twi</option>
- <option data-language="Urhobo" value="urh">Urhobo</option>
- <option data-language="Wolaytta" value="wal">Wolaytta</option>
- <option data-language="Wolof" value="wol">Wolof</option>
- <option data-language="Xitsonga" value="tso">Xitsonga</option>
- <option data-language="Yambeta" value="yat">Yambeta</option>
- <option data-language="Yoruba" value="yor">Yorùbá</option>
- <option data-language="Zarma" value="dje">Zarma</option>
- </select>
- </p>
- <p>
- <label id="titlelabel" for="title">What is the title of your story</label>
- <span class="error">*</span><br>
- <span class="error"><?php echo $titleErr;?></span><br>
- <textarea id="title" type="text" name="title" maxlength="100" style="width:750px" rows="1"></textarea><br>
- </p>
- <p>
- <label id="authorshiplabel" for="authorship">Are you the author of this original submitted work, if you are not the author do you have permission from the author to submit the work on their behalf?</label>
- <span class="error">*</span><br>
- <span class="error"><?php echo $authorshipErr;?></span><br>
- <select id="authorship" name="authorship">
- <option id="authorshipno" value="no">no</option>
- <option id="authorshipyes" value="yes">yes</option>
- </select>
- </p>
- <p>
- <label id="storylabel" for="story">Please enter the text for your story here</label>
- <span class="error">*</span><br>
- <span class="error"><?php echo $storyErr;?></span><br>
- <textarea id="story" type="text" dir="ltr" name="story" size="30000" maxlength="30000" rows="25" style="width:750px"></textarea><br>
- </p>
- <p>
- <button id="submit" type="submit" name="submit" value="submit">Submit</button>
- </p>
- </form>
- <p>
- <button id="wordcountbutton" onclick="wordcountinfo()">Update word count</button>
- </p>
- <h4 id="wordsentered">Words Entered:</h4>
- <h4 id="wordscounted">0</h4>
- </div>
- </section>
- <section>
- <div>
- <div id="keyboarddiv">
- <?php include "softkeyboard.php" ;?>
- </div>
- </div>
- </section>
- <section>
- <p id="translator"></p>
- </section>
- <?php include 'submitsave.php';?>
- </body>
- <?php include 'footer.php';?>
- <script type="text/javascript" src="js/englishsubmit.js"></script>
- <script type="text/javascript" src="js/kiswahilisubmit.js"></script>
- <script>
- if (sessionStorage.tplang==="eng") {
- englishsubmittranslation();
- } else if (sessionStorage.tplang==="swa") {
- kiswahilisubmittranslation();
- }
- </script>
- <script>
- function translatewrap()
- {
- var lang = document.getElementById("translatesubmissionpage").value;
- if (lang==="eng") {
- englishsubmittranslation();
- sessionStorage.tplang="eng";
- }else if (lang==="swa") {
- kiswahilisubmittranslation();
- sessionStorage.tplang="swa";
- }
- }
- function addcharacter(id)
- {
- var charin = document.getElementById(id).value;
- //var id = event.srcElement.id;
- console.log(id);
- console.log(charin);
- var text = document.getElementById("story").value;
- var input = document.getElementById("story");
- var cursorpos = input.selectionStart;
- // A slow but reliable entry method
- var start = text.substring(0,cursorpos);
- var end = text.substring(cursorpos,text.length);
- if (charin==="")
- {
- var character="";
- }else if (id==="Backspace") {
- var character="";
- var start = start.substring(0,start.length-1);
- }else if ((id==="Enter")||(id==="Tab")){
- var character = charin;
- }else{
- var character = String.fromCharCode(charin);
- }
- console.log(character);
- document.getElementById("story").value = start + character + end;
- }
- function shiftwrap()
- {
- var value = document.getElementById("keyboardtype").value;
- shift(value);
- }
- function changecasewrap()
- {
- var value = document.getElementById("keyboardtype").value;
- changecase(value);
- }
- function altgrwrap()
- {
- var value = document.getElementById("keyboardtype").value;
- altgr(value);
- }
- function keyboardwrap()
- {
- var value = document.getElementById("keyboardtype").value;
- keyboard(value);
- if(value==="ara") {
- document.getElementById("story").dir="rtl";
- }else{
- document.getElementById("story").dir="ltr";
- }
- }
- </script>
- <script type="text/javascript" src="js/afrikaanskeys.js"></script>
- <script type="text/javascript" src="js/akankeys.js"></script>
- <script type="text/javascript" src="js/amharickeys.js"></script>
- <script type="text/javascript" src="js/arabickeys.js"></script>
- <script type="text/javascript" src="js/bembakeys.js"></script>
- <script type="text/javascript" src="js/camerooniankeys.js"></script>
- <script type="text/javascript" src="js/dagbanikeys.js"></script>
- <script type="text/javascript" src="js/englishkeys.js"></script>
- <script type="text/javascript" src="js/ewekeys.js"></script>
- <script type="text/javascript" src="js/gakeys.js"></script>
- <script type="text/javascript" src="js/hausakeys.js"></script>
- <script type="text/javascript" src="js/igbokeys.js"></script>
- <script type="text/javascript" src="js/kikuyukeys.js"></script>
- <script type="text/javascript" src="js/lingalakeys.js"></script>
- <script type="text/javascript" src="js/lugandakeys.js"></script>
- <script type="text/javascript" src="js/malikeys.js"></script>
- <script type="text/javascript" src="js/sesothokeys.js"></script>
- <script type="text/javascript" src="js/togokeys.js"></script>
- <script type="text/javascript" src="js/wolofkeys.js"></script>
- <script type="text/javascript" src="js/yorubakeys.js"></script>
- <script type="text/javascript" src="js/keyboard.js"></script>
- <script type="text/javascript" src="js/wordcount.js"></script>
- </html>
|