当前位置: 首页>>代码示例>>PHP>>正文


PHP btn_add函数代码示例

本文整理汇总了PHP中btn_add函数的典型用法代码示例。如果您正苦于以下问题:PHP btn_add函数的具体用法?PHP btn_add怎么用?PHP btn_add使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了btn_add函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: btn_add

            </li>
            
          </ul><!--.breadcrumb-->
                     
          
</div>
                <div class="page-content">
          <div class="row-fluid">
                       <div class="span12">
                                
                <h3 class="header smaller lighter blue"><?php 
echo ACTIV_APP;
?>
                                <span class="pull-right">
                                <?php 
echo btn_add('addpage', 'Ajouter Une Page');
?>
                                </span>
                                </h3>
                                
                <div class="table-header">
                  Résultat pour: "<?php 
echo ACTIV_APP;
?>
"
                                    
                                   
                                    
                </div>
                                
 <table id="table-depenses" class="table table-bordered table-condensed table-hover table-striped dataTable no-footer">
开发者ID:ATS001,项目名称:PRSIT,代码行数:31,代码来源:page_v.php

示例2: btn_add

                <p>Vous pouvez si vous le souhaitez, ajouter une photo d'identit&eacute; sur 
                    la fiche de l'&eacute;l&egrave;ve.
                </p>
                <p>Cette photo est visible sur les &eacute;cran uniquement pour le personnel 
                    de l'&eacute;tablissement et permet l'impression
                </p>
                <p>Vous devez utilisez imp&eacute;rativement un format de photo d'identit&eacute; 
                    r&eacute;glementaire de 200x200 px sous peine d'obtenir une photo d&eacute;form&eacute;e.
                </p>
                <p>
                    Les formats gif, jpg, jpeg et png sont accept&eacute;s.
                </p>
                <input type="file" name="photo" maxlength="30" required="" style="margin: 0; padding: 0" />
                <div  style="position: relative; top: 10px; margin-right: 10px; clear: both;" class="navigation">
                    <div id="btn_photo_action"><?php 
echo btn_add("savePhotoEleve()");
?>
                        <?php 
echo btn_effacer_disabled("");
?>
                    </div>

                </div>
            </fieldset>

            <div id="photoeleve" style="border: 1px solid #000; float: left;  position: relative;width: 200px; height: 200px;margin: 8px 20px;">

            </div>
        </form>
    </div>
</div>
开发者ID:jpainam,项目名称:cosba,代码行数:31,代码来源:saisie.php

示例3: btn_add

<div id="entete"></div>
<script>
$(document).ready(function(){
   $("#responsableTable").DataTable({
       "columns": [
           {"width": "5%"},
           null,
           {"width": "10%"},
           {"width": "10%"},
           {"width": "10%"},
           {"width": "5%"}
       ]
   }) 
});
</script>
<div class="page">
    <?php 
echo $responsables;
?>
</div>
<div class="navigation">
    <?php 
if (isAuth(319)) {
    echo btn_add("document.location='" . Router::url("responsable", "saisie") . "'");
} else {
    echo btn_add_disabled();
}
?>
</div>
开发者ID:ktla,项目名称:locan-2,代码行数:29,代码来源:index.php

示例4: photo

 public function photo($action)
 {
     $json_array = array();
     if (!strcmp($action, "upload")) {
         $photo = "";
         $message = "";
         if (move_uploaded_file($_FILES['photo']['tmp_name'], ROOT . "/public/photos/eleves/" . $_FILES['photo']['name'])) {
             $photo = SITE_ROOT . "public/photos/eleves/" . $_FILES['photo']['name'];
         } else {
             $message = "Erreur lors de la sauvegarde du fichier photo : " . $_FILES['photo']['name'];
         }
         if (!empty($photo)) {
             $json_array[0] = btn_add_disabled("") . " " . btn_effacer("effacerPhotoEleve();");
         } else {
             $json_array[0] = btn_add("savePhotoEleve();") . " " . btn_effacer_disabled("");
         }
         $json_array[1] = $photo;
         $json_array[2] = $message;
         $json_array[3] = $_FILES['photo']['name'];
     } else {
         if (file_exists(ROOT . DS . "public" . DS . "photos" . DS . "eleves" . DS . $action)) {
             unlink(ROOT . DS . "public" . DS . "photos" . DS . "eleves" . DS . $action);
             $json_array[0] = btn_add("savePhotoEleve();") . " " . btn_effacer_disabled("");
             $json_array[1] = "";
             $json_array[2] = "";
             $json_array[3] = "";
         } else {
             $json_array[0] = btn_add_disabled("") . " " . btn_effacer("effacerPhotoEleve();");
             $json_array[1] = $action;
             $json_array[2] = "Erreur lors de la suppression de l'image";
             $json_array[3] = "";
         }
     }
     print json_encode($json_array);
 }
开发者ID:jpainam,项目名称:cosba,代码行数:35,代码来源:eleveController.php

示例5: img_delete_disabled

    }
    if (!isAuth(530) || $ets['IDETABLISSEMENT'] == ETS_ORIGINE) {
        echo "<img style='cursor:pointer' src='" . img_delete_disabled() . "' />";
    } else {
        echo "<img style='cursor:pointer' src='" . img_delete() . "' " . "onclick=\"document.location='" . Router::url("etablissement", "delete", $ets['IDETABLISSEMENT']) . "'\" />";
    }
    echo "</td></tr>";
    $i++;
}
?>
            </tbody>
        </table>
    </div>
    <input type="hidden" name="addnewets" value="true" />  
    <div class="navigation">
        <?php 
if (isAuth(501)) {
    echo btn_add("ajouterEtablissement();");
} else {
    echo btn_add_disabled();
}
?>
    </div>
</form>
<div class="status"></div>
<div id="editets-dialog-form" class="dialog" title="Modification d'un etablissement de provenance" >
    <span><label>Libell&eacute; de l'&eacute;tablissement</label>
        <input type="text" name="libelle" style="width: 100%" />
    </span>
</div>
开发者ID:jpainam,项目名称:cosba,代码行数:30,代码来源:showEtablissement.php

示例6: btn_add

<div class="col-lg-12">

	<?php 
echo btn_add('dashboard/posts/create', 'Post');
?>
	<hr>
	<table class="table">
		<thead>
			<tr>
				<th>Post Title</th>
				<th>Post Content</th>
				<th> </th>
			</tr>
		</thead>
		<tbody>
	<?php 
if (count($posts)) {
    foreach ($posts as $post) {
        ?>
			<tr>

				<td><?php 
        echo $post->post_title;
        ?>
</td>
				<td><?php 
        echo text_trunk($post->post_content, 5);
        ?>
</td>
				<td>
				<?php 
开发者ID:codza,项目名称:panga,代码行数:31,代码来源:_post_list.php

示例7: btn_add

<?php

echo btn_add('dashboard/rabc/add_role', 'Add Role');
?>
 
    &nbsp; | &nbsp;
<?php 
echo btn_add('dashboard/rabc/view_roles', 'View Role');
?>
    <br>
<?php 
echo btn_add('dashboard/rabc/add_permission', 'Add Permission');
?>
 
    &nbsp; | &nbsp;
<?php 
echo btn_add('dashboard/rabc/view_permissions', 'View Permission');
?>

<br>
开发者ID:codza,项目名称:panga,代码行数:20,代码来源:_rabc_menu.php

示例8: btn_add

?>
" /></div>
    <div style="margin-left: 70px;">
        <span class="select" style="width: 300px; margin-left: 120px;"><label>Fonction : </label>
            <?php 
echo $comboFonctions;
?>
</span>
    </div>
</div>
<form action="<?php 
echo Router::url("personnel", "saisie");
?>
" name="frmpersonnel">
    <div class="page">

        <?php 
echo $listepersonnels;
?>

    </div>

    <div class="navigation">
        <?php 
if (isAuth(502)) {
    echo btn_add("document.forms['frmpersonnel'].submit();");
}
?>
    </div>
</form>
<div class="status"></div>
开发者ID:jpainam,项目名称:cosba,代码行数:31,代码来源:index.php

示例9: img_imprimer

                <input type="text" name="description" />
            </span>
            <span class="text" style="width: 400px;"><label>Montant : </label>
                <input type="text" name="montant" style="text-align: right;" />
            </span>
        </fieldset>
    </div>
    <div class="recapitulatif"></div>
    <div class="navigation">
        <div class="editions" style="float: left;">
            <img src="<?php 
echo img_imprimer();
?>
" />&nbsp;Editions:
            <select onchange="imprimer();" name = "code_impression">
                <option></option>
                <option value="0001">Imprimer ce compte caisse</option>
            </select>
        </div>
        <?php 
if (isAuth(512)) {
    echo btn_add("ValiderCaisse();");
} else {
    echo btn_add_disabled();
}
?>
    </div>
</form>

<div class="status"></div>
开发者ID:jpainam,项目名称:cosba,代码行数:30,代码来源:saisie.php

示例10: btn_add



    <?php 
echo btn_add('dashboard/users/create', ' User');
?>
    <hr>
    <table class="table">
        <thead>
            <tr>
                <th>Full Name</th>
                <th>E-mail</th>
                <th>Username</th>
                <th>Date Created</th>
                <th></th>
            </tr>
        </thead>
        <tbody>
            <?php 
foreach ($users as $user) {
    ?>
                <tr>
                    <td><?php 
    echo $user->first_name . " " . $user->last_name;
    ?>
</td>
                    <td><?php 
    echo $user->email;
    ?>
</td>
                    <td><?php 
    echo $user->username;
开发者ID:codza,项目名称:panga,代码行数:29,代码来源:_user_list.php

示例11: btn_add

							
					</ul><!--.breadcrumb-->
                     
					
</div>
                <div class="page-content">
					<div class="row-fluid">
                       <div class="span12">
                                
								<h3 class="header smaller lighter blue">
								<?php 
echo ACTIV_APP;
?>
                                <span class="pull-right">
                                <?php 
echo btn_add('adduser', 'Ajouter utilisateur');
?>
                                </span>
                                </h3>
                                
								<div class="table-header">
									Résultat pour: "<?php 
echo ACTIV_APP;
?>
"
                                    
                                </div>
                                
 <table id="table-depenses" class="table table-bordered table-condensed table-hover table-striped dataTable no-footer">
							<thead>
							<tr>
开发者ID:ATS001,项目名称:PRSIT,代码行数:30,代码来源:user_v.php

示例12: btn_add

                                    <td data-title="<?php 
        echo $this->lang->line('lmember_phone');
        ?>
">
                                        <?php 
        echo $student->phone;
        ?>
                                    </td>
                                    <td data-title="<?php 
        echo $this->lang->line('action');
        ?>
">

                                        <?php 
        if ($student->library == 0) {
            echo btn_add('lmember/add/' . $student->studentID . "/" . $set, $this->lang->line('lmember'));
        } else {
            echo btn_view('lmember/view/' . $student->studentID . "/" . $set, $this->lang->line('view')) . " ";
            echo btn_edit('lmember/edit/' . $student->studentID . "/" . $set, $this->lang->line('edit')) . " ";
            echo btn_delete('lmember/delete/' . $student->studentID . "/" . $set, $this->lang->line('delete'));
        }
        ?>
                                    </td>
                                </tr>
                            <?php 
        $i++;
    }
}
?>
                            
                        </tbody>
开发者ID:Rahulsharma0810,项目名称:granth-sas23,代码行数:31,代码来源:index.php

示例13: img_imprimer

?>
    </div>
    <div id="onglet3" class="onglet" style="display: none;">
        <?php 
echo $eleves;
?>
    </div>
</div>

<div class="navigation">
    <div class="editions" style="float: left">
        <img src="<?php 
echo img_imprimer();
?>
" />&nbsp;Editions:
         <select onchange="imprimer();" name = "code_impression">
            <option></option>
            <option value="0001">Informations de l'&eacute;tablissement</option>
            <option value="0002">Liste simplifi&eacute;e des &eacute;l&egrave;ves</option>
            <option value="0003">Liste d&eacute;taill&eacute;e des &eacute;l&egrave;ves</option>
            <option value="0004">Liste simplifi&eacute;e du personnels</option>
            <option value="0005">Liste d&eacute;taill&eacute;e du personnels</option>
            <option value="0006">Planning des activit&eacute;s p&eacute;dagogique</option>
            <option value="0007">Liste des chefs et sous-chefs de classes</option>
        </select>
    </div>
    <?php 
echo btn_add("document.location='" . Router::url("etablissement", "saisie") . "'");
?>
</div>
<div class="status"></div>
开发者ID:jpainam,项目名称:cosba,代码行数:31,代码来源:index.php

示例14: btn_add

        <?php 
echo btn_add('dashboard/categories/create', 'Category');
?>

		<hr>
<table class="table">
	<thead>
		<tr>
			<th>Category Name</th>
			<th>Category Description</th>
			<th></th>
		</tr>
	</thead>
	<tbody>
<?php 
foreach ($categories as $category) {
    ?>
		<tr>
			<td><?php 
    echo $category->category_name;
    ?>
</td>
			<td><?php 
    echo $category->category_description;
    ?>
</td>

			<td> 
			<?php 
    echo btn_edit('dashboard/categories/edit/' . $category->category_id);
开发者ID:codza,项目名称:panga,代码行数:30,代码来源:_category_list.php

示例15: btn_add

    <div style="margin-left: 80px">
        <span class="select" style="width: 350px"><label>Mati&egrave;res - classes : </label>
            <?php 
echo $comboEnseignements;
?>
        </span>
        <span class="select" style="width: 200px"><label>P&eacute;riode : </label>
            <?php 
echo $comboPeriodes;
?>
        </span>
    </div>
</div>
<div class="page">
    <div id="verrouillage-content">
        <?php 
echo $verrouillage;
?>
    </div>
</div>
<div class="navigation">
    <?php 
if (isAuth(401)) {
    echo btn_add("document.location='" . Router::url("note", "saisie") . "'");
} else {
    echo btn_add_disabled();
}
?>
</div>
<div class="status"></div>
开发者ID:jpainam,项目名称:cosba,代码行数:30,代码来源:verrouillage.php


注:本文中的btn_add函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。