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


PHP Usuario::getLinkUsuario方法代码示例

本文整理汇总了PHP中Usuario::getLinkUsuario方法的典型用法代码示例。如果您正苦于以下问题:PHP Usuario::getLinkUsuario方法的具体用法?PHP Usuario::getLinkUsuario怎么用?PHP Usuario::getLinkUsuario使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Usuario的用法示例。


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

示例1: Usuario

     echo "<tr style='background:rgb(250, 252, 188);color:rgb(0, 102, 0);'><td colspan=3 align=center><b>Classificação do Bolão</td>\n\t\t\t\t\t\t\t</tr>\n";
     $camp = $cmp->getCodigo();
     echo "<tr  class='cabec'><td align=center>Pos</td><td>Participante</td><td align=center>Pontos</td></tr>\n";
 }
 $usr = new Usuario($db->getValue('userid'));
 $ins = new Inscricao($cmp->getCodigo(), $usr->getUserid());
 if ($posant != $ins->getPosicao()) {
     $pos = $ins->getPosefetiva();
     $posant = $ins->getPosicao();
 } else {
     $pos = " ";
 }
 if ($pos == 999999) {
     $pos = " ";
 }
 $lu = $usr->getLinkUsuario();
 if ($ins->getPago() == 'S') {
     $pg = "<img src='imagens/cifrao.jpg' border=none width=15 height=15>";
 } else {
     $pg = " ";
 }
 if ($_SESSION['logado'] == "SIM" && $_SESSION['userid'] == $usr->getUserid()) {
     $stl = "style='background:rgb(204, 255, 255);'";
 } else {
     $stl = " ";
 }
 if ($ins->getBonusRecRodadas() > 0) {
     $obs = " (*)";
 } else {
     $obs = " ";
 }
开发者ID:alencarmo,项目名称:OCF,代码行数:31,代码来源:clasbolao.php

示例2: Usuario

            } else {
                if ($row['fase'] == 2) {
                    echo '<tr><td style="background:rgb(255, 229, 203);" colspan=10><b>Semi-finais</td></tr>' . "\n";
                } else {
                    if ($row['fase'] == 1) {
                        echo '<tr><td style="background:rgb(255, 229, 203);" colspan=10><b>Final</td></tr>' . "\n";
                    } else {
                        echo '<tr><td style="background:rgb(255, 229, 203);" colspan=10><b>Grupo: ' . $row['grupo'] . '</td></tr>' . "\n";
                    }
                }
            }
        }
    }
    $usrma = new Usuario($row['idmanda']);
    $usrvi = new Usuario($row['idvisita']);
    $linha = sprintf('<td align="center">%s</td>' . '<td align="right">%s</td>' . '<td align="center">%s X %s</td>' . '<td>%s</td> ', $row['jogo'], $usrma->getLinkUsuario(), $row['golsma'], $row['golsvi'], $usrvi->getLinkUsuario());
    echo '<tr class="dettab">' . $linha . '</tr>' . "\n";
}
if ($fllst == 0) {
    echo '<tr><td colspan=2> <table id="menuadm" bordercolor="white" border="1px" cellspacing="0">' . "\n";
    echo '         <tr class="cabec"> <td align="center">Jg</td> <td  align="right"></td><td  align="center">Resultados</td><td></td></tr>' . "\n";
}
mysql_free_result($result);
mysql_close($link);
?>
	</table> </td></tr>

    <tr><td><br></td></tr>

</table>
开发者ID:alencarmo,项目名称:OCF,代码行数:30,代码来源:lst_rodadacopa.php

示例3: foreach

        include 'traco.php';
        echo '</tr>' . "\n";
        foreach ($jgs as $j) {
            $jg = new JogoCopa($c, $rodant, $j);
            $usrm = new Usuario($jg->getMandante());
            $usrv = new Usuario($jg->getVisitante());
            $linha = sprintf("<td style='color:green;'><b>%s</td><td colspan=2>%s <b>%d x %d</b> %s</td>", $dsc, $usrm->getLinkUsuario(), $jg->getGolsMandante(), $jg->getGolsVisitante(), $usrv->getLinkUsuario());
            echo '<tr>' . $linha . '</tr>' . "\n";
            $dsc = "";
        }
        // Mostra os jogos da próxima rodada
        $jgs = $ins->getJogosCopa($proxrod);
        $dsc = 'Próximos Jogos:';
        echo '<tr><td colspan=3>';
        include 'traco.php';
        echo '</tr>' . "\n";
        foreach ($jgs as $j) {
            $jg = new JogoCopa($c, $proxrod, $j);
            $usrm = new Usuario($jg->getMandante());
            $usrv = new Usuario($jg->getVisitante());
            $linha = sprintf("<td style='color:green;'><b>%s</td><td colspan=2>%s <b>x</b> %s</td>", $dsc, $usrm->getLinkUsuario(), $usrv->getLinkUsuario());
            echo '<tr>' . $linha . '</tr>' . "\n";
            $dsc = "";
        }
    }
}
?>
 </table>
</fieldset>
 		</td></tr>
开发者ID:alencarmo,项目名称:OCF,代码行数:30,代码来源:homeinfo.php

示例4: Usuario

        echo $ln;
        echo "<tr style='background:rgb(0, 102, 0);color:#ffffff'><td>Pos</td><td>Participante</td><td>Pts</td></tr>";
        $vez = 1;
    }
    $usr = new Usuario($db->getValue('userid'));
    $ins = new Inscricao($db->getValue('campeonato'), $db->getValue('userid'));
    if ($posant != $db->getValue('posicao')) {
        $pos = $db->getValue('posefetiva');
        $posant = $db->getValue('posicao');
    } else {
        $pos = " ";
    }
    /*           if ($row['posicao'] <= 5)
    			   $st = 'style="background:rgb(255, 194, 133);font-size:11px;"';           
               else*/
    $st = 'class="dettab"';
    $lin = sprintf("<tr %s><td align=center>%s</td><td>%s</td><td align=center>%s</td></tr>", $st, $pos, $usr->getLinkUsuario(), $ins->getLinkPontosParam($db->getValue('pontos')), $usr->getUserid(), $db->getValue('pontos'));
    echo $lin . "\n";
}
$db->Close();
?>
  </table>

		<span class="lbottom">
			<span class="l4"></span>
			<span class="l3"></span>
			<span class="l2"></span>
			<span class="l1"></span>
		</span>
	</div>
开发者ID:alencarmo,项目名称:OCF,代码行数:30,代码来源:lst_claroda.php

示例5: sprintf

<?php

include "sessao.php";
require_once $_SESSION['DOCROOT'] . "/classes/class.usuario.php";
?>
<div class="PainelCentral">
<div class="LeftPainel"> </div>
<div class="TitBox">.:: Nosso Forum ::.</div>
<div class="RightPainel"> </div>
<div class="LinkPainel"><a href="frm_cadespaco.php">Clique aqui e deixe sua mensagem</a></div>
<div class="BarraTit"</div>
<div class="Caixa150" >
<table width="100%" cellpadding="0" cellspacing="0" height="100%">
<?php 
include 'conectadb.php';
$sql = sprintf("select codigo,datahora,mensagem,m.userid,username " . "from " . "cad_espaco_opaleiro m, " . "cad_usuario u " . "where " . "m.userid = u.userid " . "order by " . "m.datahora desc " . "limit 12");
$result = mysql_query($sql) or die('\\nErro consultando recados do espaço ' . mysql_error());
while ($row = mysql_fetch_assoc($result)) {
    $usr = new Usuario($row['userid']);
    $ln = sprintf("<b>%s</b> <i><span style='font-size:9px;'>%s %s</span></i>: %s", $usr->getLinkUsuario(), date("d/m/Y", strtotime($row['datahora'])), date("H:i", strtotime($row['datahora'])), $row['mensagem']);
    echo "<tr><td>" . $ln . "</td></tr>\n";
}
mysql_free_result($result);
mysql_close($link);
?>
</table>
</div> 
</div>
开发者ID:alencarmo,项目名称:OCF,代码行数:28,代码来源:lst_espaco.php

示例6: sprintf

<?php

include "sessao.php";
require_once $_SESSION['DOCROOT'] . "/classes/class.usuario.php";
?>
<div class="PainelCentral">
<div class="LeftPainel"></div>
<div class="TitBox">.:: Mural do Sócio ::.</div>
<div class="RightPainel"></div>
<div class="LinkPainel"><a href="frm_cadmural.php">Deixe seu recado...</a></div>
<div class="BarraTit"></div>
<div class="Caixa220">
<table class="PainelCentral_table" width="100%" cellpadding="0" cellspacing="0" height="100%" >
<?php 
include 'conectadb.php';
$sql = sprintf("select codigo,datahora,mensagem,m.userid,username " . "from " . "cad_mural m, " . "cad_usuario u " . "where " . "m.userid = u.userid " . "order by " . "m.datahora desc " . "limit 15");
$result = mysql_query($sql) or die('\\nErro consultando recados do mural: ' . mysql_error());
while ($row = mysql_fetch_assoc($result)) {
    $usr = new Usuario($row['userid']);
    $ln = sprintf('<td style="width:105px;">(%s %s)</td><td><b>%s </b></td><td>%s</td>', date("d/m/Y", strtotime($row['datahora'])), date("H:i", strtotime($row['datahora'])), $usr->getLinkUsuario(), $row['mensagem']);
    echo "<tr>" . $ln . "</tr>\n";
}
mysql_free_result($result);
mysql_close($link);
?>
</table>
</div> 
</div>
开发者ID:alencarmo,项目名称:OCF,代码行数:28,代码来源:lst_mural.php


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