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


PHP seoURL函数代码示例

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


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

示例1: base_url

<div class="row">
    <div class="col-sm-12 col-md-12 col-lg-12">
        <div class="block-flat">
            <div class="header">
                <h3>Film Ekle</h3>
            </div>
            <div class="content">
                <form class="form-horizontal" method="post" action="<?php 
echo base_url('admin/filmler/filmduzeltkaydet/' . $_film->id . '/' . seoURL($_film->film_adi) . '');
?>
" role="form">
                    <div class="form-group">
                        <label for="filmadi" class="col-sm-2 control-label">Film Adı:</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="filmadi" name="filmadi" value="<?php 
echo $_film->film_adi;
?>
">
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="frmOrjinalAdi" class="col-sm-2 control-label">Film Orjinal Adı:</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" name="frmOrjinalAdi" id="frmOrjinalAdi" value="<?php 
echo $_film->film_orj_adi;
?>
">
                        </div>
                    </div>
开发者ID:sDenizhan,项目名称:skyfilm,代码行数:30,代码来源:filmler_filmduzelt.php

示例2: date

                            </td>
                            <td class="text-center"><?php 
    echo $_row->konu;
    ?>
</td>
                            <td class="text-center"><strong><?php 
    echo date('d/m/Y H:i:s', $_row->tarih);
    ?>
</strong></td>
                            <td class="text-center">
                                <a href="<?php 
    echo base_url("admin/mesajlar/mesajsil/" . $_row->id . "/" . seoURL($_row->konu) . "");
    ?>
" class="btn btn-xs btn-warning"><i class="fa fa-trash-o"></i></a>
                                <a href="<?php 
    echo base_url("admin/mesajlar/mesajoku/" . $_row->id . "/" . seoURL($_row->konu) . "");
    ?>
" class="btn btn-xs btn-primary"><i class="fa fa-edit"></i></a>
                            </td>
                        </tr>
                    <?php 
}
?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>

    <div class="row text-center">
        <?php 
开发者ID:sDenizhan,项目名称:skyfilm,代码行数:31,代码来源:mesajlar_index.php

示例3: base_url

<div class="row">
    <div class="col-sm-6 col-md-6 col-lg-12">
        <div class="block-flat">
            <div class="header">
                <h3>Link Ekle</h3>
            </div>
            <div class="content">
                <form class="form-horizontal" method="post" action="<?php 
echo base_url('admin/linkler/linkduzeltkaydet/' . $link->id . '/' . seoURL($link->ad) . '');
?>
" role="form">
                    <div class="form-group">
                        <label for="frmBaglantiAdi" class="col-sm-2 control-label">Bağlantı Adı:</label>
                        <div class="col-sm-10">
                            <?php 
echo form_input('frmBaglantiAdi', $link->ad, 'class="form-control"');
?>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="frmUstKategori" class="col-sm-2 control-label">Bağlantı Adresi:</label>
                        <div class="col-sm-10">
                            <?php 
echo form_input('frmBaglantiAdresi', $link->url, 'class="form-control"');
?>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="seotitle" class="col-sm-2 control-label">Bağlantı Açıklaması:</label>
                        <div class="col-sm-10">
                            <?php 
开发者ID:sDenizhan,项目名称:skyfilm,代码行数:31,代码来源:linkler_linkduzelt.php

示例4: base_url

                        <tr>
                            <td class="text-center"><?php 
    echo $_row->kategori_adi;
    ?>
</td>
                            <td class="text-center"><strong><?php 
    echo $_row->parent_id == 0 ? "Ana Kategori" : $_row->parent_adi;
    ?>
</strong></td>
                            <td class="text-center">
                                <a href="<?php 
    echo base_url("admin/kategoriler/kategorisil/" . $_row->id . "/" . seoURL($_row->kategori_adi) . "");
    ?>
" class="btn btn-xs btn-warning"><i class="fa fa-trash-o"></i></a>
                                <a href="<?php 
    echo base_url("admin/kategoriler/kategoriduzelt/" . $_row->id . "/" . seoURL($_row->kategori_adi) . "");
    ?>
" class="btn btn-xs btn-primary"><i class="fa fa-edit"></i></a>
                            </td>
                        </tr>
                    <?php 
}
?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>

    <div class="row text-center">
        <?php 
开发者ID:sDenizhan,项目名称:skyfilm,代码行数:31,代码来源:kategoriler_index.php

示例5: base_url

<div class="row">
    <div class="col-sm-12 col-md-12 col-lg-12">
        <div class="block-flat">
            <div class="header">
                <h3>Yazı Ekle</h3>
            </div>
            <div class="content">
                <form class="form-horizontal" method="post" enctype="multipart/form-data" action="<?php 
echo base_url('admin/bloglar/yaziduzeltkaydet/' . $_blog->id . '/' . seoURL($_blog->baslik));
?>
" role="form">
                    <div class="form-group">
                        <label for="frmYaziBaslik" class="col-sm-2 control-label">Yazı Başlık:</label>
                        <div class="col-sm-10">
                            <?php 
echo form_input('frmYaziBaslik', $_blog->baslik, 'class="form-control"');
?>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="frmYaziOzet" class="col-sm-2 control-label">Yazı Özeti:</label>
                        <div class="col-sm-10">
                            <textarea rows="10" cols="100%" name="frmYaziOzet" class="form-control ckeditor" id="ckeditor"><?php 
echo $_blog->ozet;
?>
</textarea>
                        </div>
                    </div>

                    <div class="form-group">
开发者ID:sDenizhan,项目名称:skyfilm,代码行数:31,代码来源:bloglar_yaziduzelt.php

示例6: edit


//.........这里部分代码省略.........
                 }
             } else {
                 if ($field_name == 'PrimaryPhoto' && !isset($post['PrimaryPhoto_preview'])) {
                     $this->setCustomError($field_name, 'The Primary Photo field is required.');
                     $valid_photo = false;
                 }
             }
         }
         foreach ($post['FoodComposition'] as $key => $value) {
             $this->form_validation->set_rules('FoodComposition[' . $key . '][Measure]', 'Measure', 'trim|required|greater_than[0]|numeric');
             $this->form_validation->set_rules('FoodComposition[' . $key . '][CompositionName]', 'CompositionName', 'trim|required');
             $this->form_validation->set_rules('FoodComposition[' . $key . '][CompositionID]', 'CompositionID', 'trim');
         }
         foreach ($post['FoodProcess'] as $key => $value) {
             $this->form_validation->set_rules('FoodProcess[' . $key . '][FoodStepName]', 'Food Step', 'required');
         }
         if ($this->form_validation->run() == TRUE && $valid_photo == true) {
             $cuisine = $post['CuisineID'];
             if (!isset($cuisine[1])) {
                 $cuisine[1] = NULL;
             }
             // Create Recipe
             $resUpdateRecipe = $this->db->query('CALL UpdateRecipe(?,?,?,?,?,?,?,?,?,?,?,?,?)', array($recipe_id, $post['RecipeName'], nl2br($post['RecipeIntro']), $post['FoodTypeID'], $post['FoodProcessID'], $post['EstPeopleID'], $post['PriceRangeID'], $post['EstTime'], isset($post['PrimaryPhoto']) ? $post['PrimaryPhoto'] : $post['PrimaryPhoto_preview'], $this->session->userdata('userid'), $contest_id, $cuisine[0], $cuisine[1]));
             $query_result = $resUpdateRecipe->result();
             $resUpdateRecipe->next_result();
             if (isset($post['FoodComposition'])) {
                 // Delete first, insert new one
                 $resDeleteFoodComposition = $this->db->query('CALL DeleteFoodComposition(?,?)', array($recipe_id, $this->session->userdata('userid')));
                 $query_result = $resDeleteFoodComposition->result();
                 $resDeleteFoodComposition->next_result();
                 foreach ($post['FoodComposition'] as $key => $value) {
                     $measure = $value['Measure'];
                     $measure_size_id = $value['MeasureSizeID'];
                     $composition = $value['CompositionName'];
                     $composition_id = $value['CompositionID'];
                     $resUpdateFoodComposition = $this->db->query('CALL UpdateFoodComposition(?,?,?,?,?,?,?)', array($key + 1, $composition, $measure, $composition_id == '' ? NULL : $composition_id, $recipe_id, $measure_size_id, $this->session->userdata('userid')));
                     $query_result = $resUpdateFoodComposition->result();
                     $resUpdateFoodComposition->next_result();
                 }
             }
             if (isset($post['FoodProcess'])) {
                 // Delete first, insert new one
                 $resDeleteFoodStep = $this->db->query('CALL DeleteFoodStep(?,?)', array($recipe_id, $this->session->userdata('userid')));
                 $query_result = $resDeleteFoodStep->result();
                 $resDeleteFoodStep->next_result();
                 foreach ($post['FoodProcess'] as $key => $value) {
                     $step = nl2br($value['FoodStepName']);
                     $step_image = isset($value['FoodStepImage']) ? $value['FoodStepImage'] : NULL;
                     if ($step_image == NULL && isset($post['FoodProcess'][$key]['FoodStepImage_preview'])) {
                         $step_image = $post['FoodProcess'][$key]['FoodStepImage_preview'];
                     }
                     $resUpdateFoodStep = $this->db->query('CALL UpdateFoodStep(?,?,?,?,?)', array($key + 1, $step, $step_image, $recipe_id, $this->session->userdata('userid')));
                     $query_result = $resUpdateFoodStep->result();
                     $resUpdateFoodStep->next_result();
                 }
             }
             $message = lang('success_save_recipe');
             $status = 'success';
         } else {
             $message = lang('failed_save_recipe');
             $status = 'error';
         }
     } else {
         // Recipe Header
         $resRecipeDetailHeader = $this->db->query('CALL GetRecipeDetailHeader(?,?)', array($recipe_id, $this->session->userdata('userid')));
         $valuesRecipeDetailHeader = $resRecipeDetailHeader->result_array()[0];
         $resRecipeDetailHeader->next_result();
         // Food Composition
         $resFoodComposition = $this->db->query('CALL GetRecipeDetailComposition(?)', array($recipe_id));
         $valuesFoodComposition = $resFoodComposition->result_array();
         $resFoodComposition->next_result();
         // Food Step
         $resFoodStep = $this->db->query('CALL GetRecipeDetailStep(?)', array($recipe_id));
         $valuesFoodStep = $resFoodStep->result_array();
         $resFoodStep->next_result();
         $post = array('RecipeName' => $valuesRecipeDetailHeader['RecipeName'], 'RecipeIntro' => strip_tags($valuesRecipeDetailHeader['RecipeIntro']), 'CuisineID' => explode(',', $valuesRecipeDetailHeader['CuisineID']), 'FoodTypeID' => $valuesRecipeDetailHeader['FoodTypeID'], 'FoodProcessID' => $valuesRecipeDetailHeader['FoodProcessID'], 'PriceRangeID' => $valuesRecipeDetailHeader['PriceRangeID'], 'EstPeopleID' => $valuesRecipeDetailHeader['EstPeopleID'], 'EstTime' => $valuesRecipeDetailHeader['TimeEst']);
         if (!empty($valuesRecipeDetailHeader['PrimaryPhoto'])) {
             $post['PrimaryPhoto_preview'] = $valuesRecipeDetailHeader['PrimaryPhoto'];
         }
         foreach ($valuesFoodComposition as $row) {
             $post['FoodComposition'][] = array('Measure' => $row['MeasureValue'], 'MeasureSizeID' => $row['MeasureSizeID'], 'CompositionName' => $row['CompositionName'], 'CompositionID' => $row['CompositionID']);
         }
         foreach ($valuesFoodStep as $row) {
             $step_arr = array('FoodStepName' => strip_tags($row['FoodStepName']));
             if (!empty($row['FoodStepImage'])) {
                 $step_arr['FoodStepImage_preview'] = $row['FoodStepImage'];
             }
             $post['FoodProcess'][] = $step_arr;
         }
     }
     if ($status == 'success') {
         $this->load->helper('url');
         redirect($this->domain . '/users/profile/' . $this->session->userdata('userid') . '/' . seoURL($this->session->userdata('username')));
     } else {
         loadMessage($message, $status);
     }
     $this->load->vars(array('site_title' => lang('edit_recipe'), 'contest_name' => $contest_name));
     loadMessage($message, $status);
     $this->render($post, 'Recipe/add');
 }
开发者ID:angelamuliawan,项目名称:rd,代码行数:101,代码来源:recipe.php

示例7: base_url

                                <a href="<?php 
    echo base_url("admin/reklamlar/reklamduzelt/" . $_row->id . "/" . seoURL($_row->reklam_adi) . "");
    ?>
" class="btn btn-xs btn-primary"><i class="fa fa-edit"></i></a>
                                <?php 
    if ($_row->durum == 'aktif') {
        ?>
                                    <a href="<?php 
        echo base_url("admin/reklamlar/reklampasifle/" . $_row->id . "/" . seoURL($_row->reklam_adi) . "");
        ?>
" class="btn btn-xs btn-danger"><i class="fa fa-thumbs-o-down"></i></a>
                                <?php 
    } else {
        ?>
                                    <a href="<?php 
        echo base_url("admin/reklamlar/reklamaktifle/" . $_row->id . "/" . seoURL($_row->reklam_adi) . "");
        ?>
" class="btn btn-xs btn-success"><i class="fa fa-thumbs-o-up"></i></a>
                                <?php 
    }
    ?>
                            </td>
                        </tr>
                    <?php 
}
?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
开发者ID:sDenizhan,项目名称:skyfilm,代码行数:31,代码来源:reklamlar_index.php

示例8: base_url

                                <a href="<?php 
    echo base_url("admin/uyeler/uyeduzelt/" . $_row->id . "/" . seoURL($_row->kullanici_adi) . "");
    ?>
" class="btn btn-xs btn-primary"><i class="fa fa-edit"></i></a>
                                <?php 
    if ($_row->durum == 'Pasif') {
        ?>
                                <a href="<?php 
        echo base_url("admin/uyeler/aktiflestir/" . $_row->id . "/" . seoURL($_row->kullanici_adi) . "");
        ?>
" class="btn btn-xs btn-success"><i class="fa fa-thumbs-o-up"></i></a>
                                <?php 
    } else {
        ?>
                                <a href="<?php 
        echo base_url("admin/uyeler/pasiflestir/" . $_row->id . "/" . seoURL($_row->kullanici_adi) . "");
        ?>
" class="btn btn-xs btn-info"><i class="fa fa-thumbs-o-down"></i></a>
                                <?php 
    }
    ?>
                            </td>
                        </tr>
                    <?php 
}
?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
开发者ID:sDenizhan,项目名称:skyfilm,代码行数:31,代码来源:uyeler_index.php

示例9: form_open

            	<div class="mws-panel grid_8">
                	<div class="mws-panel-header">
                    	<span class="mws-i-24 i-list">Kategori Düzelt</span>
                    </div>
                    <div class="mws-panel-body">
                    	<?php 
echo form_open('admin/bloglar/kategoriduzeltkaydet/' . $_kategori->row()->f_ID . '/' . seoURL($_kategori->row()->f_KategoriAdi) . '', 'class="mws-form"');
?>
                    		<div class="mws-form-inline">
                    			<div class="mws-form-row">
                    				<label>Kategori Adı</label>
                    				<div class="mws-form-item large">
                    					<input type="text" class="mws-textinput" id="frmKategoriAdi" name="frmKategoriAdi" value="<?php 
echo $_kategori->row()->f_KategoriAdi;
?>
" />
                    				</div>
                    			</div>
                    			<div class="mws-form-row">
                    				<label>Üst Kategoriyi Seçin</label>
                    				<div class="mws-form-item small">
                    					<select id="frmUstKategori" name="frmUstKategori">
										<option value="0|AnaKategori">Ana Kategori</option>
										<?php 
if (isset($_ustkat)) {
    foreach ($_ustkat->result() as $_row) {
        // üst kategoriler
        if ($_row->f_ID == $_kategori->row()->f_UstKategoriID) {
            echo '<option value="' . $_row->f_ID . '" selected="selected">' . $_row->f_KategoriAdi . '</option>';
        } else {
开发者ID:sDenizhan,项目名称:skyfilm,代码行数:30,代码来源:bloglar_kategoriduzelt.php

示例10: foreach

if ($_part->alternatif == '4') {
    echo 'selected="selected"';
}
?>
>Alternatif 4</option>
                </select>
            </div>
            <div class="form-group">
                <label>Oynatıcı Seçiniz:</label>
                <?php 
echo '<select name="partoynatici" id="partoynatici" class="form-control">';
foreach ($_players->result() as $_row) {
    if ($_row->oynatici_adi == $_part->player) {
        echo '<option value="' . seoURL($_row->oynatici_adi) . '" selected="selected">' . ucwords($_row->oynatici_adi) . '</option>';
    } else {
        echo '<option value="' . seoURL($_row->oynatici_adi) . '">' . ucwords($_row->oynatici_adi) . '</option>';
    }
}
echo '</select>';
?>
            </div>
            <input type="hidden" id="partid" name="partid" value="<?php 
echo $_part->id;
?>
" />
            <button class="btn btn-primary ajaxDuzeltButton" type="submit">Partı Düzelt</button>
            <button class="btn btn-primary cancelButton" type="submit">İptal</button>
        </form>


开发者ID:sDenizhan,项目名称:skyfilm,代码行数:28,代码来源:filmler_ajaxpartduzelt.php

示例11: strtoupper

        			<?php 
    $userphoto = $this->session->userdata('userphoto');
    $path_image = '/resources/images/uploads/users/thumbs/' . $userphoto;
    $custom_image = $domain . $path_image;
    if (!file_exists($webroot . $path_image)) {
        $firstLetter = !empty($this->session->userdata('username')[0]) ? strtoupper($this->session->userdata('username')[0]) : false;
        $userImage = tag('div', $firstLetter, array('class' => 'alphabet-placeholder pull-left _mt7 mr5 img-circle', 'style' => 'width: 35px; height: 35px; line-height: 40px;'));
    } else {
        $userImage = tag('img', false, array('class' => 'pull-left _mt7 mr5 img-circle', 'src' => $custom_image, 'style' => 'width: 35px; height: 35px;', 'img-progressive-type' => 'users'));
    }
    $caret = tag('b', false, array('class' => 'caret'));
    echo tag('a', $userImage . strtok($this->session->userdata('username'), " ") . $caret, array('href' => '#', 'class' => 'dropdown-toggle', 'data-toggle' => 'dropdown'));
    ?>
		          	<ul class="dropdown-menu">
		          		<?php 
    $url = $domain . '/users/profile/' . $this->session->userdata('userid') . '/' . seoURL($this->session->userdata('username'));
    echo tag('a', lang('profile'), array('href' => $url, 'wrapTag' => 'li'));
    echo tag('a', lang('recipe'), array('href' => $url . '?param=InsertRecipe', 'wrapTag' => 'li'));
    echo tag('a', lang('recook'), array('href' => $url . '?param=Recook', 'wrapTag' => 'li'));
    echo tag('a', lang('cookmark'), array('href' => $url . '?param=Cookmark', 'wrapTag' => 'li'));
    echo divider();
    echo tag('a', lang('contest'), array('href' => $domain . '/recipe/my_contest', 'wrapTag' => 'li'));
    echo tag('a', lang('account_setting'), array('href' => $domain . '/users/', 'wrapTag' => 'li'));
    echo divider();
    if ($this->session->userdata('userrole') == 1) {
        echo tag('a', lang('create_article'), array('href' => $domain . '/users/article', 'wrapTag' => 'li'));
        echo divider();
    }
    echo tag('a', lang('logout'), array('href' => $domain . '/users/logout', 'wrapTag' => 'li'));
    ?>
		          	</ul>
开发者ID:angelamuliawan,项目名称:rd,代码行数:31,代码来源:menu.php

示例12: profile

 function profile($user_id = false)
 {
     $this->load->helper('url');
     $this->load->helper('form');
     $this->load->helper('build_data');
     $this->callDefaultData('search');
     $resUserAccount = $this->db->query('CALL GetSettingUserData(?)', array($user_id));
     $valuesUserAccount = $resUserAccount->result_array();
     $resUserAccount->next_result();
     if (!empty($valuesUserAccount)) {
         $slug = $this->uri->segment(4);
         if ($slug == '') {
             $this->load->helper('url');
             $url = $this->domain . '/users/profile/' . $user_id . '/' . seoURL($valuesUserAccount[0]['UserName']);
             return redirect($url);
         }
         $get = $this->input->get();
         $filter_view = isset($get['param']) ? $get['param'] : NULL;
         // Get Related Popular User
         $resRelatedPopularUser = $this->db->query('CALL GetRelatedPopularUser(?)', array($user_id));
         $valuesRelatedPopularUser = $resRelatedPopularUser->result_array();
         $resRelatedPopularUser->next_result();
         // Get user own recipe
         $resMyRecipe = $this->db->query('CALL GetCountRecipe(?,?)', array($user_id, $this->session->userdata('userid')));
         $valuesMyRecipe = $resMyRecipe->result_array();
         $resMyRecipe->next_result();
         // Get user recook
         $resRecook = $this->db->query('CALL GetCountRecook(?,?)', array($user_id, $this->session->userdata('userid')));
         $valuesRecook = $resRecook->result_array();
         $resRecook->next_result();
         // Get user cookmark
         $resCookmark = $this->db->query('CALL GetCountCookmark(?,?)', array($user_id, $this->session->userdata('userid')));
         $valuesCookmark = $resCookmark->result_array();
         $resCookmark->next_result();
         // Get user timeline
         // $resTimeline = $this->db->query('CALL GetUserTimeline(?,?,?,?)', array(
         // 	$user_id,
         // 	$this->session->userdata('userid'),
         // 	$filter_view,
         // 	100
         // ));
         // $valuesTimeline = $resTimeline->result_array();
         // $resTimeline->next_result();
         // Get user follow status
         $resUserFollowStatus = $this->db->query('CALL GetFollowStatus(?,?)', array($this->session->userdata('userid'), $user_id));
         $valuesUserFollowStatus = $resUserFollowStatus->result_array();
         $resUserFollowStatus->next_result();
         // Get user follow status
         $resUserFollowData = $this->db->query('CALL GetUserFollowData(?)', array($user_id));
         $valuesUserFollowData = $resUserFollowData->result_array();
         $resUserFollowData->next_result();
         $this->load->vars(array('site_title' => $valuesUserAccount[0]['UserName'], 'user_id_viewer' => $user_id, 'valuesUserAccount' => $valuesUserAccount, 'valuesRelatedPopularUser' => $valuesRelatedPopularUser, 'valuesMyRecipe' => $valuesMyRecipe, 'valuesRecook' => $valuesRecook, 'valuesCookmark' => $valuesCookmark, 'valuesUserFollowStatus' => $valuesUserFollowStatus[0]['RESULT'], 'valuesUserFollowData' => $valuesUserFollowData, 'additional_css' => array('react/transition', 'emoticon/emoticons'), 'additional_js' => array('react/react-with-addons', 'react/react-dom.min', 'react/browser.min', 'emoticon/emoticons'), 'additional_jsx' => array('common', 'mixins/form', 'recipe/common', 'components/replycomment', 'components/comment', 'components/timeline', 'components/thumbnail', 'users/profile')));
         $this->render(array('UserName' => $valuesUserAccount[0]['UserName']));
     } else {
         redirect($_SERVER['HTTP_REFERER']);
     }
 }
开发者ID:angelamuliawan,项目名称:rd,代码行数:57,代码来源:users.php

示例13: strtoupper

        $custom_image = $domain . $path_image;
        if (!file_exists($webroot . $path_image)) {
            $firstLetter = !empty($username[0]) ? strtoupper($username[0]) : false;
            $userImage = tag('div', $firstLetter, array('class' => 'alphabet-placeholder', 'style' => 'width: 64px; height: 64px; line-height: 68px; font-size: 32px; margin: 0 auto 10px;', 'wrapTag' => 'a', 'wrapAttributes' => array('title' => $username, 'href' => $domain . '/users/profile/' . $user_id . '/' . seoURL($username))));
        } else {
            $userImage = tag('img', false, array('src' => $custom_image, 'wrapTag' => 'a', 'wrapAttributes' => array('title' => $username, 'href' => $domain . '/users/profile/' . $user_id . '/' . seoURL($username)), 'img-progressive-type' => 'users'));
            $userImage .= '<br>';
        }
        $counter++;
        ?>
		<li>
			<div class="row">
				<div class="col-sm-12 wrapper-desc">
					<?php 
        echo $userImage;
        echo tag('a', $username, array('title' => $username, 'class' => 'fbold', 'href' => $domain . '/users/profile/' . $user_id . '/' . seoURL($username)));
        $text_stats = sprintf('%s %s', $cnt_recipe, lang('recipe'));
        if (!empty($cnt_recook)) {
            $text_stats .= ', ' . $cnt_recook . ' Recook';
        }
        echo tag('p', $text_stats, array('class' => 'stats'));
        ?>
				</div>
			</div>
		</li>
		<?php 
    }
    ?>
	</ul>
	<?php 
}
开发者ID:angelamuliawan,项目名称:rd,代码行数:31,代码来源:top_users.php

示例14: ucfirst

</td>
                            <td class="text-center"><strong><?php 
    echo $_row->adi_soyadi;
    ?>
</strong></td>
                            <td class="text-center"><?php 
    echo ucfirst($_row->tur);
    ?>
</td>
                            <td class="text-center">
                                <a href="<?php 
    echo base_url("admin/kisiler/sil/" . $_row->id . "/" . seoURL($_row->adi_soyadi) . "");
    ?>
" class="btn btn-xs btn-warning"><i class="fa fa-trash-o"></i></a>
                                <a href="<?php 
    echo base_url("admin/kisiler/duzelt/" . $_row->id . "/" . seoURL($_row->adi_soyadi) . "");
    ?>
" class="btn btn-xs btn-primary"><i class="fa fa-edit"></i></a>
                            </td>
                        </tr>
                    <?php 
}
?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>

    <div class="row text-center">
        <?php 
开发者ID:sDenizhan,项目名称:skyfilm,代码行数:31,代码来源:kisiler_index.php

示例15: oynaticiduzeltkaydet

 public function oynaticiduzeltkaydet()
 {
     $this->form_validation->set_rules('frmPlayerAdi', 'Oynatıcı Adı', 'trim|required');
     $this->form_validation->set_rules('frmPlayerKod', 'Oynatıcı Kodları', 'trim|required');
     if ($this->form_validation->run() == FALSE) {
         $_data['e'] = (object) array('durum' => 'hata', 'type' => 'formvalidation', 'mesaj' => '<b><a href="' . base_url("admin/oynaticilar") . '"> Geri Dön </a></b>');
         $this->render('errorpage', $_data);
     } else {
         $_playerID = $this->uri->segment(4);
         $_playerAdi = $this->input->post('frmPlayerAdi');
         $_playerKod = $this->input->post('frmPlayerKod');
         if (!write_file('./others/players/' . seoURL($_playerAdi) . '.php', $_playerKod, 'w+')) {
             $_data['e'] = (object) array('durum' => 'hata', 'type' => 'normal', 'mesaj' => 'Oynatıcı Yazdırılamadı. <b><a href="' . base_url("admin/oynaticilar") . '"> Geri Dön </a></b>');
             $this->render('errorpage', $_data);
         } else {
             $_update = $this->db->update('oynaticilar', array('oynatici_adi' => $_playerAdi, 'oynatici_kodu' => $_playerKod), array('id' => $_playerID));
             if ($_update) {
                 $_data['e'] = (object) array('durum' => 'ok', 'type' => 'normal', 'mesaj' => 'Oynatıcı Düzeltildi. <b><a href="' . base_url("admin/oynaticilar") . '"> Geri Dön </a></b>');
                 $this->render('errorpage', $_data);
             } else {
                 $_data['e'] = (object) array('durum' => 'hata', 'type' => 'normal', 'mesaj' => 'Oynatıcı Düzeltilemedi. <b><a href="' . base_url("admin/oynaticilar") . '"> Geri Dön </a></b>');
                 $this->render('errorpage', $_data);
             }
         }
     }
 }
开发者ID:sDenizhan,项目名称:skyfilm,代码行数:26,代码来源:Oynaticilar.php


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