, where practice rooms are also available. 
					The Waldkirch Music School is the oldest municipal music school in Germany.
					Click <a href="https://www.google.co.uk/maps/@48.0939927,7.9565182,17z" target="_blank">here</a> for a google map.
					<br />
					<br /> 
					</li>
					<li>Please email <a href="mailto:w.cuthbertson@gmx.de">w.cuthbertson@gmx.de</a> with any questions.
				<br/>
				<br/>
				</li>
				<li>Click <a href="doc/English%20Brochure%20with%20pics%202016.pdf" title="masterclass 2016 brochure English">here</a> for 2016 brochure
				and <a href="doc/EnglishBrochure2016.pdf" title="English 2016 Masterclass Application Form" >here</a> for 2016 application form.
				<br>
				<br>
				</li>
				<li>Click <a href="masterclasses15_e.php">here</a> to view details of the 2015 Masterclass.
				</li>
			</ul>
				<?php 
print foot();
?>
               </div>
             </div>
          </div>
      </div>        <!-- /#page-content-wrapper -->
  </div>    <!-- /#wrapper -->
 	<?php 
print endPage();
?>
	</body>
</html>
示例#2
0
<?php

/** ===============================================
 * 2010&copy;SisoPipo.com
 * Website Project
 * 
 * @author Geln Yang
 * @version 1.0
 ==================================================== */
require_once '_initialization_companyinfo.php';
startPage('Add Company Info');
loadModuleCSS('css/companyinfo.css');
showAppLinks();
showCompanyInputForm(null);
endPage();
示例#3
0
            }
        }
    }
    //if audio
} else {
    //convert id
    $target = $checker->convert($obj->id, $index);
    if ($videoconv) {
        //if video
        if ($checker->fileOK($target)) {
            if ($jingle) {
                $obj->setJingle($target);
            } else {
                $obj->setAudio($target);
            }
        } else {
            $file_errors++;
        }
    } else {
        //if audio
        if ($jingle) {
            $obj->setJingle($target);
        } else {
            $obj->setAudio($target);
        }
    }
    //if audio
}
//convert id
endPage($file_errors);
示例#4
0
function errorPage($text, $title = "Manage preprints", $h1 = "Unauthorized access", $return = False)
{
    global $_SERVER;
    if (!$return) {
        $return = $_SERVER["HTTP_REFERER"];
    }
    //startPage($title, "", "pic/person_NO_l.gif");
    startPage($title);
    print "<center>" . "<table>" . "<tr valign=bottom><td colspan=2><h2>{$h1}</h2></td>" . "<tr valign=bottom><td><img src='pic/person_NO_r.gif' align='left' alt='' valign='top'></td>" . "<td>{$text}<br>" . core_getLink("go back", $return) . "</td>" . "</tr></table></center>\n";
    endPage();
}
}
if (strlen($subject) < 2) {
    $er .= " *Subject-Required*";
}
if (strlen($message) == 0) {
    $er .= " *Message-Required* ";
} elseif (strlen($message) < 5) {
    $er .= " *Longer Message Required* ";
}
if (count_digits($phone) < 7) {
    $er .= " *Valid-Phone-number-Required* ";
}
if (strlen($er) > 0) {
    $link = 'Location: kontakt_e.php';
    $link .= "?error=Error-" . $er;
    $link .= "&sname=" . $sname;
    $link .= "&subject=" . $subject;
    $link .= "&email=" . $email;
    $link .= "&phone=" . $phone;
    $link .= "&message=" . $message;
    header($link);
    exit;
}
$message = "<html>\n<head>\n<title>William Cuthbertson Email</title>\n</head>\n<body>\n<table>\n<tr><td>From&nbsp;&nbsp;</td><td>: " . $sname . "</td></tr>\n<tr><td>Email&nbsp;</td><td>: " . $email . "</td></tr>\n<tr><td>Phone&nbsp;</td><td>: " . $phone . "</td></tr>\n<tr><td>Message&nbsp;</td><td>: " . $message . "</td></tr>\n</table>" . endPage() . "</body>\n</html>";
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
$headers .= 'From: <*****@*****.**>' . "\r\n";
mail("*****@*****.**", $subject, $message, $headers);
mail("*****@*****.**", $subject, $message, $headers);
header('Location: kontakt_ty_e.php');
exit;
示例#6
0
         $apip->update();
     } catch (QueryFailedException $e) {
         endPage("Couldn't save :(");
     }
     echo '<p>Saved profile <b>' . $apip->name . '</b><br />';
     $privkey = openssl_pkey_get_private($apip->priv_pem);
     $details = openssl_pkey_get_details($privkey);
     $pubkey = $details["key"];
     $details = $details["rsa"];
     echo '<b>Pubkey:</b><br /><pre>' . $pubkey . '</pre>' . "\n";
     echo '<b>Modulus (hex):</b> ' . bin2hex($details['n']) . '<br /><br />' . "\n";
     echo '<b>Public exponent (hex):</b> ' . bin2hex($details['e']) . '</p>' . "\n";
 }
 $apip = $apm->getByName($_POST['pname']);
 if (!$apip) {
     endPage("Name {$_POST['pname']} does not exist.");
 }
 echo "<h1>API Profile: [{$apip->name}]</h1>\n";
 echo '<form method="POST" action="' . dirname($_SERVER['REQUEST_URI']) . '/' . basename($_SERVER['PHP_SELF']) . '">' . "\n";
 echo '<input type="hidden" name="pname" value="' . $apip->name . '" />' . "\n";
 foreach ($fields as $field) {
     if (substr($field, 0, 5) == 'perm_' || $field == 'active') {
         echo '<label for="' . $field . '">' . $field . '</label>' . "\n";
         echo '<input type="checkbox" name="' . $field . '" id="' . $field . '" value="1" ';
         if ($apip->{$field}) {
             echo 'checked="true" ';
         }
         echo '/><br />' . "\n";
     } else {
         if ($field != 'id' && $field != 'created' && $field != 'name' && $field != 'allowed_app_fields' && $field != 'priv_pem') {
             echo '<label for="' . $field . '">' . $field . '</label>' . "\n";
示例#7
0
function search($s, $lan)
{
    $pgfound = "";
    $aCount = 0;
    $aBestPgTxt = "";
    $aBestPgPtr = "";
    $aFound = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
    switch ($lan) {
        case "de":
            $aPgURL = array('index.php', 'program.php', 'repertoire.php', 'teaching.php', 'kinder.php', 'meisterkurse.php', 'concert.php', 'video.php', 'presse.php', 'foto.php', 'bilde.php', 'bio.php', 'links.php', 'kontakt.php');
            $aPgTitle = array('Homepage', 'Program', 'Repertoire', 'Untericht', 'Kinder', 'Meisterkurs', 'Konzerte', 'Video', 'Presse', 'Fotos', 'Shizzen', 'Biographie', 'Links', 'Kontakt');
            $searchTitle = "Suche";
            $notFound = "nicht gefunden";
            $searchResults = "Suchergebnisse für";
            break;
        case "ch":
            $aPgURL = array('index_ch.php', 'program_ch.php', 'repertoire_ch.php', 'teaching_ch.php', 'meisterkurse_ch.php', 'concert_ch.php', 'video_ch.php', 'presse_ch.php', 'foto_ch.php', 'bilde_ch.php', 'bio_ch.php', 'links_ch.php', 'kontakt_ch.php');
            $aPgTitle = array('Homepage', 'Program', 'Repertoire', 'Untericht', 'Masterclass', 'Concerts', 'Video', 'Press', 'Photos', 'Sketches', 'Biography', 'Links', 'Contact');
            $searchTitle = "搜";
            $notFound = "未找到";
            $searchResults = "搜索结果 ";
            break;
        default:
            $aPgURL = array('index_e.php', 'program_e.php', 'repertoire_e.php', 'teaching_e.php', 'meisterkurse_e.php', 'concert_e.php', 'video_e.php', 'presse_e.php', 'foto_e.php', 'bilde_e.php', 'bio_e.php', 'links_e.php', 'kontakt_e.php');
            $aPgTitle = array('Homepage', 'Programme', 'Repertoire', 'Teaching', 'Masterclass', 'Concerts', 'Video', 'Press', 'Fotos', 'Sketches', 'Biography', 'Links', 'Contact');
            $searchTitle = "Search";
            $notFound = "not found";
            $searchResults = "Search results for";
    }
    for ($i = 0; $i < count($aPgTitle); $i++) {
        $url = $aPgURL[$i];
        $pgtxt = curl_download("cuthbertson.de/" . $url);
        $startPos = strpos($pgtxt, "<body>");
        $pgtxt = substr($pgtxt, $startPos);
        $pos = stripos(strtoupper($pgtxt), strtoupper($s));
        if ($pos != false) {
            $aCount++;
            $aFound[$i] = 1;
            $aBestPgTxt = $pgtxt;
            $aBestPgPtr = $i;
        }
    }
    switch ($aCount) {
        case 0:
            print head($lan, $searchTitle, "index.php");
            ?>
	<body>
		<div id="wrapper">

		<div id="sidebar-wrapper">
            <?php 
            print menu($lan, $searchTitle);
            ?>
         </div>
          <div id="page-content-wrapper">
            <div class="container-fluid">
               <?php 
            topRight();
            ?>
                <div class="row">
                <div class="col-lg-12">
                   <h2><?php 
            print $searchTitle;
            ?>
</h2>
                </div>
             </div>
             <div class="row">
               <div class="col-lg-12">
					<?php 
            print "<br/>" . $s . " " . $notFound;
            ?>
				</div>
              </div>
					 </div>
                </div>
            </div>
        </div>        <!-- /#page-content-wrapper -->
    </div>    <!-- /#wrapper -->
 </body>
</html>
<?php 
            break;
        case 1:
            print $aBestPgTxt;
            break;
        default:
            print head($lan, $searchTitle, "search.php");
            ?>
	<body>
		<div id="wrapper">
		<div id="sidebar-wrapper">
            <?php 
            print menu($lan, $searchTitle);
            ?>
         </div>
          <div id="page-content-wrapper">
            <div class="container-fluid">
               <?php 
            topRight();
            ?>
                <div class="row">
                <div class="col-lg-12">
                      <h2><?php 
            print $searchTitle;
            ?>
</h2>
                </div>
             </div>
             <div class="row">
               <div class="col-lg-12">
				<?php 
            print $searchResults . " " . $s;
            print "<ul>";
            for ($i = 0; $i < count($aPgTitle); $i++) {
                if ($aFound[$i] == 1) {
                    print '<li><a href="' . $aPgURL[$i] . '">' . $aPgTitle[$i] . '</a></li>';
                }
            }
            print "</ul>";
    }
    ?>
			</div>
            </div>
 			   <?php 
    print foot();
    ?>
                    </div>
                </div>
            </div>
        </div>        <!-- /#page-content-wrapper -->
    </div>    <!-- /#wrapper -->
		<?php 
    print endPage();
    ?>
</body>
</html>
<?php 
}
示例#8
0
function errorExit($text)
{
    startPage("Edit Preprints: Error", "../preprints.css");
    echo "<p>{$text}</p>";
    endPage();
}