//Pages if ($style == "mla7") { beginsection(dbpages, "Pages:", no); pages(dbpages); endsection(); } //Database if ($style == "mla7") { beginsection(databasetitle, "Database title:", yes); echo textbox(databaseinput, textbox, 45, none, novalue); 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>
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(webaccessdate, "Date accessed:", yes); dateinput(dbaccessdate); endsection(); } ?> </div> <div id="ebook"> <?php //Medium if ($style == "mla7") { beginsection(ebookmedium, "Medium:", yes); mediuminput(); endsection(); } //URL if ($style == "mla7") { beginsection(urlsection, "URL:", yes);
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> <?php //Submit button beginsection(submitbutton, "", yes); echo submitbutton(submitclass); endsection(); //footer footercreate(); //citation holder citationhold(); ?>