コード例 #1
0
ファイル: resume.php プロジェクト: ramarb/jobpost

<?php 
if ($resumes->result_id->num_rows > 0) {
    ?>
    <?php 
    $resume = $resumes->row();
    ?>

    <ul class="list-group">

        <li ng-repeat="resume in resumes"  class="list-group-item">

            <div class="btn-group">
                <a href="<?php 
    echo user_anchor('download_resume/' . $resume->files_id, $_role, $controller);
    ?>
" class="btn btn-primary">{{resume.file_name}} <span class="glyphicon glyphicon-download"></span></a>
            </div>

        </li>
    </ul>

<?php 
}
?>


<form class="navbar-form navbar-left" role="search" enctype="multipart/form-data" method="post" action="<?php 
echo base_url($role . '/account/upload_resume');
?>
コード例 #2
0
            echo $experience->month_from . ' ' . $experience->year_from . ' - ' . $experience->month_to . ' ' . $experience->year_to;
            ?>
</p>
                <?php 
        }
        ?>
                <p><?php 
        echo nl2br($experience->description);
        ?>
</p>
                <a href="<?php 
        echo user_anchor('edit/' . $experience->id, $_role, $controller);
        ?>
" class="btn btn-primary btn-xs"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>Edit</a>
                <a href="<?php 
        echo user_anchor('delete/' . $experience->id, $_role, $controller);
        ?>
" class="btn btn-danger btn-xs delete"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span>Delete</a>
                <input type="radio" ng-click="set_primary('<?php 
        echo $experience->id;
        ?>
')" <?php 
        echo (int) $experience->is_primary === 1 ? 'checked="checked' : "";
        ?>
 value="<?php 
        echo $experience->id;
        ?>
" name="is_primary"><span>Primary</span>
            </div>
        </div>