23 if ( $soxId !=
"-1" && isset( $soxId)) {
25 $oUser =
oxNew(
"oxuser" );
26 $oUser->load( $soxId);
27 $this->_aViewData[
"edit"] = $oUser;
30 $oRems =
oxNew(
"oxlist" );
31 $oRems->init(
"oxremark");
32 $sSelect =
"select * from oxremark where oxparentid=".oxDb::getDb()->quote( $oUser->getId() ).
" order by oxcreate desc";
33 $oRems->selectString( $sSelect );
34 foreach ($oRems as $key => $val) {
35 if ( $val->oxremark__oxid->value == $sRemoxId) {
42 $this->_aViewData[
"allremark"] = $oRems;
44 if ( isset( $sRemoxId)) {
45 $oRemark =
oxNew(
"oxRemark" );
46 $oRemark->load( $sRemoxId);
47 $this->_aViewData[
"remarktext"] = $oRemark->oxremark__oxtext->value;
48 $this->_aViewData[
"remarkheader"] = $oRemark->oxremark__oxheader->value;
52 return "user_remark.tpl";
64 $oRemark =
oxNew(
"oxremark" );
72 $oRemark->oxremark__oxtype =
new oxField(
"r" );
81 public function delete()
83 $oRemark =
oxNew(
"oxRemark" );