Exemplo n.º 1
0
            <form class="ajax" id="table-form" method="post" data-action="<?php 
echo URL;
?>
user/account-save">
                <div class="alert" role="alert"></div>
                <?php 
echo FormBuilder::getSelectByTable('account_games', 'account_name', $account->name);
?>
                <?php 
echo FormBuilder::getInputText('account_value', '', $account->value);
?>
                <?php 
echo FormBuilder::getInputHidden('account_id', $account->id);
?>
                <?php 
echo FormBuilder::getInputHidden('user_id', $user->id);
?>
                <div class="pull-right">
                    <?php 
echo FormBuilder::getButtonSaveForm();
?>
                    <?php 
if ($account->id > 0) {
    ?>
                        <a class="btn btn-danger btn-sm ajax" data-action="<?php 
    echo URL;
    ?>
user/delete-account/" data-account_id="<?php 
    echo $account->id;
    ?>
" data-user_id="<?php 
Exemplo n.º 2
0
                    <form class="ajax" method="post" data-action="<?php 
echo URL;
?>
team/save">
                        <div class="alert" role="alert"></div>
                        <?php 
echo FormBuilder::getInputText('team_name', 'Name', $team->name);
?>
                        <?php 
echo FormBuilder::getInputText('team_tag', 'Tag', $team->tag);
?>
                        <?php 
echo FormBuilder::getInputText('team_website', 'Website', $team->website);
?>
                        <?php 
echo FormBuilder::getInputHidden('team_id', $team->id);
?>
                        <div class="pull-right">
                            <?php 
echo FormBuilder::getButtonSaveForm();
?>
                            <?php 
if ($team->id > 0) {
    ?>
                                <?php 
    echo FormBuilder::getButtonDelete(URL . 'team/delete/' . $team->id);
    ?>
                            <?php 
}
?>
                            <?php 
Exemplo n.º 3
0
                    <form class="ajax" method="post" id="clan" data-action="<?php 
echo URL;
?>
clan/save">
                        <div class="alert" role="alert"></div>
                        <?php 
echo FormBuilder::getInputText('clan_name', 'Name', $clan->name);
?>
                        <?php 
echo FormBuilder::getInputText('clan_tag', 'Tag', $clan->tag);
?>
                        <?php 
echo FormBuilder::getInputText('clan_website', 'Website', $clan->website);
?>
                        <?php 
echo FormBuilder::getInputHidden('clan_id', $clan->id);
?>
                        <div class="pull-right">
                            <?php 
echo FormBuilder::getButtonSaveForm();
?>
                            <?php 
if ($clan->id > 0) {
    ?>
                                <?php 
    echo FormBuilder::getButtonDelete(URL . 'clan/delete/' . $clan->id);
    ?>
                            <?php 
}
?>
                            <?php