Exemple #1
0
                break;
            case 'templates':
                insert_templates();
                break;
            case 'configuration':
                configure();
                break;
            case 'adminuser':
                create_admin_user();
                break;
            case 'final':
                install_done();
                break;
            default:
                $mybb->input['action'] = 'intro';
                intro();
                break;
        }
    }
}
/**
 * Welcome page
 */
function intro()
{
    global $output, $mybb, $lang;
    $output->print_header($lang->welcome, 'welcome');
    if (strpos(strtolower(get_current_location('', '', true)), '/upload/') !== false) {
        echo $lang->sprintf($lang->mybb_incorrect_folder);
    }
    echo $lang->sprintf($lang->welcome_step, $mybb->version);
Exemple #2
0
foreach ($news as $a) {
    ?>
                <hgroup id = 'index-news'>
                    <p class='title-white'><a href="templates/article.php?id=<?php 
    echo $a['id'];
    ?>
"><?php 
    echo $a['title'];
    ?>
</a>
                    <p class='date-white'><?php 
    echo $a['date'];
    ?>
</p>
                    <p class='text-white'><?php 
    echo intro($a['text']);
    ?>
</p>
                </hgroup>
            <?php 
}
?>
			</aside>
            
			<div class = 'clear'></div>
		</section>
		<footer>
			<div class='footer-text'>
				<div>Муниципальное бюджетное образовательное учреждение культуры дополнительного образования детей</div>
				<div>«Детская школа искусств № 10»</div>
				<div>|  620025, г. Екатеринбург, ул. Бахчиванджи, д. 20А  |  7 (343) 252-68-59  |  nata_kurilova@mail.ru  |</div>
 /**
  * function play( $id, $id_param, $back_url )
  * @param int $id contains the resource id
  * @param int $id_param contains the id needed for params retriving
  * @param string $back_url contain the back url
  * @return nothing return
  **/
 function play($id, $id_param, $back_url)
 {
     require_once $GLOBALS['where_lms'] . '/modules/poll/do.poll.php';
     $this->id = $id;
     $this->back_url = $back_url;
     $step = importVar('next_step');
     switch ($step) {
         case "poll_review":
             review($this, $id_param);
             break;
         case "play":
             playPollDispatch($this, $id_param);
             break;
         default:
             intro($this, $id_param);
             break;
     }
 }
Exemple #4
0
	
	if(isset($_GET["kerbchkconf"])){kerbchkconf();exit;}
	if(isset($_GET["test-popup"])){test_popup();exit;}
	if(isset($_GET["test-nettestjoin"])){test_testjoin();exit;}
	if(isset($_GET["test-netadsinfo"])){test_netadsinfo();exit;}
	if(isset($_GET["test-netrpcinfo"])){test_netrpcinfo();exit;}
	if(isset($_GET["test-wbinfoalldom"])){test_wbinfoalldom();exit;}
	if(isset($_GET["test-wbinfomoinst"])){test_wbinfomoinst();exit;}
	if(isset($_GET["test-wbinfomoinsa"])){test_wbinfomoinsa();exit;}
	
	if(isset($_GET["test-auth"])){test_auth();exit;}
	if(isset($_POST["SaveSambaBindInterface"])){SaveSambaBindInterface();exit;}
	if(isset($_POST["TESTAUTHUSER"])){test_auth_perform();exit;}
	if(isset($_POST["LDAP_SUFFIX"])){ldap_params_save();exit;}
	if(isset($_GET["test-popup-js"])){test_popup_js();exit;}
	if(isset($_GET["intro"])){intro();exit;}
	if(isset($_GET["join-js"])){join_js();exit;}
	if(isset($_GET["join-popup"])){join_popup();exit;}
	if(isset($_GET["join-perform"])){join_perform();exit;}
	
	if(isset($_GET["diconnect-js"])){diconnect_js();exit;}
	if(isset($_GET["disconnect-popup"])){diconnect_popup();exit;}
	if(isset($_GET["disconnect-perform"])){diconnect_perform();exit;}
	if(isset($_GET["cntlm"])){cntlm();exit;}
	
js();

function join_js(){
	header("content-type: application/x-javascript");
	$page=CurrentPageName();
	$tpl=new templates();