<br />// ----- JoshPet's Mod Template START ---------<br /> $modname = get_input("modname","post");<br /> $moddesc = get_input("moddesc","post");<br /> $v60 = get_input("60","post");<br /> $v61 = get_input("61","post");<br /> $v62 = get_input("62","post");<br /> $v63 = get_input("63","post");<br /> $prerequisites = get_input("prerequisites","post");<br /> $author = get_input("author","post");<br /> $date = get_input("date","post");<br /> $credits = get_input("credits","post");<br /> $filesaltered = get_input("filesaltered","post");<br /> $databasealter = get_input("databasealter","post");<br /> $instructions = get_input("instructions","post");<br /> $status = get_input("status","post");<br /> $newfiles = get_input("newfiles","post");<br /> $modsubmit = get_input("modsubmit","post");<br /><br />if (($Board == "modifications") && ($modsubmit == "yes")) {<br /><br /> // --- Let's display the checked version numbers right --<br /> if (($v60) && (($v61) || ($v62) || ($v63))) {<br /> $version = $v60."-";<br /> } <br /><br /> if (($v61) && (($v62) || ($v63))) {<br /> $version .= $v61."-";<br /> } else {<br /> $version .= $v61;<br /> } <br /><br /> if (($v62) && ($v63)) {<br /> $version .= $v62."-";<br /> } else {<br /> $version .= $v62;<br /> }<br /> <br /> if ($v63) {<br /> $version .= $v63;<br /> }<br /> <br /> if (!$version) {<br /> $version = "$v60$v61$v62$v63";<br /> } <br /> <br /><br /> // --- Build Subject & Body ---------<br /> $Subject = "$status-[$version] $modname";<br /> $Body = "Mod Name / Version: $modname \n\n";<br /> $Body .= "Description: $moddesc \n\n";<br /> $Body .= "Working Under: UBB.Threads $version \n\n";<br /> $Body .= "Mod Status: $status \n\n";<br /> $Body .= "Any pre-requisites: $prerequisites \n\n";<br /> $Body .= "Author(s): $author \n\n";<br /> $Body .= "Date: $date \n\n";<br /> $Body .= "Credits: $credits \n\n";<br /> $Body .= "Files Altered: $filesaltered \n\n";<br /> $Body .= "New Files: $newfiles \n\n";<br /> $Body .= "Database Altered: $databasealter \n\n";<br /> $Body .= "Info/Instructions: $instructions \n\n";<br /> $Body .= "Disclaimer: Please backup every file that you intend to modify. \n";<br /> $Body .= "If the modification modifies the database, it's a good idea to backup your database before doing so. \n\n";<br /> $Body .= "Note: If you modify your UBB.Threads code, you may be giving up your right for \"official\" support from Infopop.";<br /> $Body .= "If you need official support, you'll need to restore unmodified files. \n\n";<br />}<br />// ----- JoshPet's Mod Template END -----------<br />