コード例 #1
0
			<td><?php 
        echo $category->pub_date;
        ?>
</td>
			<?php 
        $checked = '';
        if ($category->approved) {
            $checked = "checked=\"checked\"";
        }
        ?>
			<td >  <?php 
        echo '<input type="checkbox" disabled="disabled" ' . $checked . ' />';
        ?>
</td>
			<td ><?php 
        echo btn_permit($language . '/admin/category/activate/' . $category->category_id);
        ?>
</td>
			<td ><?php 
        echo btn_edit($language . '/admin/category/edit/' . $category->category_id);
        ?>
</td>
			<td ><?php 
        echo btn_delete($language . '/admin/category/delete/' . $category->category_id);
        ?>
</td>
		</tr>
	<?php 
    }
    ?>
	<?php 
コード例 #2
0
ファイル: index.php プロジェクト: igor-vidic/LessonLearned
			<td><?php 
        echo perm_converter($user->privileges);
        ?>
</td>
			<?php 
        $checked = '';
        if ($user->account_active) {
            $checked = "checked=\"checked\"";
        }
        ?>
			<td><?php 
        echo '<input type="checkbox" disabled="disabled" ' . $checked . ' />';
        ?>
</td>
			<td ><?php 
        echo btn_permit($language . '/admin/user/permission/' . $user->id);
        ?>
</td>
			<td ><?php 
        echo btn_edit($language . '/admin/user/edit/' . $user->id);
        ?>
</td>
			<td ><?php 
        echo btn_delete($language . '/admin/user/delete/' . $user->id);
        ?>
</td>
		</tr>
	<?php 
    }
    ?>
		<tr>
コード例 #3
0
						<td><?php 
        echo $course->course_date;
        ?>
</td>
						<?php 
        $checked = '';
        if ($course->course_approved) {
            $checked = "checked=\"checked\"";
        }
        ?>
						<td >  <?php 
        echo '<input type="checkbox" disabled="disabled" ' . $checked . ' />';
        ?>
</td>
						<td ><?php 
        echo btn_permit($language . '/admin/course/activate/' . $course->course_id);
        ?>
</td>
						<td ><?php 
        echo btn_edit($language . '/admin/course/edit/' . $course->course_id);
        ?>
</td>
						<td ><?php 
        echo btn_delete($language . '/admin/course/delete/' . $course->course_id);
        ?>
</td>
					</tr>
		
			<?php 
        ?>
		<?php