<div id="ebook"> <?php //Medium if ($style == "mla7") { beginsection(ebookmedium, "Medium:", yes); mediuminput(); endsection(); } //URL if ($style == "mla7") { beginsection(urlsection, "URL:", yes); urlinput(urlebookinput, $style, $source, no); endsection(); } elseif ($style == "apa6") { beginsection(urlsection, "URL:", yes); urlinput(urlebookinput, $style, $source, yes); endsection(); } //DOI if ($style == "apa6") { beginsection(doisection, "DOI:", yes); echo textbox(doiebookinput, textbox, 45, none, novalue); endsection(); } ?> </div> </div> <?php //Submit button beginsection(submitbutton, "", yes); echo submitbutton(submitclass);
<div id="db"> <?php //Database if ($style == "mla7") { beginsection(databasetitle, "Database title:", yes); echo textbox(databaseinput, textbox, 45, none, novalue); endsection(); } //URL if ($style == "mla7") { beginsection(urlsection, "URL:", yes); urlinput(urldbinput, $style, $source, no); endsection(); } elseif ($style == "apa6") { beginsection(urlsection, "URL:", yes); urlinput(urldbinput, $style, $source, yes); endsection(); } //DOI if ($style == "apa6") { beginsection(doisection, "DOI:", yes); echo textbox(doidbinput, textbox, 45, none, novalue); endsection(); } //Date accessed if ($style == "mla7") { beginsection(dbaccessdate, "Date accessed:", yes); dateinput(dbaccessdate); endsection(); } ?>
endsection(); } //Date accessed if ($style == "mla7") { beginsection(dbaccessdate, "Date accessed:", yes); dateinput(dbaccessdate, textbox, 12, none, novalue); endsection(); } //URL if ($style == "mla7") { beginsection(urlsection, "URL:", yes); urlinput(urldbinput, $style, $source, no); endsection(); } elseif ($style == "apa6") { beginsection(urlsection, "Database URL:", yes); urlinput(urldbinput, $style, $source, no); endsection(); } ?> </div> </div> <?php //Submit button beginsection(submitbutton, "", yes); echo submitbutton(submitclass); endsection(); //footer footercreate(); //citation holder citationhold(); ?>
beginsection(websitetitle, "Website title:", yes); echo textbox(websitetitleinput, textbox, 45, none, novalue); endsection(); } //Publisher / sponsor beginsection(publishersponsor, "Site publisher / sponsor:", yes); echo textbox(publishersponsorinput, textbox, 45, none, novalue); endsection(); //URL if ($style == "mla7") { beginsection(urlsection, "URL:", yes); urlinput(urlwebsiteinput, $style, $source, no); endsection(); } elseif ($style == "apa6") { beginsection(urlsection, "URL:", yes); urlinput(urlwebsiteinput, $style, $source, no); endsection(); } //Electronically published beginsection(electronicpublish, "Electronically published:", yes); dateinput(electronicpublish); endsection(); //Date accessed if ($style == "mla7") { beginsection(webaccessdate, "Date accessed:", yes); dateinput(webaccessdate); endsection(); } ?> </div> </div>