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